/    Sign up×
Community /Pin to ProfileBookmark

[HELP] Making My Own Shoutbox

Hi, Im planning to make my own shoutbox, but I don’t know where or how to begin. I don’t even know what a shoutbox is technically called.

In simple words, I want my users to put in their name, message, and click a button to post; then their message and name immediately pops up in an in-page frame together with all the other msges of other site posters. Kinda like what [url]www.tag-world.com[/url] offers, but without the extra features, only the bare essentials.

How do I do this?

Any help would be greatly appreciated. Thank you. ?

to post a comment
PHP

9 Comments(s)

Copy linkTweet thisAlerts:
@cridleyNov 07.2007 — What they probably have is a table in a database. When you add a message it inserts a new entry in that table. when the div (or frame) loads the php creates a html table with the x last entries put into the db table. When you click refresh, it reloads from the database.

A nicer way to do it might be to use ajax to refresh the frame at regular intervals so no need to ever click refresh (will not work with javascript disabled though, so you'd keep the refresh button).
Copy linkTweet thisAlerts:
@m_munozauthorNov 07.2007 — How do I insert an entry into a table database?

Any tutorial link would be nice...
Copy linkTweet thisAlerts:
@php_hazard_01Nov 07.2007 — dude?..ever heard of google?.
Copy linkTweet thisAlerts:
@m_munozauthorNov 08.2007 — :S

Such rudeness. FYI, I already tried searching, but all I was able to find were tutorials that never met my needs.

If I wanted to solely rely on searching for the answer to my questions on my own, I would have never registered to this forums in the first place.
Copy linkTweet thisAlerts:
@cridleyNov 08.2007 — http://www.w3schools.com/

For a start. But there are tutorials all over the place. If you're using php just go to http://www.php.net/

Once you are learning and have the basics, you can come to this sort of forum and ask questions about specific problems. You need to teach yourself some of the basic concepts before attempting a big project, just one step at a time. Learn about MySQL and php then gradually move on to more and more advanced things.
Copy linkTweet thisAlerts:
@php_hazard_01Nov 08.2007 — dude, sorry, but in my case, before i ever knew anything...i searched google to learn, i only come to forums if my problems get to complicated...where i need custom code...?

well, i searched google and came up with this..

http://www.webgeekworld.com/web_development_resource_details.php?id=41

keyword: [B]shoutbox tutorial[/B]

google's nice..?

do you need a list of great sites where you can learn PHP/mysql?..

[I]edit:[/I]

wow, look, another one?...hehehe

http://www.tutorialdash.com/tutorial/javascript/ajax/view/Ajax/PHP-Shoutbox-Tutorial_71162
Copy linkTweet thisAlerts:
@m_munozauthorNov 09.2007 — @cridley: I was hoping there would be a quicker way to do it. Like when I learned form-mail without really learning the crude basics of php. But I guess I would have start all-over.

@php hazard 01: thanks, I'll try to sift out the things I could use from those links.
Copy linkTweet thisAlerts:
@iltloNov 09.2007 — I have a really nice code you could use. It was originally a commenting system that was brought up in a pop up window, but I changed a little bit of it and now you can use it as a shoutbox. To see it in action, you can look at my site:

http://somewhereyoubelong.com

Tell me if you want the code.
Copy linkTweet thisAlerts:
@m_munozauthorNov 09.2007 — thats a nifty shoutbox you got there.

sure! why not. as long as it's free..
×

Success!

Help @m_munoz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...