Well I ask a little help to you with this. ¢¦
I updated the great AJAX Mod in my forum but I only didn't find a little part in the viewtopic.php file of the update instructions.
This is the part that I didn't find: ¦4
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------------
#
'TOTAL_VOTES' => $vote_results_sum)
);
#
#-----[ REPLACE WITH ]----------------------------------------
#
'TOTAL_VOTES' => $vote_results_sum,
'L_VIEW_BALLOT' => $lang['View_ballot'],
'U_VIEW_BALLOT' => append_sid("viewtopic.$phpEx?". POST_TOPIC_URL ."=$topic_id&postdays=$post_days&postorder=$post_order"))
);
if (!$user_voted && !$poll_expired && $is_auth['auth_vote'] && ($forum_topic_data['topic_status'] != TOPIC_LOCKED))
{
$template->assign_block_vars('switch_view_ballot', array());
}
But I find this in my viewtopic file:
Code: Alles auswählen
$template->assign_vars(array(
'L_TOTAL_VOTES' => $lang['Total_votes'],
'TOTAL_VOTES' => $vote_results_sum,
'POLL_OPTION_CLOSE' => $poll_option_close,
'POLL_OPTION_DELETE' => $poll_option_delete)
);Thanx for all ur help my friend!
Cheers.