vForums Support > vForums :: Report a Bug :: Resolved Bugs :: > 'Laugh' & 'Huh?' Smileys

'Laugh' & 'Huh?' Smileys - Posted By miss orif (clobopallymad) on 9th Dec 07 at 8:25pm
On quick reply the 'Laugh' smilies is all on it's own and is partly cut off at the end.

When you post the 'Huh?' smiley ( {Confused} ) is goes out of the line.

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 9th Dec 07 at 9:16pm
 
On quick reply the 'Laugh' smilies is all on it's own and is partly cut off at the end.


It's not for me, what browser are you using?

Re: 'Laugh' & 'Huh?' Smileys - Posted By Tyson (Fithad) on 9th Dec 07 at 9:20pm
It could also be resolution {Wink} But that doesn't explain the cut off, only that they appear on another line.

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:36pm
It is actualy is in Quick Reply.Some is cut off.

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 9th Dec 07 at 9:37pm
 
It is actualy is in Quick Reply.Some is cut off.


Take a screenshot? {Smile}

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:39pm
http://i7.tinypic.com/6t4q8hu.jpg

Re: 'Laugh' & 'Huh?' Smileys - Posted By Tyson (Fithad) on 9th Dec 07 at 9:40pm
Hmm... could it be a browser issue.

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:41pm
Possibly. Now i get this: An unknown error has occured. Please contact our support forum (Log ID: 1197236390) When i attempt to modify my post. {Unsure}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 9th Dec 07 at 9:41pm
It seems to be an IE issue, as i tried it in IE and FF, and it only seems to be like that in IE.

EDIT: Seems ok in Safari.

Re: 'Laugh' & 'Huh?' Smileys - Posted By Tyson (Fithad) on 9th Dec 07 at 9:42pm
Yeah, I'm getting that when I try to update my skin images.
Except mine is: Log ID: 1197236503

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:43pm
Hm...well i can live with.I think. {Wink}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 9th Dec 07 at 9:44pm
I don't think it's a massive problem, but it is an annoyance. I got one after modifying my post which is odd {Unsure}

Ross will be on it.

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:45pm
Yup. You can count on Ross. {Grin}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Tyson (Fithad) on 9th Dec 07 at 9:48pm
Well it's definitely a problem for me... I can't even make any changes without getting the error... I'm currently waiting for it to be fixed because it won't allow me to save.

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 9th Dec 07 at 9:50pm
Oh, well hang in there.I'm sure it will be fixed soon. {Smile}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 1:14am
It's you screen resolution, I use IE7 and it looks fine for me...

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 10th Dec 07 at 1:17am
Me to lazy to change.

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 1:21am
I wouldn't do it I if I were you, I don't get whats the big deal, it's a icon! {Tongue Out}

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 10th Dec 07 at 1:24am
Yea and it just takes a little of the mouth so, i just going to leave it.

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 1:35am
Not when you post it... It's this one right? {Cheesy}
I bet it's in a table... Ask Ross to increase the size of it if u bothers you that much. {Rolleyes}

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 10th Dec 07 at 1:36am
Only in the smileys on the left side of Quick Reply.

Yes thats the one. {Cheesy}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 1:40am
I know, you posted a image of it... Just ignore it. It's not that big of a deal... {Cheesy}

Re: 'Laugh' & 'Huh?' Smileys - Posted By miss orif (clobopallymad) on 10th Dec 07 at 5:21pm
I know it's not a big deal but it could be and it's sorted anyway. {Grin}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 8:15pm
I wonder who fixed it... {Rolleyes}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Nick (nickb) on 10th Dec 07 at 8:17pm
There all smooshed now, they should be spaced evenly. or make it above the QR, like that one code does on PB.

EDIT: just like this code that peter made:

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 = [
  18.     ["smiley.gif", ":)", "Smiley"],
  19.     ["wink.gif", ";)", "Wink"],
  20.     ["cheesy.gif"," :D","Cheesy"],  
  21.     ["grin.gif", ";D", "Grin"],
  22.     ["angry.gif", ">:(", "Angry"],
  23.     ["sad.gif", ":(", "Sad"],
  24.     ["shocked.gif", ":o", "Shocked"],
  25.     ["cool.gif", "8-)", "Cool"],
  26.     ["rolleyes.gif", "::)", "Roll Eyes"],
  27.     ["tongue.gif", ":P", "Tongue"],
  28.     ["embarassed.gif", ":-[", "Embarassed"],
  29.     ["lipsrsealed.gif", ":-X", "Lips Sealed"],
  30.     ["undecided.gif", ":-/", "Undecided"],
  31.     ["kiss.gif", ":-*", "Kiss"],
  32.     ["cry.gif", ":'(", "Cry"]
  33. ];
  34.  
  35. var iTable = document.getElementsByTagName("table");
  36.  
  37. function addSmiley(smiley){
  38.     var isIE = (document.all)? true : false;
  39.     var mArea = document.getElementById("qrform").message;
  40.     if(isIE){
  41.        mArea.focus();
  42.        var iCurSelect = document.selection.createRange();
  43.        iCurSelect.text = smiley + iCurSelect.text
  44.     } else if(!isIE){
  45.        var selStart = mArea.value.substr(0, mArea.selectionStart);
  46.        var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length);
  47.        var curSelection = mArea.value.replace(selStart, '').replace(selEnd, '');
  48.        mArea.value = selStart + smiley + curSelection + selEnd;
  49.     } else {
  50.        mArea.value += smiley;
  51.     }
  52.     mArea.focus();
  53. }
  54.  
  55. for(t = 0; t < iTable.length; t ++){
  56.     var iBR = document.createElement("br");
  57.     if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){
  58.        var iMCell = iTable.item(t).rows.item(1).cells.item(0);
  59.        iTable.item(t).getElementsByTagName("form").item(0).id = "qrform";
  60.        iMCell.insertBefore(iBR, iMCell.firstChild);
  61.        iSmileys.reverse();
  62.        for(s = 0; s < iSmileys.length; s ++){
  63.           var sLink = document.createElement("a");
  64.           var sImg = document.createElement("img");
  65.  
  66.           sImg.border = "0";
  67.           sImg.src = sBaseImg + iSmileys[s][0];
  68.           sImg.title = iSmileys[s][2];
  69.           sLink.href = "javascript: addSmiley(\" " + iSmileys[s][1] + "\")";
  70.           sLink.appendChild(sImg);
  71.  
  72.           iMCell.insertBefore(sLink, iMCell.firstChild);
  73.           iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild);
  74.        }
  75.     }
  76. }
  77.  
  78. //-->
  79. </script>
 


Re: 'Laugh' & 'Huh?' Smileys - Posted By Marc (cr0w) on 10th Dec 07 at 8:18pm
 
There all smooshed now, they should be spaced evenly. or make it above the QR, like that one code does on PB.


Not spaced evenly, just centered. {Smile}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 8:20pm
It looks fine for me... They can be centered... (Easy add-on Ross...)

Re: 'Laugh' & 'Huh?' Smileys - Posted By Jason (frufru) on 10th Dec 07 at 8:24pm
 
There all smooshed now, they should be spaced evenly. or make it above the QR, like that one code does on PB.

EDIT: just like this code that peter made:

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 = [
  18.     ["smiley.gif", ":)", "Smiley"],
  19.     ["wink.gif", ";)", "Wink"],
  20.     ["cheesy.gif"," :D","Cheesy"],  
  21.     ["grin.gif", ";D", "Grin"],
  22.     ["angry.gif", ">:(", "Angry"],
  23.     ["sad.gif", ":(", "Sad"],
  24.     ["shocked.gif", ":o", "Shocked"],
  25.     ["cool.gif", "8-)", "Cool"],
  26.     ["rolleyes.gif", "::)", "Roll Eyes"],
  27.     ["tongue.gif", ":P", "Tongue"],
  28.     ["embarassed.gif", ":-[", "Embarassed"],
  29.     ["lipsrsealed.gif", ":-X", "Lips Sealed"],
  30.     ["undecided.gif", ":-/", "Undecided"],
  31.     ["kiss.gif", ":-*", "Kiss"],
  32.     ["cry.gif", ":'(", "Cry"]
  33. ];
  34.  
  35. var iTable = document.getElementsByTagName("table");
  36.  
  37. function addSmiley(smiley){
  38.     var isIE = (document.all)? true : false;
  39.     var mArea = document.getElementById("qrform").message;
  40.     if(isIE){
  41.        mArea.focus();
  42.        var iCurSelect = document.selection.createRange();
  43.        iCurSelect.text = smiley + iCurSelect.text
  44.     } else if(!isIE){
  45.        var selStart = mArea.value.substr(0, mArea.selectionStart);
  46.        var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length);
  47.        var curSelection = mArea.value.replace(selStart, '').replace(selEnd, '');
  48.        mArea.value = selStart + smiley + curSelection + selEnd;
  49.     } else {
  50.        mArea.value += smiley;
  51.     }
  52.     mArea.focus();
  53. }
  54.  
  55. for(t = 0; t < iTable.length; t ++){
  56.     var iBR = document.createElement("br");
  57.     if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){
  58.        var iMCell = iTable.item(t).rows.item(1).cells.item(0);
  59.        iTable.item(t).getElementsByTagName("form").item(0).id = "qrform";
  60.        iMCell.insertBefore(iBR, iMCell.firstChild);
  61.        iSmileys.reverse();
  62.        for(s = 0; s < iSmileys.length; s ++){
  63.           var sLink = document.createElement("a");
  64.           var sImg = document.createElement("img");
  65.  
  66.           sImg.border = "0";
  67.           sImg.src = sBaseImg + iSmileys[s][0];
  68.           sImg.title = iSmileys[s][2];
  69.           sLink.href = "javascript: addSmiley(" " + iSmileys[s][1] + "")";
  70.           sLink.appendChild(sImg);
  71.  
  72.           iMCell.insertBefore(sLink, iMCell.firstChild);
  73.           iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild);
  74.        }
  75.     }
  76. }
  77.  
  78. //-->
  79. </script>
 



well... it looks like smileys still parse in the code tags {Tongue Out}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Nick (nickb) on 10th Dec 07 at 8:25pm
{Tongue Out} they needs to be fixed to. I discovered a BUG ^_^ (Unless it was already known.)

Re: 'Laugh' & 'Huh?' Smileys - Posted By Luke (Zero) on 10th Dec 07 at 8:27pm
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>
 

Re: 'Laugh' & 'Huh?' Smileys - Posted By Nick (nickb) on 10th Dec 07 at 8:38pm
{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}

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

Re: 'Laugh' & 'Huh?' Smileys - Posted By Marc (cr0w) on 10th Dec 07 at 8:45pm
 
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}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Ross (admin) on 13th Dec 07 at 2:16pm
How does that look now?

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 13th Dec 07 at 3:19pm
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.

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

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 13th Dec 07 at 4:45pm
I see they are all spread out though they all have some cut off except {Confused}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Ross (admin) on 13th Dec 07 at 7:05pm
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}

Re: 'Laugh' & 'Huh?' Smileys - Posted By Graham (amusedtodeath) on 13th Dec 07 at 11:06pm
Looks fine in both for me {Smile}

Re: 'Laugh' & 'Huh?' Smileys - Posted By BizzD (0wnzer) on 13th Dec 07 at 11:52pm
 
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}