Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Multiple Options in Custom BBCode Details »»
Multiple Options in Custom BBCode
Version: 1.01, by Zamurick X Zamurick X is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.2 Rating:
Released: 08-29-2008 Last Update: 08-29-2008 Installs: 15
Uses Plugins
Re-useable Code Translations Is in Beta Stage  
No support by the author.

The first thing you should know is that I didn't write this from scratch, I updated a lot of Andreas' Multiple Option BBCode mod, which is vBulletin 3.5 only.

This allows you to use multiple {option} variables in your custom BBCode via {option1}, {option2}, {option3}, etc.. When setting the custom BBCode example, use a semicolon to separate the options. There is a screenshot attached to help you understand it if you can't already.

There are two more things you must know.
  1. The AdminCP preview does not work when using multiple options. It will work properly in posts, though.
  2. This has been tested on vBulletin 3.7.3 only.

If you have any questions, post and I'll try to answer them. This is my first modification submission, so bare with me.

The plugin XML is attached, enjoy.

Change Log:
08/29/2008: Initial Release.
08/30/2008: Various bug fixes. Options no longer need to be surrounded by HTML to work, and the modification now works when more than one custom BBCode is in use.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 01-21-2009, 10:00 AM
Krieg's Avatar
Krieg Krieg is offline
 
Join Date: Mar 2002
Location: France
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it on a V3.7.2 and it doesn't repeat it self. If I want to use it several time, it appears only once in the post ... oddly, when I edit the post, both instances show up ... How that ?
Reply With Quote
  #23  
Old 01-21-2009, 12:38 PM
Krieg's Avatar
Krieg Krieg is offline
 
Join Date: Mar 2002
Location: France
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it fixed, sorry for the fuss, my fault
Reply With Quote
  #24  
Old 03-31-2011, 06:36 AM
No True Face No True Face is offline
 
Join Date: Jul 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.7.1

Installed as per instructions. Multiple Options work fine, now my Text Editor's aren't parsing regular BBCodes with single options, like FONT for example. It shows the entry in the editor, but it's not parsing it once submitted. Also, I notice that when I go into WYSIWYG mode, when using functions that have options, it doesn't post the entry nor does it save it in post when you go back to edit.

Quotes are also broken in the User CP only (Private Messaging).

Any idea what I can do?
Reply With Quote
  #25  
Old 04-17-2011, 11:37 PM
wonderfulwat wonderfulwat is offline
 
Join Date: Jun 2010
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also having it break normal single option bb codes like SIZE, COLOR, etc..

Any fix?
Reply With Quote
Reply


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 04:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04227 seconds
  • Memory Usage 2,239KB
  • Queries Executed 22 (?)
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)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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_imicons
  • 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