Quote:
Originally Posted by lazserus
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.
|
You can use an if condition and a profile field to accomplish this

so that if the user doesnt want to have it displayed they then go to their profile and disable it by changing the condition.
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