Jul 24, 2008

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

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

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

Raptrex
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 smile.gif

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 smile.gif

ill release it, if your all good smile.gif

Reply

snlildude87
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 trap17.

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. sad.gif

Reply

Raptrex
ya i saw your post

i added that <html> tags and any html wont work
i had a link earlier but now it doesnt work smile.gif

i think ill somehow add bb codes so links could be added

ill figure out someway to make a second line work

Reply

whyme
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. smile.gif

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

Great work,

-whyme

Reply

beeseven
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:
CODE
$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 ([b] and <b> are first, [i] and <i> are fifth).

 

 

 


Reply

Damann
wowe that is very good if you made it yourself i could barely make a posting system let alone that

Reply

Raptrex
beeseven how would i incorperate that with my script
im a n00b still and dont know much about arrays and stuff

like how would i call it and stuff

Reply

mobious
raptrex, just change $mesg to your own variable that will contain the message of the post.

Reply

Raptrex
hmm will this work since i dont allow html
it just shows the <html> im using htmlspecialchars

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. how to install shoutbox on a invisionfree forum - 15.72 hr back. (1)
  2. shoutbox voor forum - 25.65 hr back. (1)
  3. how to add a shoutbox to my forum - 76.71 hr back. (1)
  4. forum shoutbox - 105.54 hr back. (1)
  5. shoutbox for forum - 65.36 hr back. (2)
  6. forum script shoutbox - 125.30 hr back. (1)
  7. how to put a shoutbox on the forum - 135.49 hr back. (1)
  8. free forum shoutbox - 138.26 hr back. (1)
  9. shoutbox! forums - 146.44 hr back. (1)
Similar Topics

Keywords : forum, shoutbox, shoutbox, forum

  1. Shoutbox For Phpbb3
    (1)
  2. Forum Script
    (3)
    Hello, i'm wanting to start making my own forum software but i dont know where to start or what
    i need to know in order to do this. I know i will need php and mysql but what else, and could some
    one point me to a good site were i could learn php and mysql. Thanks ....
  3. Forum Last Post And Avatar
    need little help here (5)
    hi guys. I have a little problem here. Im making my own version of forum, just got into this
    problem on the last post from the topic and displaying the users avatar. i already have a upload
    script but not for images. I tried making some experiments but it didnt work. maybe someone here
    could help me. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
    just want to: 1.) query the last post. 2.)display the avatar of the user....
  4. Creating A Login Box That Links To My Phpbb Forum
    Have my phpBB Forum Intergrated with my Website (4)
    Can someone please give me a code that I can use to put a login box on my website, that will login a
    user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
    so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
    alt="angel.gif" /> Ex. ....
  5. Forum Troubles
    In phpbb (2)
    I am having forum trouble in phpbb. Whenever I go to post something or add someone to a group or
    anything else, I get an error that looks like this: Could not find email template file ::
    topic_notify DEBUG MODE Line : 111 File : emailer.php The email template thing changes but the
    Line 111 and File emailer.php are always the same. It's getting really annoying. Can anyone
    help me with this?....
  6. How To Display The Latest Forum Post On Main Page
    (4)
    Hey does anyone know how to display the latest forum post on the main page of a website? I'm new
    to PHP and have no idea what to do. Thanks in advance!....
  7. Php Forum Signature
    (10)
    Hey /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Having
    browsed this and other sites I've come up with the following signature-code for generating text
    on an image: CODE <?php header("Content-type: image/png");
    $select = rand(1,3); if($select==1)$img = "gow.png";
    if($select==2)$img = "gow2.png"; if($select==3)$img =
    "gow3.png"; $image = imagecreatefrompng("$img"); //imagecolor....
  8. [forum] Double Posting Happening By An Error
    (3)
    Hello, I am currently working on EvilBoard 0.1.1, for those who know about this project versjon 0.1b
    can be downloaded from http://www.evilservices.com Well over to the reason why i am posting this,
    I am currently experincing a problem with my new posting code wich has been rewrited in version
    0.1.1, You see, it is double posting by an error, i thouht i could fix that myself, but no, so i
    just thought, Trap17 is perfect, they problety know how to fix this, Here is the code: CODE
    <? /* * @Name: Post Topic * @Author: Arne-Christian Blystad * @Copyright&....
  9. Ipb Multi Forum (hosting Mod)
    installation help? (6)
    Hi, i need a little help if possible, i have a multi forum hosting mod for ipb 1.31 ok.. I want to
    install this but the install text included is a little unclear.. I already have a copy of ipb 1.31
    installed and running (with users and posts), i want to install this mod but i also want to keep all
    my db user/post info and still be able to use my existing forums with just a link to the forum
    hosting form. Could someone please look at the documents included with this mod and give me more
    clear instructions on how to do this? Do i need to install a second copy of the IPB UP....
  10. Evilboard (forum Software) - Multiple Categorys - Don't Work :(
    I am creating a forum and i can't fix more then 1 category. (6)
    I am at the moment trying to program my own forum, but i need more then a single category, here is
    my source: CODE function cat () { include("functions/functions.php");
    echo '<table width="100%"  border="0" cellspacing="0">
    <tr> <td class="eb_top" colspan="3" style="border-bottom-width:
    0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
    </tr>';      global $catid;   $db = new db;   $db->connec....
  11. Free Web Forum Scripts?
    Question on web forum scripts (7)
    Can someone please tell me which of the free forum scripts is the best and why? I like these forums
    but i notice the script is not free lol ;-)....
  12. Do Somebody Have A Tutorial About... How To Create A Forum?
    how to create a forum? (11)
    Hei, guys. Do somebodys here have a toturial about how to create a forum? I really do wanna
    create my own forum, but I don't know exatly HOW! please, help me! Lucas ....
  13. How I Can Display Forum Topic On Main Website ?
    (4)
    Suppose i have a website.. domain.com , and have phpbb forums on domain.com/forums.. And i want to
    display the new topics written in the forum on the main page of website...how i can do that.. ? for
    example ,I want to display this topic `? "domain.com/forums/viewtopic.php?t=16" how can i do
    that ?....
  14. Phpskye The New Forum Software.
    new forum software (4)
    PHPskye the upcomming forum software. Stefan Alkaline and I are making a new forum software with
    some unique features. We currently are still working on the heavy coding. (that includes the layout
    it sucks) But u are welcome to come and have a look. Remind feedback is allways welcome. We are
    planning on distrubuting a free and a premium board. Some handy options will be available that no
    board has so far. U are free to register and have a look around. U allso might notice the different
    layouts the layout on the mainpage will be the layout the other will be deleted afte....
  15. Forum Signatures Help
    (1)
    Click Here to view a post that i made to see whether my forum signature works in the signature
    box, and it doesnt. I dont know why, it works in the message area yet not in the signature. What do
    i need to do here in order to fix it? HTML is Enabled n i added the img into the HTML tags...still
    doesnt work, please help.....
  16. How To Apply Shoutbox In Php
    can someone help me! (5)
    CODE <?php require_once("shoutbox.php"); if($submit){
    $shoutbox = new shoutbox; $shoutbox->connect();
    $shoutbox->insertshout($shoutname, $shout);
    header("Location: $PHP_SELF"); } ?> <!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD>
    <TITLE>My shoutbox </TITLE> <style> body    {        background-color&....
  17. Can My Forum And Website Use The Same Profiles?
    (3)
    I've been programming a 'rate-em' site from scratch. You know like Hot Or Not. YEs,..
    yet another rate-em website. Anyway, i'ts done and before I launch it I need to add a forum as
    the finishing touch, but all the forum softeware out there seems so hard to integrate. I'm
    trying to make it so that when a user logs into my rate-em website they are also logged into 'my
    forum'. i.e. i want my forum and web site to use the same profile data. If anyone knows of a
    forum program made for this objective please let me know. I'm in over my head, a....
  18. Phpbb Shoutbox Possible?
    (6)
    Hi people, i'm running a phpbb forum and now i've to put a shoutbox on it.. Is it possible?
    If yes from where do i get the script? And in which folder should i upload the file..anyhelp would
    be much appreciated.. Thanks again....
  19. Wap Forum
    several questions on WAP forums (9)
    /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Right i want to set up a
    wap forum for rap battling. I think i need to use php, although i might need wml not sure. so
    questions: 1) WML or PHP? 2) Can i get a forum/message board script? 3) Where can i get it? Thanks
    in advance Not making helpful thread topics and titles results in warnings, or in extreme cases, a
    ban. Don't fall into the crack. ....
  20. Writing To Database Problem With Mysql - Not Writing Forum Post
    (3)
    I'm making a forum and I've had several problems tonight which I've come here to ask
    then found the answer to myself, but this one is stumping me. Whenever it goes to write the post to
    the database, it saves the poster, and the time, but the part where the message would go is empty.
    Here's the code, with comments about what it's supposed to do (what I wanted it to do and
    thought it did): CODE $imsg = stripslashes($_POST['msg']);
    //Get message if(strlen($imsg) > 5 && strlen($imsg)....
  21. Shoutbox
    (2)
    Can some one let me use a shoutbox script? A decent one? And can you teach me how to put it up? I
    would like to know how to use one and have one. i would like to also be able to put it on the home
    page. Can some one teach me how please? lol....
  22. Simple Shoutbox?
    I only know the echo part of php... (19)
    Well, does anyone have a nice simple shoutbox php code? It's just I've been looking for one
    for a while but they all seems to have millions of files attached with them and everything. Just
    wondering if theres anything simpler out there?....
  23. Myphp Forum
    a simple yet powerful forum (12)
    I just tried installing a new forum a few days ago, called MyPHP Forum, I found it to be really
    powerful yet, takes on the non-graphical approach, perhaps a link to my forum would be good, so you
    can see what i mean, http://xeek.ca.tt/forum I'm partly doing this becasue I want people to
    use te themes i made, /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' />
    check out the MyPHP website @ http://www.myphp.ws check out the user made themes @
    http://myphp.ws/scripts.php ....
  24. Help With Php Log-in Form
    my PHP forum log-in form aint working (5)
    Ok .... I have this log-in form on my HomePage . It was designed with PHP scripting, but it aint
    working. It simply doesnt respond to your log-in command. Can someone please help me with the exact
    code to make it work? Here is the code for the log-in form... QUOTE                          
                      Forum Log-in                                                              
        class=gen>                       Username:                                            
                                                                    Pass....
  25. best forum boards to have
    VOTE NOW (10)
    that a hard one to decribe which one is the best hmmm since i seen vbulletin alot longer then
    anyother ones going with vb....

    1. Looking for forum, shoutbox, shoutbox, forum

Searching Video's for forum, shoutbox, shoutbox, forum
advertisement



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



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE