Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-08-2000 Last Update: Never Installs: 0
 
No support by the author.

Hello,

Wondring how to add the "instant smilies" and "instant vb code" in my forums when the user is posting a new topic?
Like in "OpenTopic" from infopop.com

Any help is appreciated

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-13-2000, 03:35 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #13  
Old 10-13-2000, 04:57 AM
Guest
 
Posts: n/a
Default

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!
Reply With Quote
  #14  
Old 10-13-2000, 05:53 PM
Guest
 
Posts: n/a
Default

Excellent work! Thanks guys - i'm sure our visitors will love this I've added it to our site already
Reply With Quote
  #15  
Old 10-21-2000, 09:18 PM
Guest
 
Posts: n/a
Default

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>?
Reply With Quote
  #16  
Old 10-28-2000, 12:58 PM
Guest
 
Posts: n/a
Default

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...
Reply With Quote
  #17  
Old 10-28-2000, 05:47 PM
Guest
 
Posts: n/a
Default

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 ?
Reply With Quote
  #18  
Old 10-28-2000, 05:51 PM
Guest
 
Posts: n/a
Default

I just did that again, and uploaded a copy of the results to:

http://www.ten-tenths.com/forum/newpost1.html
Reply With Quote
  #19  
Old 10-28-2000, 08:58 PM
Guest
 
Posts: n/a
Default

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...
Reply With Quote
  #20  
Old 10-28-2000, 09:12 PM
Guest
 
Posts: n/a
Default

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...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04799 seconds
  • Memory Usage 2,266KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete