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:
Locked Topic
  • Pages:
  • 1
  • 2
  • 4
ZB Thanks System; By .Scott
Topic Started: Feb 3 2010, 11:54 PM (9,042 Views)
Reid
Member Avatar
È una trappola!

There is now a total of 13,578 users!

Please update your code if you already have used this. Copy and paste the new code:

This topic has been moved from our official support board.

Originally posted by: .Scott
ZB Thanks System
 
Code Name: Thanks System
Description: A Thanks System created for ZetaBoards to allow users to "Thank" other users' posts. They will be shown under your post section, it will display all of the users who have thanked you and give you a total in your post count section. :)
Preview: Preview
Register(Or login with username test password testing), then you can Thank a member. The Thanks button will be located next to the quote button. :)

Copyright: slayer766
Known Bugs: None.
Browser Compatibility: Currently known, Firefox, Internet Explorer, Google Chrome.
Installation: 1 Easy step to follow. Add this to your Admin CP > Board Template > Below the Board:

Code:
 
<script type="text/javascript">
//ZB Thanks System v1.0
//Written by slayer766 (resources.zetaboards.com)

var thanks_image = "<img src=\'http://z3.ifrm.com/2/81/0/p252208/thanks.png\'>";
document.write("<script type='text/javascript' src='http://z3.ifrm.com/28000/63/0/p252220/Thanks.js'><\/script>");
</script>

After that you should now have it on your board. :) You can change the thanks image if you want to.
Edited by slayer766, Jul 29 2010, 02:15 PM.
Offline Profile Goto Top
 
Replies:
slayer766-ZNR
Member
[ *  *  *  * ]
Does it work for you on the test board?
Offline Profile Goto Top
 
Deleted User
Deleted User

slayer, and interesting thing is happening...the thanks button is still working fine, but I just tried to thank a member and it wont go thru. Can you think of reasons why? Ive thanked like 16 people successfully, and this one person it wont go thru. There was a large pic in the signature, and I asked them to remove it to be able to do the thanks option, and it didn't make a difference....what are things I could try? is the problem on the members end? could anything in their profile be stopping the pop up? When I click thanks on this one member, it just shows a small thanks next to the thanks saying on the right, but no thanks box pop up
Goto Top
 
slayer766-ZNR
Member
[ *  *  *  * ]
Could be a special username which I didn't write in the code to adjust to, what was his username?
Offline Profile Goto Top
 
Deleted User
Deleted User

slayer766
Apr 10 2010, 10:59 AM
Could be a special username which I didn't write in the code to adjust to, what was his username?
Oh, maybe thats it...its Puf'nStuf'

so it could be the characters? these: '
hope thats it, because then it could be fixed with a simple name change right?

let me know so I can get on it, and thank you
slayer, dude, i see you are doing some tweaking to the code...no problem, awaiting your notations on the change
Goto Top
 
Deleted User
Deleted User

slayer much better...I was able to thank the Puff member without having to change the name, and also your "experimental" portion that now leaves out the number (2) behind the thanker's name at the bottom is a good move. I think it was a good idea to try it, but it almost looked like the thanker is thanking that specific poster that many times verses the overall count...so how it is now is very good to me without the (2) behind the thanker...

Love the code. Good job
Goto Top
 
slayer766-ZNR
Member
[ *  *  *  * ]
Ah, yeah the single quotes was the problem. Yeah that experimental bit was just something I was trying out and I agree with you - better to take it away. XD


Thanks though. :)
Offline Profile Goto Top
 
Ingram-ZNR
Member
[ * ]
For some reason I see no thanks button at all, but I can see the Thanks 0 times thing under each post?

www.utgaming.net is my board.

Cheers.
Offline Profile Goto Top
 
slayer766-ZNR
Member
[ *  *  *  * ]
Ah, I see - you have your post info on the right side which would switch elements around. I'll post a fix for you in a minute.
Replace the old one with this one:

Code:
 

<script type="text/javascript">
//ZB Thanks System v1.0
//Written by slayer766 (resources.zetaboards.com)

var thanks_image = "<img src=\'http://z3.ifrm.com/2/81/0/p252208/thanks.png\'>";
document.write("<script type='text/javascript' src='http://z3.ifrm.com/461/174/0/p310381/SThanks.js'><\/script>");
</script>
Edited by slayer766-ZNR, Apr 13 2010, 01:26 PM.
Offline Profile Goto Top
 
Ingram-ZNR
Member
[ * ]
Fantastic, working great now!

Massive Kudo's!!!
I just noticed that the number of thanks is not limited to the post you thank, but follows the member with every post they make.

This means when a member has like 20-30 thanks, every post they make is going to have an insane number of users who thanked them listed under this. Is there a way to hide this, or have a "Show All" kinda toggle?
Edited by Ingram-ZNR, Apr 14 2010, 01:50 AM.
Offline Profile Goto Top
 
slayer766-ZNR
Member
[ *  *  *  * ]
:D I can add a toggle friends option in this soon, but now you aren't using it?
Offline Profile Goto Top
 
Luda007
Member Avatar
Member
[ *  *  * ]
I have a question in regards to this code.

Someone in the Code Request forum requested a button to quick edit their profile from topic view.
Is it possible to alter this code to do that?
Should I make a request there?
My thinking is this.
IDK how to add extra buttons, but this code allows for that. If possible I would like to use that function of the code somehow and incorporate my own button that would allow for a quick edit of my profile. I would just incorporate the link to do that.

Does that make sense?
Offline Profile Goto Top
 
Ingram-ZNR
Member
[ * ]
slayer766
Apr 14 2010, 11:05 AM
:D I can add a toggle friends option in this soon, but now you aren't using it?
Yea sorry, the idea of having the thanks by username thing following everyone's post was a deal breaker. Usually this kind of system is per post only, and doesn't follow all of their posts across the forum.

I figure it'd be much harder to do it that way with zetaboards though, you'd need a database.
Offline Profile Goto Top
 
Deleted User
Deleted User

I had to take the thank code off, because for some reason it was making the load up of the pages jump around when surfing the site...worked great, cept for that. I didnt notice the problem personally with my lap top, but many others noted an annoyance with their computers and then once removed, an improvement
Goto Top
 
slayer766-ZNR
Member
[ *  *  *  * ]
That's because of the content needed to load for the thanks for the user...this is what's to be expected from this kind of modification.
Offline Profile Goto Top
 
Deleted User
Deleted User

slayer766
Apr 15 2010, 01:20 PM
That's because of the content needed to load for the thanks for the user...this is what's to be expected from this kind of modification.
k, I understand, worked perfect for me....
Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • 4