The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Was thinking about this.
We have quick reply enabled on my board but trying to optimize things for the dialup users so their load times aren't as bad ![]() Thought about doing something in the templates with the profilefield manager, but the quick reply is enabled via showthread.php by what I can tell. Prolly could still use the profilefield for a yes no radio.. Any ideas? Or has anyone already hacked this in that would like to share?
|
|
#2
|
||||
|
||||
|
whar are you telling that...a user can activate/deactivate the Quick Reply ?
|
|
#3
|
|||
|
|||
|
Oooo... I'd like to be able to do that, too... I like the quick reply, but a lot of my members don't!
|
|
#4
|
||||
|
||||
|
That should be easy for vB3. Just make a new profilefield and do a conditional in the showthtread template. Like the following:
<if condition="$bbuserinfo[fieldxx] == 'yes'"> $quickreply </if> |
|
#5
|
||||
|
||||
|
I've just done this if anybody needs the code for it.
|
|
#6
|
||||
|
||||
|
Boofo,
Could you post the code here? This is a great idea, and it will also be useful for many other profile options. These conditionals are awesome!
|
|
#7
|
||||
|
||||
|
Here you go!
![]() Quote:
|
|
#8
|
|||
|
|||
|
damn I thought I looked for that variable and didn't see it LOL
Thanks boofo, that'll teach me to use the damn search function
|
|
#9
|
||||
|
||||
|
What search function? I just made that code a few minutes ago. I didn't get it from vb.org.
|
|
#10
|
||||
|
||||
|
Thanks! I've already implemented it on a few things.
![]() I did something similar to this for VB2 and it there was so much more involved. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|