Go Back  FlyerTalk Forums > Support&Services > Technical Support and Feedback
Reload this Page >

Can't click "like" on some threads

Community
Wiki Posts
Search

Can't click "like" on some threads

Thread Tools
 
Search this Thread
 
Old Jul 31, 2024 | 1:30 am
  #16  
s3m
100k
20 Countries Visited
100 Nights
All eyes on you!
 
Join Date: Apr 2024
Posts: 233
I believe I've found the bug: the like code relies on jQuery being available via a variable named $ which is not always the case because some of the third-party scripts ran on the website are overwriting it. There's 2 possible fixes depending on what level of access the admins like IBJoel have:

a. Ensure that jQuery is available via the variable $ by adding additional Javascript to the page via Google Tag Manager which assigns `var $ = jQuery`
b. Modify the file vbseo/resources/scripts/vbseo_ui.js: replace `$("#main-content")` with `jQuery("#main-content")`

Until the issue is fixed by the administrators, individual users can fix it on each page load by running the following code in their browser console:

var $ = jQuery
vbseoui = new vBSEO_UI();
vbseoui.page_init(Array('postbody', 'blogbit', 'content', 'postcontainer', 'vbseo_like_postbit'), Array("php",1));

And that can be made even easier by adding it as a bookmark, so each time you need to enable likes on a page, you can just click the bookmark, e.g:

javascript:var $ = jQuery; vbseoui = new vBSEO_UI(); vbseoui.page_init(Array('postbody', 'blogbit', 'content', 'postcontainer', 'vbseo_like_postbit'), Array("php",1));



Enjoy!

(Apologies to anyone who got notifications of me liking and unliking their posts while I was testing this.)
SPN Lifer, Zorak, joachimm and 1 others like this.

Last edited by s3m; Jul 31, 2024 at 11:45 am Reason: Added spacing to prevent code being broken up
s3m is offline  
Old Oct 5, 2024 | 2:03 pm
  #17  
10 Countries Visited
All eyes on you!
20 Years on Site
 
Join Date: Aug 2002
Location: San Francisco
Posts: 2,959
"Like" button not working

The "like" button doesn't work for me in one particular thread (Hyatt board). Otherwise, the button is working for other threads. Anyway to fix that?
sfvoyage is offline  
Old Oct 5, 2024 | 4:56 pm
  #18  
1M
50 Countries Visited
All eyes on you!
15 Years on Site
 
Join Date: Jul 2009
Location: Washington, DC
Programs: DL PM; Hilton Dia; Marriott Titanium/LT Gold
Posts: 8,509
Flagged for mods to move to https://www.flyertalk.com/forum/tech...-feedback-386/
Adam1222 is offline  
Old Oct 5, 2024 | 10:33 pm
  #19  
Community Director Emerita
50 Countries Visited
80 Nights
5M
100 Countries Visited
 
Join Date: Oct 2000
Location: Anywhere warm
Posts: 35,569
Originally Posted by sfvoyage
The "like" button doesn't work for me in one particular thread (Hyatt board). Otherwise, the button is working for other threads. Anyway to fix that?
Was there a hotel review in that thread? It doesn't work in that case. Why? I've no idea.
SanDiego1K is offline  
Old Oct 6, 2024 | 12:04 am
  #20  
10 Countries Visited
All eyes on you!
20 Years on Site
 
Join Date: Aug 2002
Location: San Francisco
Posts: 2,959
Originally Posted by SanDiego1K
Was there a hotel review in that thread? It doesn't work in that case. Why? I've no idea.
Yes, the thread is about the Park Hyatt Buenos Aires. Not sure if there's a full review upthread, but probably.
sfvoyage is offline  
Old Oct 6, 2024 | 4:28 pm
  #21  
A FlyerTalk Posting Legend, Moderator, Information Desk, Ambassador, Alaska Airlines
1M
Community Builder
15 Years on Site
 
Join Date: Dec 2006
Location: FAI
Programs: AS MVP Gold100K, AS 1MM, Maika`i Card, AGR, Hertz PC, Marriott Lifetime Plat, CO, 7H, BA, 8E
Posts: 44,318
Please follow the redirect as we relocate this query.

~beckoa, co-moderator Information Desk
beckoa is offline  
Old Dec 17, 2025 | 9:59 pm
  #22  
FlyerTalk Evangelist
30 Countries Visited
1M
All eyes on you!
15 Years on Site
 
Join Date: Nov 2009
Location: Northeast Kansas | Colorado Native
Programs: Amex Gold/Plat, UA *G, Hyatt Globalist, IHG Plat Marriott LT Gold, NEXUS, TSA Disparager Unobtanium
Posts: 22,644
Bumping this issue -- unable to like most posts in various Hyatt threads with reviews as noted by SanDiego1K above. IB, any thoughts?
Fredd likes this.
FriendlySkies is offline  
Old Dec 23, 2025 | 12:26 pm
  #23  
Administrator
10 Countries Visited
Conversation Starter
All eyes on you!
10 Years on Site
 
Join Date: Sep 2015
Location: Los Angeles
Programs: Internet Brands
Posts: 4,435
Originally Posted by FriendlySkies
Bumping this issue -- unable to like most posts in various Hyatt threads with reviews as noted by SanDiego1K above. IB, any thoughts?
We're trying to figure out how to migrate likes over to the new system. But FlyerTalk's current Likes product is deprecated and no longer being worked on
IBJoel is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.