The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
Thanks for sharing it MrBlunt,
The javascript links gave me an error though !! --------------- Windows Scripting Host - Script Execution Error Description: Syntax error ------------- What do I have to do with those files?!! Thanks again |
#13
|
|||
|
|||
I like the part on the URL JavaScript Prompt, it asks you what URL you would like to link to... "For Instance, if you are linking to the URL of infopop, you might use the title Infopop Homepage"
Seriously tho, i really like what you did, good work! |
#14
|
|||
|
|||
Excellent work! Thanks guys - i'm sure our visitors will love this I've added it to our site already
|
#15
|
|||
|
|||
OK, i've run into a problem - maybe it's just that i've been sat in front of this damned PC for the past 18 hours... ?
I have had this running just fine, then I decided to add some more smilies - larger ones, but I run into a problem in that no matter what I do, the damned thing doesn't want to know when I put the larger ones in the system and it throws a wobbly! Anyone see what i've done wrong (the new additions are the last two..) Code:
<A HREF="javascript: x()" onClick="AddSmilie(' :D ');"><IMG SRC="images/smilies/biggrin.gif" width=15 height=15 BORDER="0" ALT="Big Grin"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :) ');"><IMG SRC="images/smilies/smile.gif" width=15 height=15 width=15 height=15 BORDER="0" ALT="Smile"></A> <A HREF="javascript: x()" onClick="AddSmilie(' ;) ');"><IMG SRC="images/smilies/wink.gif" width=15 height=15 BORDER="0" ALT="Wink"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :( ');"><IMG SRC="images/smilies/frown.gif" width=15 height=15 BORDER="0" ALT="Frown"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :o ');"><IMG SRC="images/smilies/redface.gif" width=15 height=15 BORDER="0" ALT="Embarrasment"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :p ');"><IMG SRC="images/smilies/tongue.gif" width=15 height=15 BORDER="0" ALT="Stick Out Tongue"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :eek: ');"><IMG SRC="images/smilies/eek.gif" width=15 height=15 BORDER="0" ALT="Eek!"></A> <A HREF="javascript: x()" onClick="AddSmilie(' :cool: ');"><IMG SRC="images/smilies/cool.gif" width=15 height=15 BORDER="0" ALT="Cool"></A> <A HREF="javascript: x()" onClick="AddSmilie(' :mad: ');"><IMG SRC="images/smilies/mad.gif" width=15 height=15 BORDER="0" ALT="Mad"></A> <A HREF="javascript: x()" onClick="AddSmilie(' :rotate: ');"><IMG SRC="images/smilies/rotate.gif" width=15 height=15 BORDER="0" ALT="Rotate"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :laugh: ');"><IMG SRC="images/smilies/laugh.gif" width=15 height=15 BORDER="0" ALT="Laugh"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :rolleyes: ');"><IMG SRC="images/smilies/rolleyes.gif" width=15 height=15 BORDER="0" ALT="Roll Eyes (sarcastic)"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :dunce: ');"><IMG SRC="images/smilies/dunce.gif" width=15 height=26 BORDER="0" ALT="Dunce"></A>? <A HREF="javascript: x()" onClick="AddSmilie(' :angel: ');"><IMG SRC="images/smilies/angel.gif" width=42 height=23 BORDER="0" ALT="Angel"></A>? |
#16
|
|||
|
|||
That's what I thought...
Anyway, with the last two smilies on the above list: http://www.ten-tenths.com/forum/newpost.html Without: http://www.ten-tenths.com/forum/newt...read&forumid=1 All help appreciated... |
#17
|
|||
|
|||
Yep - tried removing the brackets. Also tried moving the offending images to the head of the list - both without success. Bit of a mystery, isn't it ?
|
#18
|
|||
|
|||
I just did that again, and uploaded a copy of the results to:
http://www.ten-tenths.com/forum/newpost1.html |
#19
|
|||
|
|||
Thanks, Mr B, but that didn't work either I copied the code directly from the file linked above, and the same result occurs Weird how it works on your site though!
Looks like i'm stuck without those smilies then... |
#20
|
|||
|
|||
Right! After some amount of trial and error, I realised my mistake... it wasn't the fault of the Javascript at all.
One of the first things that I did when I installed vBulletin was to go through and add the width and height attributes to all the image tags. All smilies were set to 15 pixels x 15 pixels by hardcoding it into the relevant template. Now, in order to add larger smilies, I made use of the replacement variables section. This allowed me to add the smilies - with the width and height attributes. This worked fine - until now. Obviously, when the system does the replacements, it is now replacing the :dunce: in the Javascript with the replacement text specified elsewhere. So, as I saiid above, it looks like i'm stuck without these larger smilies That is, unless John sees fit to modify the smilies table in the database in the next release so that it includes width and height attributes... Sorry for wasting your time, Mr B, and thanks for the help... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|