PDA

View Full Version : [fixed] Some Errors in the Mod-CP


Streicher
Sun 18th Nov '01, 5:04pm
First, i must tell you that these errors are in version 2.2.0 and may still in 2.2.1, but i have not the time to install it, yet. The Links for Moderation New Posts and Moderation New Attachments are the same in version 2.2.0 and in

moderate.php line 35

makelabelcode("<b>Located in:</b>","<a href=\"/forumdisplay?s=$session[sessionhash]&forumid=$thread[forumid]\">$thread[forumtitle]</a>");

must changed to

makelabelcode("<b>Located in:</b>","<a href=\"/forumdisplay.php?s=$session[sessionhash]&forumid=$thread[forumid]\">$thread[forumtitle]</a>");

tubedogg
Sun 18th Nov '01, 5:09pm
Confirmed in 2.2.1

Moving to bugs...

Kier
Mon 19th Nov '01, 4:56am
fixed

eva2000
Mon 19th Nov '01, 7:24am
my eyes are deceiving me.... what's the difference between the 2 ?

Chen
Mon 19th Nov '01, 7:32am
makelabelcode("<b>Located in:</b>","<a href=\"/forumdisplay?s=$session[sessionhash]&forumid=$thread[forumid]\">$thread[forumtitle]</a>");
and
makelabelcode("<b>Located in:</b>","<a href=\"/forumdisplay.php?s=$session[sessionhash]&forumid=$thread[forumid]\">$thread[forumtitle]</a>");

eva2000
Mon 19th Nov '01, 7:51am
*** rubs eyes ***

ah i see it now :)

eva2000
Mon 19th Nov '01, 7:59am
i just did a find and replace in moderate.php and it appears the mistake occurs twice in that file

find


"/forumdisplay?s


replace


"/forumdisplay.php?s

Kier
Mon 19th Nov '01, 11:38am
Yes I know. That's why I altered it in both places and posted 'fixed' :rolleyes:

eva2000
Mon 19th Nov '01, 12:37pm
Originally posted by Kier
Yes I know. That's why I altered it in both places and posted 'fixed' :rolleyes: hehe yeah i know you did, but the above posts don't mention it and some people who want to apply the fix now (like me :) ) might over look that and just edit the above line number one