fb style guestbook

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    fb style guestbook

    i was bored again, lol...

    so i wondered what my status bar would look like if i gave it a different skin, lol...

    sql:

    CREATE TABLE IF NOT EXISTS `ak_newzlinez` (
    `id` int(100) NOT NULL auto_increment,
    `statbarmsg` varchar(500) NOT NULL default '',
    `uid` varchar(100) NOT NULL default 'Nobody',
    `timesaid` int(100) NOT NULL default '0',
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;


    INSERT INTO `ak_newzlinez` (`id`, `statbarmsg`, `uid`, `timesaid`) VALUES
    (1, 'Hello Everyone!!!', 'pmbguy', 1281568065);
    ///////////////////////////////////////////////////////

    file attached here too, needs some work done cause line 134 kept giving error so i disabled it, lol... just means now the click for more link always showing...

    comments, feedback, etc welcome...

    Added after 5 minutes:

    lol, forgot demo link as usual...

    demo here

    Added after 40 minutes:

    ok antiflood update:

    find this bit n copy paste or update missing lines
    PHP Code:
    if ($do=="post")
    {
    $lastpost mysql_fetch_array(mysql_query("SELECT MAX(timesaid) FROM ak_newzlinez"));
    $lasttext mysql_fetch_array(mysql_query("SELECT statbarmsg FROM ak_newzlinez WHERE timesaid='$lastpost[0]'"));
    $lastposted $lasttext[0];
    $ucans $_POST["ucans"];
    $rcans $_POST["rcans"];
    $rcans 191919 $rcans;
    $status $_POST['status'];
    $uid $_POST['name'];
    if(
    $ucans!=$rcans)
    {
    echo 
    "Wrong Image Verification!<br/>";
    echo 
    "<a href=\"index.php\">BACK</a>";
    }
    else if (
    $status!=$lastposted)
    {
    $timenow time();
    $res mysql_query("INSERT INTO ak_newzlinez SET statbarmsg='".$status."', uid='".$uid."', timesaid='".$timenow."'");
    echo 
    "Message Posted!";
    echo 
    "<meta http-equiv=Refresh content=0;url=index.php>";
    }
    else
    {
     echo 
    "No Double Posting!!!<br/>";
     echo 
    "<a href=\"index.php\">BACK</a>";
    }
    //echo "$lastpost[0]";



    Attached Files
    Last edited by pmbguy; 30.11.10, 11:41. Reason: changing demo link
    C3 Themes: http://c3themes.wen.ru/index.html
    Find Files: http://mystarter.tk/?goto=X-search

    #2
    Thanks so much m8,, im s0rry i can't click 0n thanks because im usin' m0bile ..
    Girls are like internet domain name, The girls i like are already taken!

    Comment


      #3
      ok, if the leechers would give me a little more thanks, i'll release the full version as it sits on the demo link now with tools to delete unwanted posts...
      C3 Themes: http://c3themes.wen.ru/index.html
      Find Files: http://mystarter.tk/?goto=X-search

      Comment


        #4
        Thx pmb am on mobile can't hit thx button
        My site: http://mimobifunclub.tk
        sigpic

        Comment


          #5
          leechers are good like cat fish bite .. :D
          whatever... Nice script .. :P
          Unamos los corazones,hoy todos somos multicolores!

          Comment


            #6
            Thanx 4 share ds nice gb script.
            I want to click thanx button bt i cant see that.

            Comment


              #7
              Great Job be active man

              Comment


                #8
                Well done!
                mysterio.al - programming is a functional art

                Comment


                  #9
                  no jquery ahhhhhh code this using jq will u


                  ....................................
                  http://photomag.lk/
                  ....................................

                  Comment


                    #10
                    W0w thnx, can u give wap ftp script, thank y0u,!

                    Comment


                      #11
                      ok, everyone, here's V2 of my status bar script, now added

                      admin tool - Delete Posts
                      Picture Upload n Post
                      BBCODES list

                      Hope ya'll enjoy it, n thanks, comments and suggestions welcome...

                      ok, i fixed the error with image verification...
                      Attached Files
                      Last edited by pmbguy; 01.12.10, 19:05. Reason: fixing error
                      C3 Themes: http://c3themes.wen.ru/index.html
                      Find Files: http://mystarter.tk/?goto=X-search

                      Comment


                        #12
                        JQuery has a mobile version 4 smart phones

                        Comment


                          #13
                          ok, i've never coded anything wiuth jQuery... what is that? and what language is it in? maybe i can try...
                          C3 Themes: http://c3themes.wen.ru/index.html
                          Find Files: http://mystarter.tk/?goto=X-search

                          Comment


                            #14
                            Its a Javascript framework.

                            Its um a Javascript framework. Jquery.com

                            Comment


                              #15
                              ok, well if it's javascript, i ain't got a clue where to begin
                              C3 Themes: http://c3themes.wen.ru/index.html
                              Find Files: http://mystarter.tk/?goto=X-search

                              Comment

                              Working...
                              X