The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Optional Quick Reply for vB3
This is kind of 2 requests in one. I ran a few searches on here and couldn't find anything like it, so I'm shooting for a request.
I think a nice hack would be to have the user capable of turning on Quick Replies for themselves. Some users on my forums like it and some think it just clutters everything. I think it would be a nice addition in the usercp instead of just having it in the admincp as on or off. I suppose the admin should be able to override the feature, so maybe have an extra admincp option that would be along the lines of "user defined". So, the user themself can choose to enable the quick reply feature and the admin can still override if necessary. If that's too much, then a simpler solution could be a quick reply pop-up box, just like the vB3 quick edit pop-up hack. |
#2
|
||||
|
||||
Quote:
Add a new profile field AdminCP > User Profile Fields > Add New User Profile Field > Profile Field Type > Single Selection Menu > Continue Title: Use Quick Reply Description: This will let you enable or disable the quick reply Options: Yes No Set Default Yes, But no First Blank Option Filed Required: (suggestion) No, but display at registration Editable by User: Yes Hideen on profile: your choice Searcable: your choice Show on members list: your choice Optional Input: No Display Page : thread viewing (or your choice, thread viewing is the best fitting category) Hit "Save" Note the field ID it should look like field1 or field5 somthing along thoughs lines remember it find in showthread $quickreply change too <if condition="$bbuserinfo[fieldX]">$quickreply</if> Replace X for the number that was displayed when you saved it |
#3
|
||||
|
||||
OOoohhhh. Got to love vB3. It's hard to tell what you can do with it and what needs to be hacked now. :P Thanks for the advice, I'm giving it a shot.
|
#4
|
||||
|
||||
Just relized a problem with this
change <if condition="$bbuserinfo[fieldX]">$quickreply</if> to <if condition="$bbuserinfo[fieldX] != No">$quickreply</if> |
#5
|
||||
|
||||
Yea, I got a parse error. Now, you're talking about showthread.php, correct? If so, there's 2 lines that have $quickreply in it. Just the first one that's alone? I'm getting parse errors on line 736 (which is where the first $quickreply resides) even after changing it to
<if condition="$bbuserinfo[fieldX] != No">$quickreply</if> |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
No wonder. Bahahhaha. That's the first thing I thought and I went looking for it and passed it right up. It's because I use Opera. IE is more friendly to the way vBulletin setup the Templates section, and I passed it right up because the text was so small. :nervous:
Works like a champ. You r0ck! Thanks much. |
#8
|
|||
|
|||
I'n new to hacks but am trying to install this. Where is the showthread in the CP???? please
|
#9
|
||||
|
||||
Its a template.
|
#10
|
|||
|
|||
Ive just followed these instructiosn yet i still see no quick reply box?????
The template has been saved and the new field created. No error messages just no quick reply box?? Help? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|