Results 1 to 3 of 3

Thread: Quick Smileys

  
  1. #1
    .:BioHazard:. is offline Senior Member -Hacks Guru
    Join Date
    Aug 2006
    Location
    Sweden
    Posts
    1,561
    Rep Power
    14

    Default Quick Smileys

    Okay as some of you might know I made this script ( http://www.psp-hacks.com/forums/f123...reply-t248542/ ) for smileys over over the quick reply box just like in the old days with PunBB but that also got me thinking. Wouldn't it be better if some admin implemented this into the actually forum code, sure my script works but in 2-3weeks no one will visit that thread laying way back in chat sections and only those who installed the script when the thread were new will have the script and it wouldn't require people to have a browser/extension which supports user/greasemonkey scripts and user wouldn't need to install anything.

    So my suggestion is to put custom smileys into the actual site. I've never used or written anything for vBulletin but I would be glad to help writing it if you wanted otherwise it should be to just insert into the page what my script inserts to the page

    Code:
    <script type="text/javascript">
    function insertText(text) {
        document.getElementById("vB_Editor_QR_textarea").value+=text;
    }
    </script>
    
    <div id="customsmileys" class="vBulletin_editor">
    	<a onclick="javascript:insertText(\':mrgreen:\');"><img src="images/smilies/mrgreen.png" /></a>
    	<a onclick="javascript:insertText(\':blush:\');"><img src="images/smilies/blush.png" /></a>
    	<a onclick="javascript:insertText(\':sigh:\');"><img src="images/smilies/sigh.png" /></a>
    	<a onclick="javascript:insertText(\':bucktooth:\');"><img src="images/smilies/bucktooth.png" /></a>
    	<a onclick="javascript:insertText(\':(\');"><img src="images/smilies/sad.png" /></a>
    	<a onclick="javascript:insertText(\':o\');"><img src="images/smilies/yikes.png" /></a>
    	<a onclick="javascript:insertText(\':cool:\');"><img src="images/smilies/cool.png" /></a>
    	<a onclick="javascript:insertText(\':rolleyes:\');"><img src="images/smilies/roll.png" /></a>
    	<a onclick="javascript:insertText(\';)\');"><img src="images/smilies/wink.png" /></a>
    	<a onclick="javascript:insertText(\':\\\'(\');"><img src="images/smilies/cry.png" /></a>
    	<a onclick="javascript:insertText(\':puke:\');"><img src="images/smilies/pukegreenku9.png" /></a>
    	<a onclick="javascript:insertText(\':twothumbs:\');"><img src="images/smilies/twothumbs.png" /></a>
    	<a onclick="javascript:insertText(\':evil:\');"><img src="images/smilies/evil.png" /></a>
    	<a onclick="javascript:insertText(\':posessed:\');"><img src="images/smilies/posessed.png" /></a>
    	<a onclick="javascript:insertText(\':twisted:\');"><img src="images/smilies/twisted.png" /></a>
    	<a onclick="javascript:insertText(\':?\');"><img src="images/smilies/hmm.png" /></a>
    	<a onclick="javascript:insertText(\':paranoid:\');"><img src="images/smilies/paranoid.png" /></a>
    	<a onclick="javascript:insertText(\':P\');"><img src="images/smilies/tongue.png" /></a>
    	<a onclick="javascript:insertText(\':idea:\');"><img src="images/smilies/idea.png" /></a>
    	<a onclick="javascript:insertText(\':|\');"><img src="images/smilies/neutral.png" /></a>
    	<a onclick="javascript:insertText(\':suprised:\');"><img src="images/smilies/surprise.png" /></a>
    	<a onclick="javascript:insertText(\':lol:\');"><img src="images/smilies/lol.png" /></a>
    	<a onclick="javascript:insertText(\':mrgreenthumbsup:\');"><img src="images/smilies/mrgreenthumbsup.png" /></a>
    	<a onclick="javascript:insertText(\':)\');"><img src="images/smilies/smile.png" /></a>
    	<a onclick="javascript:insertText(\':@\');"><img src="images/smilies/mad.png" /></a>
    	<a onclick="javascript:insertText(\':D\');"><img src="images/smilies/big_smile.png" /></a>
    	<a onclick="javascript:insertText(\':sleep:\');"><img src="images/smilies/sleep.png" /></a>
    	<a onclick="javascript:insertText(\':lol2:\');"><img src="images/smilies/lol2.png" /></a>
    	<br />
    	<a onclick="javascript:insertText(\':eng:\');"><img src="http://img29.imageshack.us/img29/2671/english.gif" /></a>
    	<a onclick="javascript:insertText(\':qtf2:\');"><img src="http://img35.imageshack.us/img35/9697/qft2.gif" /></a>
    	<a onclick="javascript:insertText(\':yeahthat:\');"><img src="images/smilies/yeahthat.png" /></a>
    </div>

    Now I really am BioHazard

    Spoiler:
    Satan is throwing a tea party in hell and you're all invited

  2. #2
    theEvilOne is offline Gone fishin -Hacks Titan
    Join Date
    Dec 2007
    Location
    The Endless Graveyard
    Posts
    5,026
    Rep Power
    0

    Default

    Sounds good to me.

  3. #3
    chAosDaJuggalo's Avatar
    chAosDaJuggalo is offline -Hacks Ninja
    Join Date
    May 2009
    Location
    Your moms house
    Posts
    665
    Rep Power
    11

    Default

    hey, thats pretty cool! If i had a says so, id add the script to the site.
    Last edited by chAosDaJuggalo; 10-20-2009 at 05:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •