https://www.icyphoenix.com/viewtopic.php?f=35&t=8592&p=56011#p56011
-----------------------------------
Informpro
Mon 30 Jul, 2012 13:44

Fix For "Ajax Like" (plus Some Other Features, Certainly)
-----------------------------------
Hey,

here's my fix for the "like this post" AJaX feature (and certainly other features).
I can't use git tool ATM, so I can't fix this through a new branch. Anyway, here's the way to fix it.

OPEN[code]templates/default/viewtopic_inc_js.tpl[/code]
FIND[code]<!-- IF S_POSTS_LIKES -->[/code]
AFTER, ADD[code]<script type="text/javascript" src="{FULL_SITE_PATH}{T_COMMON_TPL_PATH}js/ajax/ajax_core.js"></script>[/code]

OPEN[code]templates/common/js/ajax/ajax_core.js[/code]
FIND[code]var KEYUP_TIMEOUT = 500;[/code]
AFTER, ADD[code]var ajax_page_charset = 'utf-8';[/code]

Please tell me if this fix worked for you :). (ofc, you need to enable "thanks", both the global switch and for the forum itself).


