PDA


View Full Version : Bug in RC3?


chrisvonc
07-30-2004, 05:15 PM
Hi Brian, Just installed RC3 and have found a possible bug with the "report to moderator" feature. As I dont see a RC forum yet, please feel free to move this if you create one. :)

First, I have a hack installed that when someone uses the "report this post" feature, rather than emailing the admin & mods, it creates a new post in my moderator section and the reported link doesnt show up there. I assume that RC3 handles this Report process independantly? I ask because it leads to the 2nd issue, which is, I did get notice via email that a link had been reported, but there is nothing in the body of the email other than the Subject line: Reported link from Links Directory. I doesnt tell me what was being reported and when I filled it out, I had entered a test message.

BTW, the upgrade was very easy and like you said really only took about 5 minutes.

Thanks!

Chris

chrisvonc
07-30-2004, 05:22 PM
Sorry, one more thing, for the upgrade documentation, you might want to include a reminder for people to reconfigure the new links_config.php with the correct path.

Brian
07-30-2004, 07:33 PM
It sounds like you may be missing that phrase somehow. Try adding a phrase with this info:

Phrase Type: Email Body Text
Varname: adv_links_reportlink
Text:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this link:

$cat[name]
$vba_options[links_homeurl]/showlink.php?do=showdetails&l=$linkid

This is the reason that the user gave:
$reason

This message has been sent to all moderators of this directory and all administrators.

Please respond to this as applicable.

And that should fix the problem.


Thanks for pointing out the path thing. I always forget to add instructions for that for some reason, but I've just updated the readme file. :)

chrisvonc
07-30-2004, 10:27 PM
For some reason, the phrase was already there so I modified it with your suggestion and the email tests are working again. I just checked my production copy which is still RC2 and that is correct.It sounds like you may be missing that phrase somehow. Try adding a phrase with this info:

Phrase Type: Email Body Text
Varname: adv_links_reportlink
Text:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this link:

$cat[name]
$vba_options[links_homeurl]/showlink.php?do=showdetails&l=$linkid

This is the reason that the user gave:
$reason

This message has been sent to all moderators of this directory and all administrators.

Please respond to this as applicable.

And that should fix the problem.


Thanks for pointing out the path thing. I always forget to add instructions for that for some reason, but I've just updated the readme file. :)

chrisvonc
07-30-2004, 10:45 PM
Does this make use of the vB report.php? If so, I might be able to adapt the reporting for a link, to my moderator forum.

Brian
08-02-2004, 12:44 PM
No, the report stuff is all handled in your links/misc.php file.