Previous Thread
Next Thread
Print Thread
Hop To
#264226 09/24/2020 5:03 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264227 09/24/2020 5:19 PM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264228 09/24/2020 9:27 PM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264229 09/25/2020 2:18 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264230 09/25/2020 1:02 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264232 09/25/2020 1:35 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Gizmo
See the change I did in my post above


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #264234 09/25/2020 1:43 PM
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264236 09/25/2020 3:14 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264237 09/25/2020 3:16 PM
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264239 09/25/2020 3:43 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #264240 09/25/2020 3:44 PM
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Morgan #264242 09/25/2020 8:52 PM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Morgan
isaac #264246 09/26/2020 1:23 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264247 09/26/2020 1:37 AM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
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,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Thanks Isaac looking forward to it đź‘Ť


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #264370 10/12/2020 3:01 PM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
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,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
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: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #264373 10/14/2020 6:11 PM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.5 // Preview: UBBT 8.0.0
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
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Forum Privacy Policy
by ECNet - 02/26/2024 11:58 AM
Who's Online Now
2 members (Nightcrawler, Ruben), 322 guests, and 160 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)