Previous Thread
Next Thread
Print Thread
Hop To
#264226 09/24/2020 5:03 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Hi
Please check this link
http://www.britbike.com/forums/ubbthreads.php/topics/824677#Post824677

Read posts and see likes and unlikes
Several likes from same poster and it seems not to remove when unlike


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264227 09/24/2020 5:19 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
from the content rebuilder in the control panel, what happens after you run the LIKES rebuilder?


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264228 09/24/2020 9:27 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
Control Panel > General > Post Likes Settings

does your forum have a limit on likes per 24 hours?
maybe the user used up all of those likes in that period.


[Linked Image]
NOTE: "Allow Members to Like Posts in Locked Threads" is available as of UBB.threads 7.7.5


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264229 09/25/2020 2:18 AM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Isaac I just now ran the like counts rebuilder
I think no changes was made as it looks the same
My settings are exactly as your image above


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264230 09/25/2020 1:02 PM
Joined: Jun 2006
Posts: 15,996
Likes: 49
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,996
Likes: 49
I've been trying to recreate this, feedback would be immensely helpful in ironing out any variations on bugs.

To find posts with duplicate likes you'd want to run the query:
SQL Query
SELECT
	`POST_ID`, COUNT(`POST_ID`),
	`USER_ID`, COUNT(`USER_ID`)
FROM 
	`ubbt_LIKES`
GROUP BY
	`POST_ID`,
	`USER_ID`
HAVING 
	COUNT(`POST_ID`) > 1
	AND COUNT(`USER_ID`) > 1;

Then to remove those likes you'd want to:
SQL Query
DELETE FROM
	`ubbt_LIKES`
WHERE
	`POST_ID`='postidnumber'
	AND `USER_ID`='useridnumber'

Where the postidnumber and useridnumber would be from the previous query.

ubbt_ in both queries would be whatever your database prefix is set to, default being ubbt_


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Morgan #264231 09/25/2020 1:28 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Gizmo I am travelling and have only a small iPhone 6 until Tuesday

Would you like me to ask the posters to say exactly how they did when making several likes in one post?

I use ubbt_

I got 51 hits with 2-6 likes in ea Posts

I will get home on Tuesday as mentioned and run the second query then

Still I wonder how they could make multiple likes in the first place

Cheers

Last edited by Morgan; 09/25/2020 1:39 PM.

Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264232 09/25/2020 1:35 PM
Joined: Jun 2006
Posts: 15,996
Likes: 49
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,996
Likes: 49
Yes, step by step instructions would be great in trying to get every exploitable variation out there.

And yes, if your prefix is the default then that's the query your need to compile a list of duplicate likes for three LIKES table... I'd recommend doing it when you're back home or have access to a computer as you need to plug those values into the second query.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Morgan #264233 09/25/2020 1:40 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Gizmo
See the change I did in my post above


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264234 09/25/2020 1:43 PM
Joined: Jun 2006
Posts: 15,996
Likes: 49
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,996
Likes: 49
I was on my mobile at the time and didn't see the change...

I'm not sure, the system is supposed to turn the like button into an unlike button when submitted; it should only capture the first click (I tried bashing the button on my gardening site and couldn't even get a duplicate).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Morgan #264235 09/25/2020 1:49 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
I have now asked for a step by step instruction it’s the same topic link as in my original post above

We’ll see when they reply


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264236 09/25/2020 3:14 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Well this was the first reply

Quote
Choose Like on post.
Click Like confirmation button rapidly.
Results vary, 2 to 5 Likes.
Probably depends on server response time.


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264237 09/25/2020 3:16 PM
Joined: Dec 2003
Posts: 6,254
Likes: 35
Offline
Joined: Dec 2003
Posts: 6,254
Likes: 35
I tried that here and I get only one like.
But it is quick here


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Ruben #264238 09/25/2020 3:33 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Originally Posted by Ruben
I tried that here and I get only one like.
But it is quick here
I tested it on your post above Ruben and liked it 6 times by clicking fast and multiple times

I also did it on Britbike see this link
http://www.britbike.com/forums/ubbthreads.php/topics/824787/re-undo-a-like#Post824787

I know it’s unnatural but people does it

Last edited by Morgan; 09/25/2020 3:34 PM.

Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264239 09/25/2020 3:43 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264240 09/25/2020 3:44 PM
Joined: Dec 2003
Posts: 6,254
Likes: 35
Offline
Joined: Dec 2003
Posts: 6,254
Likes: 35
I guess I am just to slow. LOL
But I have 200/200 isp service.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Morgan #264241 09/25/2020 4:57 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
thanks for reporting this and directions of how to reproduce it. because of this, an additional issue was found.

we'rre investigating and applying a few code updates.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264242 09/25/2020 8:52 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
The bug has been corrected, and in the process an entire step has been removed from the LIKE system, making the process quicker.

The fix is live here on UBBCentral. If you can still reproduce the issue, please share your steps

Thank you Morgan thumbsup


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Morgan
isaac #264246 09/26/2020 1:23 AM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Feedback
Originally Posted by isaac
The fix is live here on UBBCentral. If you can still reproduce the issue, please share your steps:

Isaac normally I would not fast click multiple Times.
But I did now to test and still managed to like your last post above three times .

While we talk Likes I’m just reminding that if possible in the future if we could just click one time on the like button and not have to open a new like button to click again.
It was just a reminder which I believe you noticed a while back.




Ps when I now unlike the multiple likes they all go away that is good

Last edited by Morgan; 09/26/2020 1:27 AM.

Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264247 09/26/2020 1:37 AM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
i tried to click multiple times and could not reproduce the issue, especially now that there is an "already submitted" popup window that displays if clicking more than once.the same window that works to prevent double-posts.

Also, the secondary confirmation page was removed as part of the fix put in to place. now when you click like, you get a single page that shows, and then takes you right back to the original post when you change your like status.

EDIT: See followup reply

Last edited by isaac; 10/12/2020 2:54 PM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
2 members like this: Gizmo, Morgan
Morgan #264368 10/12/2020 2:54 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
followup reply:

The "Like" and "Unlike" submit button will be disabled on first click. This should resolve the issue without using a pop-up or browser window.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
2 members like this: Gizmo, Morgan
Morgan #264369 10/12/2020 2:59 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Thanks Isaac looking forward to it 👍


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264370 10/12/2020 3:01 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
Originally Posted by Morgan
Thanks Isaac looking forward to it 👍

working on a script to clean-up "individual posts with multiple likes from a user."


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
2 members like this: Gizmo, Morgan
isaac #264371 10/14/2020 3:21 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
Originally Posted by isaac
working on a script to clean-up "individual posts with multiple likes from a user."

Completed smile


"Purge redundant POST LIKES by same USER_ID"
This will be run with the forum upgrader, and can by run through the control panel Content Rebuilder on demand.
It is recommended to also run the "Rebuild Like Counts" Content Rebuilder action after running the purge, which will fix the LIKE counters. Depending on your community, you may need to inform them that their LIKE counter will be updated to reflect accurate likes, rather than the redundant bugged likes, if any.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
2 members like this: Morgan, Gizmo
Morgan #264372 10/14/2020 4:55 PM
Joined: Jun 2006
Posts: 831
Likes: 12
Morgan Online Happy OP
Old Hand
OP Online Happy
Old Hand
Joined: Jun 2006
Posts: 831
Likes: 12
Isaac
I tried to like your last post several times but it didn’t work
It kept saying sending
Otherwise I like what you informed us about


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php
Morgan #264373 10/14/2020 6:11 PM
Joined: Apr 2004
Posts: 1,794
Likes: 92
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,794
Likes: 92
Originally Posted by Morgan
Isaac
I tried to like your last post several times but it didn’t work
It kept saying sending
Otherwise I like what you informed us about

UBBCENTRAL is running a previous snapshot test-code from 20201012. Will update to today's current snapshot code 20201013 (or newer). That will fix the JavaScript error you are seeing on mobile devices (Android/iOS/iPadOS) which does not happen on desktop browsers.

edit:
updated to 20201014 thumbsup

Last edited by isaac; 10/14/2020 6:13 PM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.4 // Work In Progress: UBBT 7.7.5
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Morgan

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
MySQL 5.6 upgrade to 5.7
by Morgan - 10/19/2020 6:19 AM
Custom islands error
by Morgan - 10/18/2020 7:25 AM
Saved Member Searches Enhancement
by Ruben - 10/10/2020 1:17 PM
RSS Feeds
by Mors - 10/06/2020 6:44 PM
long-time-post-sales
, but once-again-pre-sales question

by drkknght00 - 10/05/2020 5:24 PM
Who's Online Now
3 members (Gizmo, Morgan, 1 invisible), 78 guests, and 79 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20201021)