if i do that, mchat stop work. the second time when a try send any text doesn't send with the send button. only it work with key enter of the keyboard.emosbat wrote:remove this
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
Code: Select all
<script type="text/javascript">
// <![CDATA[
$jqpack_JQuery(function() {
load_tips('.ajaxlike_tooltip');
});
// ]]>
</script>
function_ajaxlike.php
file.Code: Select all
function ajaxlike_init_notify(interval, callback_url)
{
ajaxlike_notificationsbox(callback_url); // page load notify
setInterval(function(){ajaxlike_notificationsbox(callback_url)},interval);
}
Code: Select all
$(function ajaxlike_init_notify(interval, callback_url)
{
ajaxlike_notificationsbox(callback_url); // page load notify
setInterval(function(){ajaxlike_notificationsbox(callback_url)},interval);
});
callback_url
parameter that set callback URL.Code: Select all
<!-- ajaxlike -->
<!-- IF postrow.U_POST_AUTHOR -->
<dd><strong>{L_AL_LIKE_COUNT_TEXT}:</strong> {postrow.LIKES} <!-- IF postrow.LIKES > 1 -->{L_AL_POSTS_TEXT}<!-- ELSE -->{L_AL_POST_TEXT}<!-- ENDIF --></dd>
<dd><strong>{L_AL_LIKED_COUNT_TEXT}:</strong> {postrow.LIKED} <!-- IF postrow.LIKED > 1 -->{L_AL_POSTS_TEXT}<!-- ELSE -->{L_AL_POST_TEXT}<!-- ENDIF --></dd>
<!-- ENDIF -->
<!-- ajaxlike -->
Code: Select all
[phpBB Debug] PHP Notice: in file [ROOT]/memberlist.php on line 670: Undefined variable: ajaxlike_enable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4861: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4863: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4864: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4865: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)