![]() |
One request. Code another so that threads -in specific forums- can be marked as Sold. I don't want to alter this one because I have a forum for asking questions which I'm using this one in. Or, can I have permission to do it myself? Actually, I already did but would like your blessing on installing it :)
|
I use the term [opgelost] but discovered that it's not showing up on forumhome's "last post" column. I'm not any good in coding, how and where can I fix it so this does show up? Please tell me in e a "search this and replace with this" kind of way.;)
Furthermore it would be nice to have a mandatory "open" status prefix. Can I use the normal prefix manager for that, will this not conflict when a thread is solved and marked solved? |
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? |
Quote:
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(); Code:
$threadman->save(); While this isn't guaranteed, and on large boards this could cause a performance problem, this should update your fourmhome to reflect any changes. :) |
The normal prefixes also update immediately so that would be a performance problem also then or am I mistaken?
Anyway, many thanks for your solution, I'm going to try this! Thank you! |
Quote:
|
Great, thank you for explaining. I'm still happy with the solution you gave me.:)
|
thanks..
|
Not sure what I am missing but on 3.8.6PL1 i have uploaded everything and did the template edits yet it is not working. I checked under usergroups and Admin's have permission. Yet when I click Thread Tools, there is nothing there about Solved. What am I missing here?
|
SVTCobraLTD: Did you have a look at my post #199 here?
It's explained there what you have to do. |
All times are GMT. The time now is 12:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|