PDA

View Full Version : [fixed] Movethread in mod panel


Scott MacVicar
Tue 17th Sep '02, 7:48am
Customer sent in support ticket with a problem with the move from the mod panel not working.

The variable is wrong so open up
/mod/thread.php

find
while (list($key,$val)=each($move)) {

change to

while (list($key,$val)=each($movethread)) {

It then tells the mod to update counters, but they dont have access to this, the code was taken from the admin panel i presume.

Though i'll leave it up to a dev to decide to add code to thread.php to let them update counters.

venomx
Tue 17th Sep '02, 2:18pm
That line is in there 2 times I see.. Do we change both?

Scott MacVicar
Tue 17th Sep '02, 6:24pm
just the second time, not the first.

Scott MacVicar
Mon 23rd Sep '02, 9:42am
also had to fix some code to update counters for the two forums, the one moving from and the one movind to as mods dont have access to misc.php in the admin folder.

Paul
Mon 23rd Sep '02, 10:20am
Originally posted by PPN
also had to fix some code to update counters for the two forums, the one moving from and the one movind to as mods dont have access to misc.php in the admin folder.

And what code was that? ;)