Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike > Mods & Themes
Reply
  #1  
Old 19th June 2011, 00:46
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Smile New Shoutbox
this not my work its krypto




This shoutbox have bbcode button, color, size and font.
Avatar,edit,delete,pm and image-resizer
window with clicable smilies

in include/global find:

PHP Code:
   $smilies = array(
      
":-)" => "smile1.gif",
      
":smile:" => "smile2.gif",
      
":-D" => "grin.gif",
      
":lol:" => "laugh.gif",
      
":w00t:" => "w00t.gif",
      
":-P" => "tongue.gif",
      
";-)" => "wink.gif",
      
":-|" => "noexpression.gif",
      
":-/" => "confused.gif",
      
":-(" => "sad.gif",
      
":'-(" => "cry.gif",
      
":weep:" => "weep.gif",
      
":-O" => "ohmy.gif",
      
":o)" => "clown.gif",
      
"8-)" => "cool1.gif",
      
"|-)" => "sleeping.gif",
      
":innocent:" => "innocent.gif",
      
":whistle:" => "whistle.gif",
      
":unsure:" => "unsure.gif",
      
":closedeyes:" => "closedeyes.gif",
      
":cool:" => "cool2.gif",
      
":fun:" => "fun.gif",
      
":thumbsup:" => "thumbsup.gif",
      
":thumbsdown:" => "thumbsdown.gif",
      
":blush:" => "blush.gif",
      
":unsure:" => "unsure.gif",
      
":yes:" => "yes.gif",
      
":no:" => "no.gif",
      
":love:" => "love.gif",
      
":?:" => "question.gif",
      
":!:" => "excl.gif",
      
":idea:" => "idea.gif",
      
":arrow:" => "arrow.gif",
      
":arrow2:" => "arrow2.gif",
      
":hmm:" => "hmm.gif",
      
":hmmm:" => "hmmm.gif",
      
":huh:" => "huh.gif",
      
":geek:" => "geek.gif",
      
":look:" => "look.gif",
      
":rolleyes:" => "rolleyes.gif",
      
":kiss:" => "kiss.gif",
      
":shifty:" => "shifty.gif",
      
":blink:" => "blink.gif",
      
":smartass:" => "smartass.gif",
      
":sick:" => "sick.gif",
      
":crazy:" => "crazy.gif",
      
":wacko:" => "wacko.gif",
      
":alien:" => "alien.gif",
      
":wizard:" => "wizard.gif",
      
":wave:" => "wave.gif",
      
":wavecry:" => "wavecry.gif",
      
":baby:" => "baby.gif",
      
":angry:" => "angry.gif",
      
":ras:" => "ras.gif",
      
":sly:" => "sly.gif",
      
":devil:" => "devil.gif",
      
":evil:" => "evil.gif",
      
":evilmad:" => "evilmad.gif",
      
":sneaky:" => "sneaky.gif",
      
":axe:" => "axe.gif",
      
":slap:" => "slap.gif",
      
":wall:" => "wall.gif",
      
":rant:" => "rant.gif",
      
":jump:" => "jump.gif",
      
":yucky:" => "yucky.gif",
      
":nugget:" => "nugget.gif",
      
":smart:" => "smart.gif",
      
":shutup:" => "shutup.gif",
      
":shutup2:" => "shutup2.gif",
      
":crockett:" => "crockett.gif",
      
":zorro:" => "zorro.gif",
      
":snap:" => "snap.gif",
      
":beer:" => "beer.gif",
      
":beer2:" => "beer2.gif",
      
":drunk:" => "drunk.gif",
      
":strongbench:" => "strongbench.gif",
      
":weakbench:" => "weakbench.gif",
      
":dumbells:" => "dumbells.gif",
      
":music:" => "music.gif",
      
":stupid:" => "stupid.gif",
      
":dots:" => "dots.gif",
      
":offtopic:" => "offtopic.gif",
      
":spam:" => "spam.gif",
      
":oops:" => "oops.gif",
      
":lttd:" => "lttd.gif",
      
":please:" => "please.gif",
      
":sorry:" => "sorry.gif",
      
":hi:" => "hi.gif",
      
":yay:" => "yay.gif",
      
":cake:" => "cake.gif",
      
":hbd:" => "hbd.gif",
      
":band:" => "band.gif",
      
":punk:" => "punk.gif",
       
":rofl:" => "rofl.gif",
      
":bounce:" => "bounce.gif",
      
":mbounce:" => "mbounce.gif",
      
":thankyou:" => "thankyou.gif",
      
":gathering:" => "gathering.gif",
      
":hang:" => "hang.gif",
      
":chop:" => "chop.gif",
      
":rip:" => "rip.gif",
      
":whip:" => "whip.gif",
      
":judge:" => "judge.gif",
      
":chair:" => "chair.gif",
      
":tease:" => "tease.gif",
      
":box:" => "box.gif",
      
":boxing:" => "boxing.gif",
      
":guns:" => "guns.gif",
      
":shoot:" => "shoot.gif",
      
":shoot2:" => "shoot2.gif",
      
":flowers:" => "flowers.gif",
      
":wub:" => "wub.gif",
      
":lovers:" => "lovers.gif",
      
":kissing:" => "kissing.gif",
      
":kissing2:" => "kissing2.gif",
      
":console:" => "console.gif",
      
":group:" => "group.gif",
      
":hump:" => "hump.gif",
      
":hooray:" => "hooray.gif",
      
":happy2:" => "happy2.gif",
      
":clap:" => "clap.gif",
      
":clap2:" => "clap2.gif",
       
":weirdo:" => "weirdo.gif",
      
":yawn:" => "yawn.gif",
      
":bow:" => "bow.gif",
       
":dawgie:" => "dawgie.gif",
       
":cylon:" => "cylon.gif",
      
":book:" => "book.gif",
      
":fish:" => "fish.gif",
      
":mama:" => "mama.gif",
      
":pepsi:" => "pepsi.gif",
      
":medieval:" => "medieval.gif",
      
":rambo:" => "rambo.gif",
      
":ninja:" => "ninja.gif",
      
":hannibal:" => "hannibal.gif",
      
":party:" => "party.gif",
      
":snorkle:" => "snorkle.gif",
      
":evo:" => "evo.gif",
      
":king:" => "king.gif",
      
":chef:" => "chef.gif",
      
":mario:" => "mario.gif",
      
":pope:" => "pope.gif",
      
":fez:" => "fez.gif",
      
":cap:" => "cap.gif",
      
":cowboy:" => "cowboy.gif",
      
":pirate:" => "pirate.gif",
      
":pirate2:" => "pirate2.gif",
      
":rock:" => "rock.gif",
      
":cigar:" => "cigar.gif",
      
":icecream:" => "icecream.gif",
      
":oldtimer:" => "oldtimer.gif",
       
":trampoline:" => "trampoline.gif",
       
":banana:" => "bananadance.gif",
      
":smurf:" => "smurf.gif",
      
":yikes:" => "yikes.gif",
      
":osama:" => "osama.gif",
      
":saddam:" => "saddam.gif",
      
":santa:" => "santa.gif",
      
":indian:" => "indian.gif",
      
":pimp:" => "pimp.gif",
      
":nuke:" => "nuke.gif",
      
":jacko:" => "jacko.gif",
      
":ike:" => "ike.gif",
      
":greedy:" => "greedy.gif",
       
":super:" => "super.gif",
      
":wolverine:" => "wolverine.gif",
      
":spidey:" => "spidey.gif",
      
":spider:" => "spider.gif",
      
":bandana:" => "bandana.gif",
      
":construction:" => "construction.gif",
      
":sheep:" => "sheep.gif",
      
":police:" => "police.gif",
       
":detective:" => "detective.gif",
      
":bike:" => "bike.gif",
       
":fishing:" => "fishing.gif",
      
":clover:" => "clover.gif",
      
":horse:" => "horse.gif",
      
":shit:" => "shit.gif",
      
":soldiers:" => "soldiers.gif",
    );

    
$privatesmilies = array(
      
":)" => "smile1.gif",
    
//  ";)" => "wink.gif",
      
":wink:" => "wink.gif",
      
":D" => "grin.gif",
      
":P" => "tongue.gif",
      
":(" => "sad.gif",
      
":'(" => "cry.gif",
      
":|" => "noexpression.gif",
      
// "8)" => "cool1.gif",   we don't want this as a smilie...
      
":Boozer:" => "alcoholic.gif",
      
":deadhorse:" => "deadhorse.gif",
      
":spank:" => "spank.gif",
      
":yoji:" => "yoji.gif",
      
":locked:" => "locked.gif",
      
":grrr:" => "angry.gif",          // legacy
      
"O:-" => "innocent.gif",         // legacy
      
":sleeping:" => "sleeping.gif",   // legacy
      
"-_-" => "unsure.gif",         // legacy
      
":clown:" => "clown.gif",
      
":mml:" => "mml.gif",
      
":rtf:" => "rtf.gif",
      
":morepics:" => "morepics.gif",
      
":rb:" => "rb.gif",
      
":rblocked:" => "rblocked.gif",
      
":maxlocked:" => "maxlocked.gif",
      
":hslocked:" => "hslocked.gif",
    ); 

replace by

PHP Code:
 $smilies = array(
       
":-)" => "smile1.gif",
       
":smile:" => "smile2.gif",
       
":-D" => "grin.gif",
       
":lol:" => "laugh.gif",
       
":w00t:" => "w00t.gif",
       
":-P" => "tongue.gif",
       
";-)" => "wink.gif",
       
":-|" => "noexpression.gif",
       
":-/" => "confused.gif",
       
":-(" => "sad.gif",
       
":'-(" => "cry.gif",
       
":weep:" => "weep.gif",
       
":-O" => "ohmy.gif",
       
":o)" => "clown.gif",
       
"8-)" => "cool1.gif",
       
"|-)" => "sleeping.gif",
       
":innocent:" => "innocent.gif",
       
":whistle:" => "whistle.gif",
       
":unsure:" => "unsure.gif",
       
":closedeyes:" => "closedeyes.gif",
       
":cool:" => "cool2.gif",
       
":fun:" => "fun.gif",
       
":thumbsup:" => "thumbsup.gif",
       
":thumbsdown:" => "thumbsdown.gif",
       
":blush:" => "blush.gif",
       
":unsure:" => "unsure.gif",
       
":yes:" => "yes.gif",
       
":no:" => "no.gif",
       
":love:" => "love.gif",
       
":?:" => "question.gif",
       
":!:" => "excl.gif",
       
":idea:" => "idea.gif",
       
":arrow:" => "arrow.gif",
       
":arrow2:" => "arrow2.gif",
       
":hmm:" => "hmm.gif",
       
":hmmm:" => "hmmm.gif",
       
":huh:" => "huh.gif",
       
":geek:" => "geek.gif",
       
":look:" => "look.gif",
       
":rolleyes:" => "rolleyes.gif",
       
":kiss:" => "kiss.gif",
       
":shifty:" => "shifty.gif",
       
":blink:" => "blink.gif",
       
":smartass:" => "smartass.gif",
       
":sick:" => "sick.gif",
       
":crazy:" => "crazy.gif",
       
":wacko:" => "wacko.gif",
       
":alien:" => "alien.gif",
       
":wizard:" => "wizard.gif",
       
":wave:" => "wave.gif",
       
":wavecry:" => "wavecry.gif",
       
":baby:" => "baby.gif",
       
":angry:" => "angry.gif",
       
":ras:" => "ras.gif",
       
":sly:" => "sly.gif",
       
":devil:" => "devil.gif",
       
":evil:" => "evil.gif",
       
":evilmad:" => "evilmad.gif",
       
":sneaky:" => "sneaky.gif",
       
":axe:" => "axe.gif",
       
":slap:" => "slap.gif",
       
":wall:" => "wall.gif",
       
":rant:" => "rant.gif",
       
":jump:" => "jump.gif",
       
":yucky:" => "yucky.gif",
       
":nugget:" => "nugget.gif",
       
":smart:" => "smart.gif",
       
":shutup:" => "shutup.gif",
       
":shutup2:" => "shutup2.gif",
       
":crockett:" => "crockett.gif",
       
":zorro:" => "zorro.gif",
       
":snap:" => "snap.gif",
       
":beer:" => "beer.gif",
       
":beer2:" => "beer2.gif",
       
":drunk:" => "drunk.gif",
       
":strongbench:" => "strongbench.gif",
       
":weakbench:" => "weakbench.gif",
       
":dumbells:" => "dumbells.gif",
       
":music:" => "music.gif",
       
":stupid:" => "stupid.gif",
       
":dots:" => "dots.gif",
       
":offtopic:" => "offtopic.gif",
       
":spam:" => "spam.gif",
       
":oops:" => "oops.gif",
       
":lttd:" => "lttd.gif",
       
":please:" => "please.gif",
       
":sorry:" => "sorry.gif",
       
":hi:" => "hi.gif",
       
":yay:" => "yay.gif",
       
":cake:" => "cake.gif",
       
":hbd:" => "hbd.gif",
       
":band:" => "band.gif",
       
":punk:" => "punk.gif",
       
":rofl:" => "rofl.gif",
       
":bounce:" => "bounce.gif",
       
":mbounce:" => "mbounce.gif",
       
":thankyou:" => "thankyou.gif",
       
":gathering:" => "gathering.gif",
       
":hang:" => "hang.gif",
       
":chop:" => "chop.gif",
       
":rip:" => "rip.gif",
       
":whip:" => "whip.gif",
       
":judge:" => "judge.gif",
       
":chair:" => "chair.gif",
       
":tease:" => "tease.gif",
       
":box:" => "box.gif",
       
":boxing:" => "boxing.gif",
       
":guns:" => "guns.gif",
       
":shoot:" => "shoot.gif",
       
":shoot2:" => "shoot2.gif",
       
":flowers:" => "flowers.gif",
       
":wub:" => "wub.gif",
       
":lovers:" => "lovers.gif",
       
":kissing:" => "kissing.gif",
       
":kissing2:" => "kissing2.gif",
       
":console:" => "console.gif",
       
":group:" => "group.gif",
       
":hump:" => "hump.gif",
       
":hooray:" => "hooray.gif",
       
":happy2:" => "happy2.gif",
       
":clap:" => "clap.gif",
       
":clap2:" => "clap2.gif",
       
":weirdo:" => "weirdo.gif",
       
":yawn:" => "yawn.gif",
       
":bow:" => "bow.gif",
       
":dawgie:" => "dawgie.gif",
       
":cylon:" => "cylon.gif",
       
":book:" => "book.gif",
       
":fish:" => "fish.gif",
       
":mama:" => "mama.gif",
       
":pepsi:" => "pepsi.gif",
       
":medieval:" => "medieval.gif",
       
":rambo:" => "rambo.gif",
       
":ninja:" => "ninja.gif",
       
":hannibal:" => "hannibal.gif",
       
":party:" => "party.gif",
       
":snorkle:" => "snorkle.gif",
       
":evo:" => "evo.gif",
       
":king:" => "king.gif",
       
":chef:" => "chef.gif",
       
":mario:" => "mario.gif",
       
":pope:" => "pope.gif",
       
":fez:" => "fez.gif",
       
":cap:" => "cap.gif",
       
":cowboy:" => "cowboy.gif",
       
":pirate:" => "pirate.gif",
       
":pirate2:" => "pirate2.gif",
       
":rock:" => "rock.gif",
       
":cigar:" => "cigar.gif",
       
":icecream:" => "icecream.gif",
       
":oldtimer:" => "oldtimer.gif",
       
":trampoline:" => "trampoline.gif",
       
":banana:" => "bananadance.gif",
       
":smurf:" => "smurf.gif",
       
":yikes:" => "yikes.gif",
       
":osama:" => "osama.gif",
       
":saddam:" => "saddam.gif",
       
":santa:" => "santa.gif",
       
":indian:" => "indian.gif",
       
":pimp:" => "pimp.gif",
       
":nuke:" => "nuke.gif",
       
":jacko:" => "jacko.gif",
       
":ike:" => "ike.gif",
       
":greedy:" => "greedy.gif",
       
":super:" => "super.gif",
       
":wolverine:" => "wolverine.gif",
       
":spidey:" => "spidey.gif",
       
":spider:" => "spider.gif",
       
":bandana:" => "bandana.gif",
       
":construction:" => "construction.gif",
       
":sheep:" => "sheep.gif",
       
":police:" => "police.gif",
       
":detective:" => "detective.gif",
       
":bike:" => "bike.gif",
       
":fishing:" => "fishing.gif",
       
":clover:" => "clover.gif",
       
":horse:" => "horse.gif",
       
":shit:" => "shit.gif",
       
":soldiers:" => "soldiers.gif",
       
":pa60:" => "pa60.gif",
       
":dodo:" => "dodo.gif",
       
":ok:" => "ok.gif",
       
":yahoo:" => "yahoo.gif",
        
":bangin:" =>"bangin.gif",
        
":banana:" =>"banana.gif",
        
":banned:" =>"banned.gif",
        
":bedhump:"=>"bedhump.gif",
        
":blowup:"=>"blowup.gif",
        
":catfight:"=>"catfight.gif",
        
":chlocked:"=>"chlocked.gif",
        
":drive1:"=>"drive1.gif",
        
":drool:" =>"drool.gif",
        
":fans:" =>"fans.gif",
        
":help:"=> "help.gif",
        
":hug:" =>"hug.gif",
        
":huglove:" =>"huglove.gif",
        
":lazy:" =>"lazy.gif",
        
":lmfao:" =>"lmfao.gif",
        
":nono:" =>"nono.gif",
        
":patsak:" =>"patsak.gif",
        
":protest:" =>"protest.gif",
        
":yes2:" =>"yes2.gif",
        
":yu:" => "yu.gif",
        
":dog:" =>"dog.gif",
        
":fish2:" =>"fish2.gif",
        
":gslocked:" =>"gslocked.gif",
        
":helpsmilie:" =>"helpsmilie.gif",
        
":joker:" =>"joker.gif",
        
":pilot:" =>"pilot.gif",
        
":rap:" =>"rap.gif",
        
":respect:" =>"respect.gif",
        
":smirk:" =>"smirk.gif",
        
":train:" =>"train.gif",
        
":wank:" =>"wank.gif",
        
":welcome:" =>"welcome.gif",
        
":xmas:" =>"xmas.gif",
        
":yummy:" =>"yummy.gif",
        
":bananadance:"=>"bananadance.gif",
        
":flood:"=>"flood.gif",
        
":lock:" =>"lock.gif",
        
":read:" =>"read.gif",
        
":secret:" =>"secret.gif",
        
":snack:" =>"snack.gif",
        
":uber:" =>"uber.gif",
        
":wbounce:" =>"wbounce.gif",
        
":woh:" =>"woh.gif",
        
":freedownload:" =>"freedownload.gif",
        
":laugh2:" =>"laugh2.gif",
        
":fou1:" =>"fou1.gif",
        
":lips:" =>"lips.gif",
        
":heart:" =>"heart.gif",
    );

    
$privatesmilies = array(
      
":)" => "smile1.gif",
    
//  ";)" => "wink.gif",
      
":wink:" => "wink.gif",
      
":D" => "grin.gif",
      
":P" => "tongue.gif",
      
":(" => "sad.gif",
      
":'(" => "cry.gif",
      
":|" => "noexpression.gif",
      
// "8)" => "cool1.gif",   we don't want this as a smilie...
      
":Boozer:" => "alcoholic.gif",
      
":deadhorse:" => "deadhorse.gif",
      
":spank:" => "spank.gif",
      
":yoji:" => "yoji.gif",
      
":locked:" => "locked.gif",
      
":grrr:" => "angry.gif",          // legacy
      
"O:-" => "innocent.gif",         // legacy
      
":sleeping:" => "sleeping.gif",   // legacy
      
"-_-" => "unsure.gif",         // legacy
      
":clown:" => "clown.gif",
      
":mml:" => "mml.gif",
      
":rtf:" => "rtf.gif",
      
":morepics:" => "morepics.gif",
      
":rb:" => "rb.gif",
      
":rblocked:" => "rblocked.gif",
      
":maxlocked:" => "maxlocked.gif",
      
":hslocked:" => "hslocked.gif",
    ); 

in index.php were you whant to show add xblade fixed index on javascript

PHP Code:
?>
    <script type="text/javascript">
    <!--
    function bbshout(repdeb, repfin) {
      var input = document.forms['shbox'].elements['shbox_text'];
      input.focus();

      if(typeof document.selection != 'undefined') {

        var range = document.selection.createRange();
        var insText = range.text;
        range.text = repdeb + insText + repfin;

        range = document.selection.createRange();
        if (insText.length == 0) {
          range.move('character', -repfin.length);
        } else {
          range.moveStart('character', repdeb.length + insText.length + repfin.length);
        }
        range.select();
      }

      else if(typeof input.selectionStart != 'undefined')
      {

        var start = input.selectionStart;
        var end = input.selectionEnd;
        var insText = input.value.substring(start, end);
        input.value = input.value.substr(0, start) + repdeb + insText + repfin + input.value.substr(end);

        var pos;
        if (insText.length == 0) {
          pos = start + repdeb.length;
        } else {
          pos = start + repdeb.length + insText.length + repfin.length;
        }
        input.selectionStart = pos;
        input.selectionEnd = pos;
      }

      else
      {

        var pos;
        var re = new RegExp('^[0-9]{0,3}$');
        while(!re.test(pos)) {
          pos = prompt("Insertion à la position (0.." + input.value.length + "):", "0");
        }
        if(pos > input.value.length) {
          pos = input.value.length;
        }

        var insText = prompt("Veuillez entrer le texte à formater:");
        input.value = input.value.substr(0, pos) + repdeb + insText + repfin + input.value.substr(pos);
      }
    }

    function bbcolor() {
       var colorvalue = document.forms['shbox'].elements['color'].value;
       bbshout("[color="+colorvalue+"]", "[/color]");
    }

    function bbfont() {
       var fontvalue = document.forms['shbox'].elements['font'].value;
       bbshout("[font="+fontvalue+"]", "[/font]");
    }
    function bbsize() {
        var sizevalue = document.forms['shbox'].elements['size'].value;
        bbshout("[size="+sizevalue+"]", "[/size]");
    }
    function bbimg() {
        var imgvalue = document.forms['shbox'].elements['img'].value;
        bbshout("[img="+sizevalue+"]", "[/img]");
    }
    //-->
    </script>
    <script language=javascript>
    function SmileIT(smile,form,text){
       document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
       document.forms[form].elements[text].focus();
    }
    </script>
    <script LANGUAGE="JavaScript"><!--
    function mySubmit() {
       setTimeout('document.shbox.reset()',100);
    }
    function winop1()
    {
    windop1 = window.open("smilies2.php?form=<?=$form?>&text=<?=$text?>","mywin","height=400,width=400,resizable=yes,scrollbars=yes");
    }
    //--></SCRIPT>
    <?
    
function quickbbshout(){
    echo 
"<center><table border=0 cellpadding=0 cellspacing=2><tr>";
    echo 
"<tr>";
    echo 
"<td width=22><a href=\"javascript:bbshout('[b]', '[/b]')\"><img src=./pic/bold.png border=0 alt='Bold'></a></td>";
    echo 
"<td width=22><a href=\"javascript:bbshout('[i]', '[/i]')\"><img src=./pic/italic.png border=0 alt='Italic'></a></td>";
    echo 
"<td width=22><a href=\"javascript:bbshout('[u]', '[/u]')\"><img src=./pic/underline.png border=0 alt='Underline'></a></td>";
    echo 
"<td width=22><a href=\"javascript:bbshout('[url]', '[/url]')\"><img src=./pic/url.png border=0 alt='Url'></a></td>";
    echo 
"<td width=22><a href=\"javascript:bbshout('[img]', '[/img]')\"><img src=./pic/image.png border=0 alt='Img'></a></td>";
    echo 
"<td>
    <select name='color' size='0.5' onChange=\"javascript:bbcolor()\">
    <option selected='selected'>COLOR</option>
    <option value=skyblue style=color:skyblue>sky blue</option>
    <option value=royalblue style=color:royalblue>royal blue</option>
    <option value=blue style=color:blue>blue</option>
    <option value=darkblue style=color:darkblue>dark-blue</option>
    <option value=orange style=color:orange>orange</option>
    <option value=orangered style=color:orangered>orange-red</option>
    <option value=crimson style=color:crimson>crimson</option>
    <option value=red style=color:red>red</option>
    <option value=firebrick style=color:firebrick>firebrick</option>
    <option value=darkred style=color:darkred>dark red</option>
    <option value=green style=color:green>green</option>
    <option value=limegreen style=color:limegreen>limegreen</option>
    <option value=seagreen style=color:seagreen>sea-green</option>
    <option value=deeppink style=color:deeppink>deeppink</option>
    <option value=tomato style=color:tomato>tomato</option>
    <option value=coral style=color:coral>coral</option>
    <option value=purple style=color:purple>purple</option>
    <option value=indigo style=color:indigo>indigo</option>
    <option value=burlywood style=color:burlywood>burlywood</option>
    <option value=sandybrown style=color:sandybrown>sandy brown</option>
    <option value=sienna style=color:sienna>sienna</option>
    <option value=chocolate style=color:chocolate>chocolate</option>
    <option value=teal style=color:teal>teal</option>
    <option value=silver style=color:silver>silver</option>
    </select></td>"
;
    echo 
"<td>
    <select name='font' size='0.5' onChange=\"javascript:bbfont()\">
    <option selected='selected'>FONT</option>
    <option value=arial>Arial</option>
    <option value=comic sans ms>Comic</option>
    <option value=courier new>Courier New</option>
    <option value=tahoma>Tahoma</option>
    <option value=times new roman>Times New Roman</option>
    <option value=verdana>Verdana</option>
    </select></td>"
;
    echo 
"<td>
    <select name='size' size='0.5' onChange=\"javascript:bbsize()\">
    <option selected='selected'>Size</option>
    <option value=1>1</option>
    <option value=2>2</option>
    <option value=3>3</option>
    <option value=4>4</option>
    <option value=5>5</option>
    <option value=6>6</option>
    <option value=7>7</option>
    </select></td>"
;
    echo 
"</tr></table></center>";
    }
    
?>
    <?begin_frame("Shoutbox",true,5);?>
    <iframe src='./shoutbox.php' width='100%' height='300' align='center' frameborder='0' name='sbox' marginwidth='0' marginheight='0'></iframe><br><br>
    <form action='./shoutbox.php' method='get' target='sbox' name='shbox' onSubmit="mySubmit()">
    <p align="center">Message: <input type='text' name='shbox_text' size='80'> <input type='submit' class='btn' value=' Shout '>
    <input type='hidden' name='sent' value='yes'><br>
    <center><font size="1"><a href='./shoutbox.php' target='sbox'type="button" class='btn'>refresh</a><span class="smallfont">&nbsp;&nbsp;<a href='shoutbox.php?history=1' target='_blank'type="button" class='btn'>History</a>&nbsp;&nbsp;<a href="java script:winop1(); "type="button" class='btn' border: "1px solid gray" ><b>Clickables Smilies</b></a></center>
    <br>
    <?
    quickbbshout
();
    
?>
    <br>
    <center><a href="javascript: SmileIT(':-)','shbox','shbox_text')"><img border=0 src=pic/smilies/smile1.gif></a>
    <a href="javascript: SmileIT(':smile:','shbox','shbox_text')"><img border=0 src=pic/smilies/smile2.gif></a>
    <a href="javascript: SmileIT(':-D','shbox','shbox_text')"><img border=0 src=pic/smilies/grin.gif></a>
    <a href="javascript: SmileIT(':evo:','shbox','shbox_text')"><img src=pic/smilies/evo.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':-|','shbox','shbox_text')"><img border=0 src=pic/smilies/noexpression.gif></a>
    <a href="javascript: SmileIT(':-/','shbox','shbox_text')"><img border=0 src=pic/smilies/confused.gif></a>
    <a href="javascript: SmileIT(':-(','shbox','shbox_text')"><img border=0 src=pic/smilies/sad.gif></a>
    <a href="javascript: SmileIT(':weep:','shbox','shbox_text')"><img src=pic/smilies/weep.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':-O','shbox','shbox_text')"><img src=pic/smilies/ohmy.gif border=0></a>
    <a href="javascript: SmileIT('8-)','shbox','shbox_text')"><img src=pic/smilies/cool1.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':yawn:','shbox','shbox_text')"><img src=pic/smilies/yawn.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':sly:','shbox','shbox_text')"><img src=pic/smilies/sly.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':greedy:','shbox','shbox_text')"><img src=pic/smilies/greedy.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':weirdo:','shbox','shbox_text')"><img src=pic/smilies/weirdo.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':sneaky:','shbox','shbox_text')"><img src=pic/smilies/sneaky.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':kiss:','shbox','shbox_text')"><img src=pic/smilies/kiss.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':geek:','shbox','shbox_text')"><img src=pic/smilies/geek.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':evil:','shbox','shbox_text')"><img src=pic/smilies/evil.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':yucky:','shbox','shbox_text')"><img src=pic/smilies/yucky.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':shit:','shbox','shbox_text')"><img src=pic/smilies/shit.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':?:','shbox','shbox_text')"><img src=pic/smilies/question.gif width="18" height="18" border=0></a>
    <a href="javascript: SmileIT(':!:','shbox','shbox_text')"><img src=pic/smilies/idea.gif width="18" height="18" border=0></a></center>
    </td></form>
    <?end_frame();

up in your root shoutbox.php, silies2.php and ncode_imageresizer.js

in your database add

PHP Code:
CREATE TABLE shoutbox (
      
id smallint(6NOT NULL auto_increment,
      
userid smallint(6NOT NULL default '0',
      
username varchar(25NOT NULL default '',
      `
dateint(11NOT NULL default '0',
      `
texttext NOT NULL,
      
PRIMARY KEY  (id)
    ) 
ENGINE=MyISAM AUTO_INCREMENT=3540 DEFAULT CHARSET=latin1 AUTO_INCREMENT=3540
Attached Files
File Type: rar shoutbox.rar (779.1 KB, 317 views)
Reply With Quote
The Following User Says Thank You to wMan For This Useful Post:
kalwin (18th January 2012)
  #2  
Old 2nd September 2011, 02:03
lechatsauvage's Avatar
lechatsauvage lechatsauvage is offline
Member
 
Join Date: Mar 2010
P2P
Posts: 3
Default
Thank you! it works perfectly on my tracker.
__________________
www.Confuz3d.net
Reply With Quote
The Following User Says Thank You to lechatsauvage For This Useful Post:
xDev (14th January 2012)
  #3  
Old 18th January 2012, 17:58
kalwin's Avatar
kalwin kalwin is offline
Member
 
Join Date: Oct 2011
P2P
Posts: 1
Default
Click the image to open in full size.

it looks like this ?
Reply With Quote
  #4  
Old 22nd January 2012, 20:23
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 210
Default
Hey kalwin sorry for late answer. The mood is looks almost like that, see my screenshot below to see exactly how is looking.
Attached Thumbnails
shot.JPG  
__________________
only me
Reply With Quote
  #5  
Old 1st March 2012, 00:04
techys's Avatar
techys techys is offline
Member
 
Join Date: Feb 2012
P2P
Posts: 12
Default hello
How i can add the clickable smileys ? i use torrentstrike fully modded
Reply With Quote
  #6  
Old 26th July 2013, 12:35
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
you mean like this
Attached Thumbnails
hello.png  
Reply With Quote
Reply

Tags
shoutbox

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 12:14. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.