![]() |
Is there a way I can make an option in a member's user cp to choose whether to view the 'thanks' added to a post or not? Some of my members on slower connections are telling me on a post with a lot of thanks, it is slowing their page load down. So I'd like to give them the option to not view the thanks area.
Thanks! jilly |
Quote:
1) Make a new profile option with a yes or no option. 2) open the post_thanks_postbit and put if tags around the whole thing. |
Quote:
|
Quote:
<if condition="$bbuserinfo[userfieldxx]"> |
Okay I did that, but I set the profile field to be a single selection radio button, with a yes or no option to show 'thanks' on posts - and it works, but both options hide the thanks - when I set it to 'no', meaning to not show the thanks, it does not show them, then when I set it to 'yes' which means it should show the thanks, it still does not show them.
I guess I need some sort of==yes sort of thing in there - I just dont know enough about php to figure it out myself yet - thank you so much for helping me with this! |
Quote:
|
hello, I'm sorry to bother you with this, but I can't find MEMBERINFO in the styles to make the last change to this hack. Can someone please tell me where it is? Thanks. :)
|
oh i see - i need to make the option a one choice thing, not radio button - just one checkbox that can be cheked on or off - goin gto try that noe
putergirl, look in your main style, > edit templates > look for a list called Member Info Templates - expand that - MEMBERINFO should be the first option when in that group |
jilly thank you! I found it! :D
|
Okay Abe1, what am I doing wrong? It still does not show the thanks either way, if the option is set to yes or no - here's what I have set up:
|
All times are GMT. The time now is 10:12 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:
|