vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: 'Laugh' & 'Huh?' Smileys - View Topic (Page 3 of 3)Page: 1 2 3
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:38pm UTC)
{Tongue Out} Taking out the smileys that show up? what about the No0bs (No offense to em) what if they dont know and are lazy to figure it out them selves, Ive seen many people like that {Unsure}
Luke
Junior Member
**

[Avatar]
"It costs nothing to pass on knowledge, but the rewards are massive." - All Seeing Eyes

Posts: 96
Status: Offline
Gender: Male
Location: vForums
Joined:  
Reputation: 0%  


pmwww
Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:44pm UTC)
Well, to bad for those noobs... If they want it so badley, they should take the time to fill it out. {Wink}

http://vzerohost.com/


Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:45pm UTC)
 
Easy way to fix that is just... Uhhh self explanitory...

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /*
  4. Smileys with quick reply - global footers
  5.  
  6. Created by Peter
  7.  
  8. This code cannot be reposted at anywhere other than SSDesigns or ProBoards, without permission.
  9.  
  10. This header must stay intact at all times.
  11. */
  12.  
  13. // Base url for the smileys folder
  14. var sBaseImg = "http://www.4d5.net/v4images/";
  15.  
  16. // List of smileys - [SMILEY FILE, CODE, TITLE]
  17. var iSmileys = [     ["smiley.gif", ":)", "Smiley"],
  18.     ["wink.gif", ";)", "Wink"],
  19.     ["cheesy.gif","  ","Cheesy"],  
  20.     ["grin.gif", ";D", "Grin"],
  21.     ["angry.gif", ">:(", "Angry"],
  22.     ["sad.gif", ":(", "Sad"],
  23.     ["shocked.gif", ":o", "Shocked"],
  24.     ["cool.gif", "8-)", "Cool"],
  25.     ["rolleyes.gif", "::)", "Roll Eyes"],
  26.     ["tongue.gif", " ", "Tongue"],
  27.     ["embarassed.gif", ":-[", "Embarassed"],
  28.     ["lipsrsealed.gif", " ", "Lips Sealed"],
  29.     ["undecided.gif", " ", "Undecided"],
  30.     ["kiss.gif", " ", "Kiss"],
  31.     ["cry.gif", ":'(", "Cry"]
  32. ];
  33.  
  34. var iTable = document.getElementsByTagName("table");
  35.  
  36. function addSmiley(smiley){
  37.     var isIE = (document.all)? true : false;
  38.     var mArea = document.getElementById("qrform").message;
  39.     if(isIE){
  40.        mArea.focus();
  41.        var iCurSelect = document.selection.createRange();
  42.        iCurSelect.text = smiley + iCurSelect.text
  43.     } else if(!isIE){
  44.        var selStart = mArea.value.substr(0, mArea.selectionStart);
  45.        var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length);
  46.        var curSelection = mArea.value.replace(selStart, '').replace(selEnd, '');
  47.        mArea.value = selStart + smiley + curSelection + selEnd;
  48.     } else {
  49.        mArea.value += smiley;
  50.     }
  51.     mArea.focus();
  52. }
  53.  
  54. for(t = 0; t < iTable.length; t ++){
  55.     var iBR = document.createElement("br");
  56.     if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){
  57.        var iMCell = iTable.item(t).rows.item(1).cells.item(0);
  58.        iTable.item(t).getElementsByTagName("form").item(0).id = "qrform";
  59.        iMCell.insertBefore(iBR, iMCell.firstChild);
  60.        iSmileys.reverse();
  61.        for(s = 0; s < iSmileys.length; s ++){
  62.           var sLink = document.createElement("a");
  63.           var sImg = document.createElement("img");
  64.  
  65.           sImg.border = "0";
  66.           sImg.src = sBaseImg + iSmileys[s][0];
  67.           sImg.title = iSmileys[s][2];
  68.           sLink.href = "javascript: addSmiley(" " + iSmileys[s][1] + "")";
  69.           sLink.appendChild(sImg);
  70.  
  71.           iMCell.insertBefore(sLink, iMCell.firstChild);
  72.           iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild);
  73.        }
  74.     }
  75. }
  76.  
  77. //-->
  78. </script>
 


I still think it would be much easier to just center them. {Unsure}

rroll.to— Shorten a link, rickroll your friends.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 2:16pm UTC)
How does that look now?

Image
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 40
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 3:19pm UTC)
They look a bit squashed for me {Unsure} Would it depend on the screen res/browser how they look?

I don't mind how they look too much as long as they work.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 3:45pm UTC)
Firefox didn't seam to like the way they were done {Sad} Are they looking OK now?

Image
BizzD
Full Member
***

Posts: 306
Status: Offline
Gender: Male
Location: Washington
Joined:  
Reputation: 0%  


pm
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 4:45pm UTC)
I see they are all spread out though they all have some cut off except {Confused}
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 7:05pm UTC)
Are they showing OK now? I was so worried about getting them right in firefox I went and messed them up in IE instead {Lips Sealed}

Image
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 40
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 11:06pm UTC)
Looks fine in both for me {Smile}
BizzD
Full Member
***

Posts: 306
Status: Offline
Gender: Male
Location: Washington
Joined:  
Reputation: 0%  


pm
Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 11:52pm UTC)
 
Are they showing OK now? I was so worried about getting them right in firefox I went and messed them up in IE instead {Lips Sealed}


Perfect. {Smile}
 Printable View
Page: 1 2 3

All times are GMT+0 :: The current time is 8:25pm
Page generated in 0.6125 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums