Jump to content
xisto Community
Sign in to follow this  
Raptrex

My Forum/shoutbox its a shoutbox now, but will be a forum

Recommended Posts

Visit My Forum

ok this is my forum
it has:

-Date Posted
-Stores in mysql database
-Shows in Decending order
-Able to use HTML (this is a bad thing)
-Shows How many users are online
-Shows how long it takes to show the page
-Looks simple and clean -_-

Will Add:

-Member system
-No HTML in Posts
-Replace the HTML with BB Codes

if anyone could help me with the things i need to add please reply

and rate my script :D

ill release it, if your all good :D

Share this post


Link to post
Share on other sites

I like everything that is not made by somebody in hotscripts.com or some other scripts/tutorial site.However, you make it better, I think you should make it graphically appealing...or at least colorfully (word?) appealing. YOu can lose the tables or make the borders 0. That's just my opinion.Also, it'll be awesome if you could integrate that into a site so you can put it on the side of a site or on top...just like Xisto.Since this is an early version, I'll give it an 8/10 just because you made it yourself.Oh, I tried putting a new line in my post, but it didn't work. -_-

Share this post


Link to post
Share on other sites

ya i saw your posti added that <html> tags and any html wont worki had a link earlier but now it doesnt work :(i think ill somehow add bb codes so links could be addedill figure out someway to make a second line work

Share this post


Link to post
Share on other sites

a very nice starting point that you've created, now you can create unlimited possiblites. Although I wouldn't call this a forum, i'd much rather call it so a shoutbox. With further development, you can turn it successfully into a forum. :(

I highly recommend that you check out http://www.myphp.ws/ forum base, and learn how everything fits together, and implement this onto your scripts.

Great work,

-whyme

Share this post


Link to post
Share on other sites

I have some suggestions for you:

 

1. If you want to make it so new lines register (if the user puts a line break in the text box), use "nl2br($mesg);" It will add a <br /> to the end of every new line in the text box.

 

2. For bbcodes, you can use this:

$bbcodes = array("[b]","[B]","[/b]","[/B]",[i]","[I]","[/i]","[/I]",[u]","[U]","[/u]","[/U]");$html = array("<b>","<B>","</b>","</B>",<i>","<I>","</i>","</I>",<u>","<U>","</u>","</U>");$mesg = str_replace($bbcodes,$html,$mesg);
That will change the bbcodes into HTML tags which you can store in the database as such. You can also add more tags onto the arrays, but be sure to line them up ( and <b> are first, and <i> are fifth).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.