FlyerTalk Forums

FlyerTalk Forums (https://www.flyertalk.com/forum/index.php)
-   Technical Support and Feedback (https://www.flyertalk.com/forum/technical-support-feedback-386/)
-   -   Can't click "like" on some threads (https://www.flyertalk.com/forum/technical-support-feedback/2112205-cant-click-like-some-threads.html)

s3m Jul 31, 2024 1:30 am

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));

https://cimg3.ibsrv.net/gimg/www.fly...819e592704.png

Enjoy!

(Apologies to anyone who got notifications of me liking and unliking their posts while I was testing this.)

sfvoyage Oct 5, 2024 2:03 pm

"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?

Adam1222 Oct 5, 2024 4:56 pm

Flagged for mods to move to https://www.flyertalk.com/forum/tech...-feedback-386/

SanDiego1K Oct 5, 2024 10:33 pm


Originally Posted by sfvoyage (Post 36575623)
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.

sfvoyage Oct 6, 2024 12:04 am


Originally Posted by SanDiego1K (Post 36576224)
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.

beckoa Oct 6, 2024 4:28 pm

Please follow the redirect as we relocate this query.

~beckoa, co-moderator Information Desk

FriendlySkies Dec 17, 2025 9:59 pm

Bumping this issue -- unable to like most posts in various Hyatt threads with reviews as noted by SanDiego1K above. IB, any thoughts?

IBJoel Dec 23, 2025 12:26 pm


Originally Posted by FriendlySkies (Post 37487837)
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


All times are GMT -6. The time now is 6:16 am.


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.