Like -> 30 sec -> Unlike -> Dislike & Like again
Sorry, I don't know what you mean by that. Using the option of removing the button text does not affect the permission checks for button clicks.But its not working as it does on mine given our setup is slightly different. Try removing the text / thanks and then try the method mentioned.
mysql> SHOW FULL PROCESSLIST;
+----------+------------------+-----------+--------------------+---------+------+--------------+--------------------------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----------+------------------+-----------+--------------------+---------+------+--------------+--------------------------------------------------------------------------------------------------------------------------+
| 14617606 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617609 | root | localhost | NULL | Query | 0 | NULL | SHOW FULL PROCESSLIST |
| 14617612 | forum_forum20 | localhost | forum_forum2013 | Query | 0 | Sending data | SELECT *
FROM dbtech_thanks_entry AS entry
WHERE contentid IN (04415716,4415825,4421751)
AND contenttype = 'post' |
| 14617614 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617615 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617616 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617617 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617618 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617620 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617621 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617622 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
| 14617625 | forum_wordpre | localhost | forum_wordpress | Sleep | 0 | | NULL |
| 14617626 | forum_forum20 | localhost | forum_forum2013 | Sleep | 0 | | NULL |
+----------+------------------+-----------+--------------------+---------+------+--------------+--------------------------------------------------------------------------------------------------------------------------+
13 rows in set (0.00 sec)
I'm not Hejula but I can explain.
In google chrome hit f12 to open developer console. Click Sources and click the little play icon in the left top corner, under dbtech/thanks/clientscript you should find thanks.js. Double click that.
That will bring a bunch of JS code, hit CTRL + F and search for lastClick=timenow; now remove that line and have fun. You can dislike and like posts.
The solution is a server-sided fix in thanks.php checking if the post is allready liked or disliked by the user.
Then this is not a "temp" fix, but rather the correct configuration (as per post No.7).Likes (Exclusive , check dislike)
Dislikes (Exclusive, check like)
We use essential cookies to make this site work, and optional cookies to enhance your experience.