okay well i am trying to make a shoutbox for a when your logged in..
now am i going to have to use ajax for it to display?
if i do can you help me start this?
if not how to start it?
thanks
shoutbox
Started by Whitey, Jul 09 2008 07:25 PM
8 replies to this topic
#1
Posted 09 July 2008 - 07:25 PM
|
|
|
#2
Guest_Jordan_*
Posted 10 July 2008 - 11:08 AM
Guest_Jordan_*
You will have to use AJAX. I couldn't find any examples on the internet to forward you to but here is how it could be done:
There is a myriad of free shoutbox clients for PHPBB, vBulletin and many other scripts. If I were you I would download one and see how they developed theirs.
- You will need 1 PHP script that reads data from a database (username, shout-out/comment, etc). The output should be in XML format.
- 1 PHP script that submits new comments to the database
- HTML Text Box and Submit button (that submits to #2 above).
- JavaScript/AJAX that reads the #1 script above on a time interval (every 10 seconds?) and updates the textbox with new shoutouts.
There is a myriad of free shoutbox clients for PHPBB, vBulletin and many other scripts. If I were you I would download one and see how they developed theirs.
#3
Posted 10 July 2008 - 12:46 PM
Ahh thanks.. and if anyone else has some other usefull information it would be very Nice :)
#4
Posted 17 July 2008 - 03:42 AM
I think that Jordan covered it all...
#5
Posted 17 July 2008 - 12:00 PM
Someone messaged me on aim.. i dont remember who and said they had made 1.. If so can someone make a tutorial on it? Or may i have it/use it?
#6
Posted 18 July 2008 - 12:07 AM
You mean a member on this forum?
#7
Posted 18 July 2008 - 11:38 AM
Yes "Someone messaged me on aim" i was refering to someone on this forum.. :)
#8
Posted 03 August 2008 - 11:56 AM
I know the question is already answered, but i used to use shoutboxes when ajax was'nt invented, so there arec also other ways? what is the advantage of this method?
#9
Posted 03 August 2008 - 06:53 PM
Ajax will show the results without refreshing the whole page... Everything is pretty much standalone


Sign In
Create Account


Back to top









