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:
Multiquote (on) Multiquote (off)
Add Reply
Like/Dislike Button Glitch
Topic Started: Mar 16 2014, 11:55 AM (744 Views)
P E A C E
Member
[ * ]
When two or more people like/dislike the same post on my forums and then you refresh the page, it will only show one person liking/disliking the post. The code works fine on a test board. I have copied the board template word for word from my forum on to the test forum and the like/dislike buttons work there.

Code:
 
<style type="text/css"><!--
/*
Facebook Style Like/Dislike System for ZetaBoards v1.0
Copyright 10-29-10 ~Wonder
May not be reposted anywhere
Place in the Below the Board section of the Board Template
*/
.likebg {background-color: #;}
--></style>

<script>
//The Buttons are what you click to like/dislike a post, the Icons are what are shown next to the users who like/dislike a post
likeImageButtonURL="http://i41.tinypic.com/11to381.png";
likeImageIconURL="http://i41.tinypic.com/11to381.png";
dislikeImageButtonURL="http://i42.tinypic.com/25uofx5.png";
dislikeImageIconURL="http://i42.tinypic.com/25uofx5.png";

//Set to true if you want to disable Liking
disableLike=false;

//Set to true if you want to disable Disliking
disableDislike=false;

//If you want to change the word 'Like' to something else, edit these strings.
likeText=["Like","Likes","like this","likes this","Unlike"];

//If you want to change the word 'Dislike' to something else, edit these strings.
dislikeText=["Dislike","Dislikes","dislike this","dislikes this","Undislike"];
</script><script src="http://ifzblike.appspot.com/static/zblike.js"></script>




Person 1 likes post

Posted Image

Person 2 likes post (this shows up for only person 2 until they refresh the page)

Posted Image

Page after being refreshed (removed first person that liked post)

Posted Image



Again, this code works on my test board so I'm really confused!
Edited by P E A C E, Mar 24 2014, 01:00 AM.
Offline Profile Quote Post Goto Top
 
P E A C E
Member
[ * ]
bump
Bump...
Edited by P E A C E, Mar 18 2014, 12:34 PM.
Offline Profile Quote Post Goto Top
 
P E A C E
Member
[ * ]
bump
Offline Profile Quote Post Goto Top
 
P E A C E
Member
[ * ]
Anyone?
Edited by P E A C E, Mar 23 2014, 10:57 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply