Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
ZetaBoards Thanks System; Allows user to give thanks
Topic Started: Jul 21 2009, 01:39 PM (1,296 Views)
Niko Jims
Member
[ * ]
Nice.
Edited by Niko Jims, Aug 30 2009, 02:03 AM.
Offline Profile Quote Post Goto Top
 
Roma
Member
[ *  * ]
Great code. But just one issue I have with it: you have to wait 24 hours to thank the same person again. If someone wanted to thank one member for two different posts in one day then it doesn't seem possible to do this.
Offline Profile Quote Post Goto Top
 
Aroncar
Member Avatar
Member
[ * ]
This is a very spectacular code. :)
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
Roma
Sep 2 2009, 09:38 AM
Great code. But just one issue I have with it: you have to wait 24 hours to thank the same person again. If someone wanted to thank one member for two different posts in one day then it doesn't seem possible to do this.
Unfortunately it's not possible, and the creator of the code no longer supports it so I can't see it changing. All I did was modify it slightly from a plus & minus rep code.

EDIT: Actually yes I can alter it, how many times a day would like it setup for and I'll post a modified code for you.
Edited by Lout, Sep 2 2009, 11:34 AM.
Offline Profile Quote Post Goto Top
 
Roma
Member
[ *  * ]
^ How about up to 10 thanks per day?
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
12 would be easier to do, then you would have to wait 2 hours between thanking the same person.

Is that ok? Or just let me know how long you want to wait.
Offline Profile Quote Post Goto Top
 
Roma
Member
[ *  * ]
Okay, can we go for 12?
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
Try this Roma:-
Spoiler: click to toggle


I haven't tested that yet but it *should* now make you wait two hours in between thanking the same member.
Offline Profile Quote Post Goto Top
 
Roma
Member
[ *  * ]
Thanks, mate. Just trying the new code out now.

BTW, how do you remove thanks?
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
You can't remove them that easily, but there is a workaround that Admins can do.

Firstly you will need to have the code for the Thanks in the board layout for each theme instead of in the Board Template.Next you will need to create a new theme (just base it on one of the others), but set it NOT ACTIVE, add the thanks code that you are using to the layout for the new theme but change this part:-
Code:
 
minusImg: "</>",

to
Code:
 
minusImg: "<img src='http://209.85.62.24/static/1/w_down.png' alt='' />",


Now to change someones total select "View Full Theme Preview" from the theme you created in the Admin CP and there will now be a minus button next to the Thanks button. Same rules apply though with regards to times.

Unfortunately there is no way of removing the reason from the history but it only shows the last 10 so will balance itself out over time.
Offline Profile Quote Post Goto Top
 
blakefire
Member Avatar
Member
[ *  * ]
How do i change how long a user has to wait before thanking the same user? I dont want any limit so they can thank a memeber one after another.
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
How long do you want the interval to be? If every 2 hours is fine for you then use this instead:-

Spoiler: click to toggle
Offline Profile Quote Post Goto Top
 
blakefire
Member Avatar
Member
[ *  * ]
LagerLout
Oct 27 2009, 02:21 AM
How long do you want the interval to be? If every 2 hours is fine for you then use this instead:-

Spoiler: click to toggle
Ok where does it go?
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
Full instructions are in the first post, you will need to edit the CSS (Theme Appearance) and then also add the script from the post just above your last one into the board Template.
Offline Profile Quote Post Goto Top
 
Niss
Member Avatar
Member
[ * ]
Thanks for this code is great :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code & Modification Database · Next Topic »
Add Reply