Quote:
Originally Posted by Black Tiger
Fixed the above myself by putting the forums on a mandatory prefix [OPEN] and added that prefix to the "solved" prefix set.
But there is another problem/bug with this mod.
When setting a thread to solved, the prefix will be set to solved, but the forum information is not rebuild immediately. This way the "Solved" prefix is only visible in showthread and forumdisplay but not on forumhome!
I explained here:
https://vborg.vbsupport.ru/showthread.php?p=2110759
How can I fix this?
|
I believe I've found a bugfix for that...
If you look in your solved.php, on line 117, it has: $threadman->save();
Under that, on a new line, if you put: build_forum_counters($threadinfo['forumid']); it should work fine. The same goes for on line 150. So your end code should be:
line 117
Code:
$threadman->save();
build_forum_counters($threadinfo['forumid']);
and line 150
Code:
$threadman->save();
build_forum_counters($threadinfo['forumid']);
While this isn't guaranteed, and on large boards this could cause a performance problem, this should update your fourmhome to reflect any changes.