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: 268
- 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
-
Real-life ‘Star Wars’ lightsaber that slices steel
Entertainment and Games
Engineer and YouTube personality James Hobson has finally created a functional lightsaber.
<div data-mpgal= showimg:false, thumb_width:290,... -
How to set a loading time of the website
JavaScript - jQuery - Ajax
First post
I've a website loader in GIF format but it doesn't appear because the page is loaded in 0.01 seconds.Last post
Is there possible to set a loading time to 2...
Here is an example of a preloader with jQuery using the delay() method (2 sec = 2000), wrapped inside the 'load' event.
<style>
.loading... -
The smallest time span ever measured
Remarkable News
According to their own statements, German nuclear physicists have set a kind of stopwatch world record.
<div data-mpgal= showimg:false,... -
SSEP: search in all the domains at the same time
Scripts from this website
First post
Hi!Last post
I want to know how to modify SSEP in order to do a search on all the indexed domains like google does. I've 5 sites and i want to include all...
Hello,
Sorry, the SSEP script cannot search in multiple domains same time, and it require to many changes to implement that feature.
The person who... -
Abba's Waterloo voted best song of all time
Remarkable News
Abba's Waterloo has been named the greatest Eurovision song of all time by BBC viewers.
<div data-mpgal= showimg:false, thumb_width:290,...