I used this link to go to the page with the comments, but how do I go to the direct URL? I know I can use "link.php?id={COMMENTLINKID}", but it will be using redirect - how do I get the direct link? (I do have .htaccess redirect turned on)
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 09/21/04 - 10:54 PM:
#2
If you're logged in as an admin, you should have an 'edit' button on every post when viewing it. If not, check your usergroup permissions and see if admins are set to be allowed to delete all comments.
You can try using {LINKURL}, but I don't know if link template variables will work with comments. (Normally, when you want a url you want a links toplist.)
Edit: I see it won't work. Editing templatefunctions.php to change
if (strstr($template, '{MEMBER')) { $mem = new member('id', $comment->ownerid); $template = memberreplacements($template, $mem); } to if (strstr($template, '{MEMBER')) { $mem = new member('id', $comment->ownerid); $template = memberreplacements($template, $mem); } if (strstr($template, '{LINK')) { $lin = new onelink('id', $comment->linkid); $template = linkreplacements($template, $lin); }