Dear Admin I looking for months for a script (i think javascript).
I want on my website when i have a page open & another member posting something to me that a popup or extra window
opens on the page where i`m -> with the post from the other user.
Meight you have a search-tip for me
Asking for a Real-Time Comment System Script
-
- Posts: 199
- Location: Holland Rotterdam
Asking for a Real-Time Comment System Script
Admin
Hello,
I not know such a script, from what I know, that feature must be implemented in the user-login script. It must be made manually according to the user-posting script you have.
Try search on internet for: " real time comment system php ".
Or, you can ask and hire a freelancer to make that script, on freelancer's websites.
I not know such a script, from what I know, that feature must be implemented in the user-login script. It must be made manually according to the user-posting script you have.
Try search on internet for: " real time comment system php ".
Or, you can ask and hire a freelancer to make that script, on freelancer's websites.
JanMolendijk
I hope you had a good Easter... 2 questions:
About building a Real-Time Comment System
I found a way to do it with in a iframe in this iframe i dropt a alert script
to keep it continu updated i just place a reloader after some seconds
but is this way okey to do it because off continu loading from a iframe ???
My problem is i can`t put in the alert a hyperlink is their anything to fix this ?
About building a Real-Time Comment System
I found a way to do it with in a iframe in this iframe i dropt a alert script
to keep it continu updated i just place a reloader after some seconds
but is this way okey to do it because off continu loading from a iframe ???
My problem is i can`t put in the alert a hyperlink is their anything to fix this ?
Code: Select all
<script>
function loaded()
{
alert("<?php echo $user->filter->username; ?> <a href='http://145.53.93.209/Jan-Molendijk/' title='' class='postlink' target='_top'></a> Beep! ");
window.setTimeout(CloseMe, 5000);
}
function CloseMe()
{
window.close();
}
</script>
</head>
<body onLoad="loaded()">
Admin
From my opinion, is not ok with continuu loading iframe, nor with default alert which cannot have a hyperlink.
A better way is with Ajax, to auto-call an ajax function every 7-8 seconds to check for messages.
If there is new message, to display a nice Div with a link and a button to close.
It is a bit complicated, and to make such a script you should learn to make ajax scripts.
A better way is with Ajax, to auto-call an ajax function every 7-8 seconds to check for messages.
If there is new message, to display a nice Div with a link and a button to close.
It is a bit complicated, and to make such a script you should learn to make ajax scripts.
JanMolendijk
Stupid question is this a way to do it ???
But my opinion it is just like a I frame what is reloading ???
With this script I just load a little SQL document
I just use ELSE
But my opinion it is just like a I frame what is reloading ???
Code: Select all
<script src="jquery-latest.js"></script>
<script>
$(document).ready(function() {
$("#responsecontainer").load("popup.php");
var refreshId = setInterval(function() {
$("#responsecontainer").load('popup.php');
}, 10000);
$.ajaxSetup({ cache: false });
});
</script>
</head>
<body>
<div id="responsecontainer">
</div>
</body>
Code: Select all
$sql = "SELECT `ip_adress`, `message_count` FROM `ip_register` WHERE ip_adress='$ip' AND NOT message_count='0' LIMIT 1 ";
Code: Select all
echo ''you have messages ;
}
}
else {
echo 'no message';
}
Admin
If for you it is working as you want and you are content of its result, then it is ok.
Similar Topics
-
Comment Script - Error Incorrect verification code
Scripts from this website
First post
I use your comment script from:Last post
It worked normal, but now i getting this error:
Error: Incorrect verification code
Edit:
It is working fine, i added a picture with more data. -
Simple PHP Comment Tree
PHP - MySQL
First post
Dear admin,Last post
I have an comment tree but it is deprecated.
i tried to update the script but i cant gets to many errors.
Also i searching for...
You have to change all mysql_ functions that get and parse data from database with their mysqli correspondent. -
Register and show Time Spent from ip on website
JavaScript - jQuery - Ajax
First post
Dear admin, I`m searching for round 10 hours for a solution to track & store spending-time from a visitor on the website.Last post
I found a Ajax...
Maybe it is not working with onunload to execute ajax request when the user closes the page.
Try the following code.
- JavaScript:... -
How to send Push Msg to multiple Android phones at a time
PHP - MySQL
First post
Hello,Last post
I am using PHP Push Notification Android and iOS: Send push notifications to Android and iOS devices I have to send around 10k pushes every...
Hello,
I not know about PHP Push Notification Android and iOS , but check the answers from this page, maybe they can help you:
Or, post the... -
Problem with Rating script
Scripts from this website
First post
Dear admin how are you doing ?Last post
I`m back again with something...
I wanna use this script:
i changed it to mysql but it is not working also if...
Thanks for the support Admin it is working 1000%