I'm trying to use this method but when i add this function and hit the save button, it says
Fatal error: Maximum function nesting level of '100' reached, aborting! in /var/www/includes/vb_template.php on line 51
how can i resolve this problem?
--------------- Added [DATE]1314536746[/DATE] at [TIME]1314536746[/TIME] ---------------
Finally, i can include this function from external file...
But now it's not working with vb4.1.5
I've add
Code:
<script type="text/javascript" src="markread.js"></script>
this to headerinclude and it's contains
Code:
function markAsRead(session, markreadhash)
{
var markRead = confirm("Butun mesajlar okundu kabul edilecek. Emin misiniz?");
if (markRead == true)
{ window.location="forumdisplay.php?" + session + "do=markread&markreadhash=" + markreadhash;
}
else
{
}
}
then i'have change mark as read link with this
Code:
<a href="javascript:markAsRead({vb:raw session.sessionurl},{vb:raw bbuserinfo.securitytoken});">{vb:rawphrase mark_forums_read}</a>
This doesn't work... What can we do?