![]() |
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.) |
"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?
|
Flagged for mods to move to https://www.flyertalk.com/forum/tech...-feedback-386/
|
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?
|
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.
|
Please follow the redirect as we relocate this query.
~beckoa, co-moderator Information Desk |
Bumping this issue -- unable to like most posts in various Hyatt threads with reviews as noted by SanDiego1K above. IB, any thoughts?
|
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?
|
| 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.