![]() |
Not much of a hack, this one... and it only works in IE4+ and the very latest of the other browsers.
Basically, it stops the animated smilies in the clickable list from halting their animation cycle after you click one. Very simple really... change the vbcode_smiliebit template from this: Code:
<a href="javascript:smilie('$smilie[smilietext]')"><img src="$smilie[smiliepath]" alt="$smilie[title]" border="0"></a> Code:
<img src="$smilie[smiliepath]" alt="$smilie[title]" border="0" |
hey this is really cool kier, installing it now, thx!
|
Good :)
It works :D Thx ! |
Thanks, Kier. :)
|
thanks
|
Big Thx @Kier!
One small addon: You also should fix the "Smilies List Popup" (misc.php?action=getsmilies&s=) To do that, change the vbcode_popup_smiliesbits template from this: Code:
<td bgcolor="$backcolor"><a href="javascript:opener.smilie('$smilie[text]')"><img src="$smilie[path]" border="0" alt="$smilie[title]"></a></td> Code:
<td bgcolor="$backcolor"><img src="$smilie[path]" border="0" alt="$smilie[title]" |
I've applied both of these template mods and they are great. However, one little thing...and I mean really little...When you click the link that says "Get More," the smilies there still do stop animating. Could someone tell us how to fix that, too? :)
|
Quote:
However, to do this you have to change the Template vbcode_smilies_getmore Search: Code:
<a href="javascript:opensmiliewindow(240,280,'$session[sessionhash]')"> Code:
<a href="misc.php?action=getsmilies&s=$session[sessionhash]" target="_blank"> Ok, the solution of Kier is of course much better, so please ignore (or delete @Mods) this Posting. |
Edit the vbcode_smilies_getmore template to this:
Code:
<a href="javascript:opensmiliewindow(240,280,'$session[sessionhash]')">Get More</a> Code:
<span onmouseover="this.style.cursor='hand';" onclick="opensmiliewindow(240,280,'$session[sessionhash]');"> |
Great hack!! Installing now!
|
Cool...how can I make it so the Get more link is the same color as all other links though?
|
In the template vbcode_smilies_getmore where it says "Get More", change it to <font color="xx">Get More</font>, where xx is the color, either by name (white) or by hex code (#FFFFFF), or by using the variable for the link color set through the Styles part of the admin cp (that's { linkcolor } without the spaces inside the curly brackets).
|
Quote:
|
Worked like a charme. Thanks been looking for htis one.
|
the get more fix does not work
|
kewl just fixed all my problems
Only thing i have noticed is the get more smile box does not stay on top after you click the smile. I know its only a matter of clicking on it to bring it to the top but is there anyway to keep it on top like before?? Hot Dogg get more fix works on my 2.2.4 forum Beams :D |
so when you click on the smilie, the animation should stop as well?
is there a way to make it so that there is no animation at all? |
Quote:
|
the getmore still dont work for me!
|
Fantastic! No freezes anywhere!
|
Great hack thanks!!! That had been really bugging me.
The Get More works fine for me on 2.2.9 |
Quote:
|
Thiz iz a template mod :|
|
Quote:
|
Kier presents an interesting workaround, but another solution is to change what is considered deprecated javascript...
Code:
<a href="javascript:smilie('$smilie[smilietext]')"> Code:
<a href="#" onclick="smilie('$smilie[smilietext]');return false"> I read about it here: http://www.experts-exchange.com/Web/..._20308449.html |
works fine :D
thx dudes |
All times are GMT. The time now is 02:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|