![]() |
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:
|
Quote:
use this if condition: <if condition="$post['fieldXX'] == 'yes'"> |
Abe,
This hack is exactly what I need, but I don't want it to say "Thanks" but rather something like "I Installed" -- how many things will I have to change (I can change the button easily) so it doesn't say "Thanks!" And can you point me to all the things? |
Quote:
2) You can edit the phrases. Not hard at all to do. |
Got a question about the postbit
It says "Thanks" x Then right below it says "Has been thanked x times in x posts". Is the first "Thanks" how many thanks the person has given out? |
Quote:
|
the button didn't show for me ?
|
Quote:
|
Greetings, Abe1. First of all, thank You for creating and constantly updating this wonderful hack!
I have couple of questions... As far as i understood, reputation points given by "thanks" are separated from usergroup reputation premissions, ie: if user, who is not premitted tho add reputation points, press "thanks" button, author of thanked post will still get RP... Is that right? When i enable x RP per "thanks" feature, users with lots of thanks still have no RP. Only "thanks" maded after enabling the feature are counted. How can i convert all existing users' thanks to reputation points? |
Quote:
|
Mybe some sql query can handle this? eg, if i want users to gain 1 RP per "thanks" then run some query that will make user's "thanks" amount = to user's RP*1?
|
Quote:
|
Hey, awesome mod :D i have installed it,
just an idea for the future, is it possible to somehow integrate it with the reputation system, so when you thank someone, it also gives them reputation, with the comment 'thanks'? please let me know if you dont understand. |
Quote:
But, it's added already. Check the options in your ACP. |
lol thanks
but i wander, if it can be set so if a user says 'thanks', instead of giving the reputation that is set, could it be set so is uses the reputation power from the user? if you comprende? |
Quote:
|
Will it work in the Future with vBulletin 3.6 ?
|
Quote:
|
lets say i enabled add reputaion feature.....is there a way to include the old thanked in the reputation
for example...i had 300 thanked posts...so i enable add to reputation today...and i get 10 points ....you thank me 10 times ..i become 20 points... is there a way to add the old thanked to make it 320?? am i making sense? lol |
Quote:
|
thanks for considering that abe1
|
Is there a possibility to add a [img] filter? In such a case the thanks button only appears on posts where images are posted?
Thanks for the AJAX hack, it works superb. Clear coding also :). |
Abe1
didnt show Thanks and Thank button in showpost script? |
Edit: in fact is it possible to get this on showpost.php ?
|
Quote:
|
it works fine on my live 3.6 board - http://forums.perfectforce.com - but i did have to make one template edit and that was:
In post_thanks_postbit_legacy or post_thanks_postbit FIND Code:
$spacer_open then FIND Code:
</div> and then it'll work.... well it worked in the first place it's just it messed up the table. or just allow overide and import the xml file attached. I also linked it back to this thread. |
I'm waiting :)
Thanks ABE1 |
what exactly are you waiting for?
|
Quote:
Quote:
Quote:
|
Quote:
|
I wish to invite "Post Thank You Hack" users to try out my "Advanced Forumhome Statistics" where "Most Thanked" members are included:
https://vborg.vbsupport.ru/showthread.php?t=118374 Regards, Cyb |
All times are GMT. The time now is 12:26 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:
|