![]() |
Quick Reply Thread Management
############################################ ##############--Bought to you by--############### Talk Coding - Programming Forums ##########--Free / Premium vBulletin Solutions--######### ############################################ Big thanks to Dark Visor for creating a product :) also Nomb...for letting us port 3.0.8 version here what it does Two new checkboxes will be available in the quick reply box for those that have permission. One checkbox to Open / Close the thread, and one checkbox to Stick / Unstick the thread. You simply check off what you?d like to do and submit a post at the same time. Very convenient if you need to close threads quickly, but also want to leave a reason why. In SHOWTHREAD template find HTML Code:
<div> ADD UNDERNEATH: HTML Code:
$threadmanagement |
great! installing now
not showing up, and where do u put the phrases, global, show thread, or what |
Screenshot please?
Also: 1. You should not use iif(). It's deprecated. ;) Use (COND ? DO_ON_TRUE : DO_ON_FALSE) clause instead. 2. Why make new phrases? The phrases are already in the database. Take the ones that you see in advanced reply form ;) 3. $bbuserinfo['userid']??? That's not a variable in vBulletin 3.5.0 (unless it's in a template). 4. The only thing you need to have in your conditional is "can_moderate($threadinfo['forumid'], 'canopenclose')". Everything is not required. 5. You can do your decisions in template, no need for extra variables. |
is it showing up on quick reply? I update it for the new thread/reply page now.
|
thanks dude, I'm pretty new to this, so feel free to post the suggested code and I will post credit to you.
I know parts of it can be done in templates, (the part that shows the tick box/s only to mods/admins, I assume?) |
Here you go buddy :)
As for the template edits: There is a correction (see below), plus the newreply edit is not needed. Valid edit would be: In SHOWTHREAD, find Code:
<div> Code:
$threadmanagement Also, I added a plugin that caches your template, cause it was uncached ;) |
thanks man, I have updated the first post :)
|
No problem, but you should also remove the newreply edit. It doesn't do anything.
|
:) Thank you. Installed
|
How about some sort of explanation in the first post as to what this does? ;)
|
All times are GMT. The time now is 11:38 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:
|