Jump to content

Thinking of making a shoutbox - Ideas?

Featured Replies

Thinking of making a shoutbox - Ideas?

 

Hi there everyone!

 

I'm bored and am still working on a vital part of my site so I need somethign too occupy me in the meantime so I am thinking of writing a shoutbox script.

 

Before I start (Or even if I do) what type of features would you suggest I add?

 

Cheers,

 

Ryan Jones

If you can, some sort of flood control. Language filters would be nice, and maybe even emoticions (odly, that's pretty much the same thing).

  • Author

Hmmm....

 

Flood control should be no problem using cookies or sessions :D

Language filters - same as word censors? If yes then those are already on my features list as are the emoticons :)

 

Cheers & Thanks for the suggestions,

 

Ryan Jones

Make sure if any long words are posted in the chatbox that your code injects regular spaces to stop it from stretching and breaking the layout of your page.

 

If the viewer's name is used in any of the posts you can change the background colour of the message to highlight it.

 

If you know javaScript you could add a little XMLHttpRequest to make it update and submit messages without refreshing the page, but then its kinda turning more into a chatroom.

 

What's the address?

Have it in the main ayout of the site. I hate places that have shoutboxes but outside of their site.

 

Click here to shout!!

  • Author

Make sure if any long words are posted in the chatbox that your code injects regular spaces to stop it from stretching and breaking the layout of your page.

 

Like it' date=' thats an important one. Added too the list.

 

If the viewer's name is used in any of the posts you can change the background colour of the message to highlight it.

 

Interesting... I'll see what I can come up with :D

 

If you know javaScript you could add a little XMLHttpRequest to make it update and submit messages without refreshing the page' date=' but then its kinda turning more into a chatroom.[/quote']

 

I know Javascript - if I add this feature it will be admin enabled / disabled :)

 

What's the address?

 

http://www.allscience.spiralmindsinc.com/Testing/Shoutbox/Admin/index.php

 

Its just the basics, its a few hours work :)

 

Here are a few other features I'm thinking of....

 

RSS feed for posts.

Enable / Disable UBBC codes and smilies, totally or individually.

Wildcard IP bans.

Admin can set a time a certain 'shout' will appear like an announcement.

 

Comments anyone?

 

Cheers,

 

Ryan Jones

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.