![]() |
Quote:
|
thanks
|
i need this for 3.6.x please
|
Quote:
|
Same here, I need this for 3.6.x - have you guys attempted it?
|
Quote:
just remember to follow skydancer's advice toward the end of the text file. :D |
One question, does this mod take into consideration the permissions? In other words, I would like only the mods, supermods and admins to be able to see the reason for which a thread is closed. I can do it myself, but before installing everything, I would like to know if this is taken care of.
Many thanks. |
Quote:
|
OK I have it working on 3.7, thanks skydancer, dmark101, and WhSox21.
For the record, regarding skydancers fix - This line appeared often: PHP Code:
PHP Code:
Here's to fixing it with each update! I wish it used hooks and I wish it was a built in feature of vb! I hate editing core files, but we really need this modification on a board of mine. |
OK we're onto something here.
The big problem with this hack is that it does not use hooks. Well, I added one of the file edits to a hook. So, if you do this as well, its one less manual edit each time you upgrade. Visit your admin panel and under Plugins & Products, click add new plugin. Product is vbulletin Hook location is showthread_complete For title you can use "Reason Post Closed - showthread_complete hook" Execution order you can leave at 5 or whatever your default is Code is: PHP Code:
then hit save. Don't forget to remove the same code from the bottom of your showthread.php file. Thats one less file edit each time you upgrade. Now if we could figure out somehow to get the other file edits in postings.php to use hooks, we will be all set.... Its not fun that this breaks with each upgrade, I hate editing core files... Whats the process to suggest new hook locations, anyway? |
All times are GMT. The time now is 12:29 PM. |
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:
|