The Arcive of vBulletin Modifications Site. |
|
Quick Reply Thread Management Details »»
|
|||||||||||||||||||||||||
############################################ ##############--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 herewhat 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> <if condition="$bbuserinfo['signature']"> <div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div> </if> <label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label> </div> ADD UNDERNEATH: HTML Code:
$threadmanagement Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
great! installing now
not showing up, and where do u put the phrases, global, show thread, or what |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
is it showing up on quick reply? I update it for the new thread/reply page now.
|
|
#5
|
|||
|
|||
|
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?) |
|
#6
|
|||
|
|||
|
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> <if condition="$bbuserinfo['signature']"> <div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div> </if> <label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label> </div> Code:
$threadmanagement ![]() Also, I added a plugin that caches your template, cause it was uncached
|
|
#7
|
|||
|
|||
|
thanks man, I have updated the first post
|
|
#8
|
|||
|
|||
|
No problem, but you should also remove the newreply edit. It doesn't do anything.
|
|
#9
|
||||
|
||||
Thank you. Installed
|
|
#10
|
||||
|
||||
|
How about some sort of explanation in the first post as to what this does?
|
![]() |
|
|