the problem persist... with i.e and firefox
^_^
Code: Select all
#
#--------- [OPEN] --------------
#
ajax_thanks.php
#
#--------- [FIND] --------------
#
$response_result['thanks_button'] = trim($template->assign_display('ajax_thanks', '', true));
if (get_user_count($poster_id, true) > 0 || get_user_count($poster_id, false) > 0)
{
$template->assign_var('S_SHOW_THANKS', 'info');
$response_result['thanks_info_user'] = trim($template->assign_display('ajax_thanks', '', true));
}
if (get_thanks_number($post_id) > 0)
{
$template->assign_var('S_SHOW_THANKS', 'list');
$response_result['thanks_list'] = trim($template->assign_display('ajax_thanks', '', true));
#
#--------- [REPLACE WITH] --------------
#
$response_result['thanks_button'] = trim(str_replace(array("\n", "\t"), '', $template->assign_display('ajax_thanks', '', true)));
if (get_user_count($poster_id, true) > 0 || get_user_count($poster_id, false) > 0)
{
$template->assign_var('S_SHOW_THANKS', 'info');
$response_result['thanks_info_user'] = trim(str_replace(array("\n", "\t"), '', $template->assign_display('ajax_thanks', '', true)));
}
if (get_thanks_number($post_id) > 0)
{
$template->assign_var('S_SHOW_THANKS', 'list');
$response_result['thanks_list'] = trim(str_replace(array("\n", "\t"), '', $template->assign_display('ajax_thanks', '', true)));
EDIT: Ok, I found "bug"Joined: Sun May 09, 2010 5:12 pm
Posts: 5
Has thanked: 1 times
Have thanks: 1 times 1 times
Have thanks: 1
Code: Select all
<find><![CDATA[ <!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><a href="{postrow.THANKS_LINK}"]]></find>
Code: Select all
<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><a href="{postrow.THANKS_LINK}" alt="{postrow.THANK_ALT}{postrow.POST_AUTHOR}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}">{postrow.THANK_IMG}</a> <!-- ENDIF -->
Code: Select all
<find><![CDATA[ <!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW --><br /><b>{L_GIVEN}]]></find>
Code: Select all
<!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW --><br /><b>{L_GIVEN}:</b> {postrow.POSTER_GIVE_COUNT} {L_THANKS}<br /><b>{L_RECEIVED}:</b> {postrow.POSTER_RECEIVE_COUNT}<br /><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">
Code: Select all
<action type="after-add"><![CDATA[ </span>
<!-- ENDIF -->]]></action>
Code: Select all
<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS -->
<span id="thanks_info_user{postrow.POST_ID}">
<!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW --><br /><b>{L_GIVEN}:</b> {postrow.POSTER_GIVE_COUNT} {L_THANKS}<br /><b>{L_RECEIVED}:</b> {postrow.POSTER_RECEIVE_COUNT}<br /><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> </span>
there is no demo-url...Porutchik wrote:See first post for demo url.