vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Multiple Option BBCode (https://vborg.vbsupport.ru/showthread.php?t=90869)

Andreas 06-22-2005 10:00 PM

Multiple Option BBCode
 
<font size="3">Multiple Option BBCode</font>

Description
This Hack allows you to create custom BBCodes with multiple parameters
instead of just one, eg. {option1}, {option2} and so on can be used.

Installation
Files to modify: 1
Difficulty: Medium

History
0.1 Initial Release
0.2 Update for Beta 3
Due to Code changes in Beta 3 this Hack is now a Plugin.
1.0.0 Packaged as a product
Fixed a few minor bugs (preview not wroking, etc.)

Compatibility
This modification is compatible with vBuleltin 3.5.X, 3.6.X, 3.7.X and 3.8.X

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

waza 06-23-2005 07:51 AM

does this also work on vb3.0.7 ?? Would be great!

Andreas 06-23-2005 10:12 AM

No. This is for 3.5 only.

Chris M 06-23-2005 11:08 AM

Nice one Kirby :)

Hacks like this should be standard on vB ;)

Satan

Dan 06-23-2005 11:11 AM

I concur with Chris up there :) This type of thing should be stand :D

Good job!

TruthElixirX 06-26-2005 05:24 AM

Heh. I foooled the vb 3.0.5 set-up into recognizing multiple options without touching any code, templare , or table. nothin modified..I don't know how I did it either.

Great hack. Will install when I gt my testboardup.

Andreas 06-28-2005 07:25 PM

Quote:

Originally Posted by TruthElixirX
Heh. I foooled the vb 3.0.5 set-up into recognizing multiple options without touching any code, templare , or table. nothin modified..I don't know how I did it either.

3.0.5?
Thats a pretty old Version ...
Anyway, if you are able to find out how you did that - let me know :)

Update for Beta 3
The Code has partly changed in Beta 3, this Hack does not fully work any longer (well, it does - but the Code to search for has changed a bit).
As there are new possibilities in Beta 3, it's a Plugin now :)

Boofo 07-28-2005 12:17 AM

Looks like the code to find has been changed again on RC 1. ;)

Kirk Y 07-28-2005 01:36 AM

Are you planning on Porting this mod to RC1 and on until the Gold release, Kirby?

Andreas 07-28-2005 06:11 AM

Quote:

Originally Posted by Boofo
Looks like the code to find has been changed again on RC 1. ;)

This is a Plugin ... ?

Boofo 07-28-2005 06:34 AM

Quote:

Originally Posted by KirbyDE
This is a Plugin ... ?

Per your fisrt post in this thread:

Quote:

Due to Code changes in Beta 3 this Hack is now a Plugin.

Andreas 07-28-2005 06:35 AM

Yes. So what are you talking about "Looks like the code to find has been changed again on RC 1"?
There is no Code to search for.

Boofo 07-28-2005 06:36 AM

Quote:

Originally Posted by Boofo
Per your fisrt post in this thread:

Scratch that. I didn't see the two sets of instuctions in the readme file. My goof. Sorry. ;)

diades 09-13-2005 09:27 PM

Hi
Quote:

As there are new possibilities in Beta 3, it's a Plugin now
I have just installed this via the upload plugin panel but it has no effect (I tried with your example of box) on vb2.5 RC3. in fact the page just shows (the source code)
HTML Code:

<div style="border:{option1}px solid {option2};">Hi</div>
Is this plugin ok for 3.5 RC3?

utw-Mephisto 09-14-2005 03:54 PM

First, you have a ";" too much, but 2nd, even without, I get just the text and not box nor red text (3.5 RC2)

utw-Mephisto 09-14-2005 04:10 PM

<i>edit</i>

Ok, I got it working, but the box goes over the whole page and not just around the text ;(

Andreas 09-14-2005 04:17 PM

That's what div is supposed to do :)

Princeton 09-14-2005 04:22 PM

Quote:

Originally Posted by utw-Mephisto
First, you have a ";" too much, but 2nd, even without, I get just the text and not box nor red text (3.5 RC2)

try using the bbcode on a post ... for some reason the bbcode manager is not displaying the outcome on my end (maybe the same thing is happening to you)*

* I've been having this problem even before I tried this plugin.

Princeton 09-14-2005 04:27 PM

Quote:

Originally Posted by utw-Mephisto
edit

Ok, I got it working, but the box goes over the whole page and not just around the text ;(

use <span>

utw-Mephisto 09-14-2005 04:28 PM

As I said, I got it working above (yepp, I just did not see it in the manager).

Cyricx 10-06-2005 03:47 PM

Looks like the code changed alot in vb3.5 gold?

Looks like they took out the str_replace?

Andreas 10-06-2005 08:00 PM

Quote:

Originally Posted by readme.txt
Installation Beta 3 & Up
------------------------
Upload/Install the Plugin from multioptionbb.xml

So what are you talking about?

sub_ubi 11-01-2005 11:22 PM

Installing now, hope it works!

Edit: It works very well, thank you for your time and effort.

Xplorer4x4 11-02-2005 04:49 AM

Kirby(sorry but I gotta call you that) I think I would need this hack in order to properley code this into one BBCode

http://www.w3schools.com/tags/tag_option.asp

How might I code this in the add BBCode section?

Thanks again Kirby.

Xplorer4x4 11-03-2005 05:38 AM

Also can you add a third screen shot to show the outcome of your tags as I think your example may be the code I need.

Xplorer4x4 11-12-2005 06:49 PM

*bump*

Lea Verou 11-13-2005 01:35 AM

Andreas please tell those guys over at Jelsoft to make this a default option! :p

Quillz 12-17-2005 10:15 PM

Just added it. Works great.

Zia 12-18-2005 09:54 AM

its really really nice....can u pls provide a klikable button & smart box image too?
yet not i download it......
for sure i will install it....

Pls
Thnx

Zia 12-18-2005 09:55 AM

its really really nice....can u pls provide a klikable button & smart box image too?
yet not i download it......
for sure i will install it....
More over...i got a tools bar...with huge option if i submit it...can u have a look on that....to optimize with 3.52 ?

Trust most of us will be gratefull.

Pls
Thnx

YOimYO 01-19-2006 12:14 PM

ok. I have installed it. It did not mess with my custom bbcodes at all :D

anyhow.

Could I please get some instructions on setting up the options ?

(option 1) (option 2 )

where do i define what the option is ?


thx :)

Xplorer4x4 01-19-2006 12:29 PM

Quote:

Originally Posted by YOimYO
ok. I have installed it. It did not mess with my custom bbcodes at all :D

anyhow.

Could I please get some instructions on setting up the options ?

(option 1) (option 2 )

where do i define what the option is ?


thx :)

Good luck I been waiting for 2 months how to set up one particular set of BBC Code.

Andreas 01-19-2006 02:15 PM

Just take a look at the screenshots, it's pretty straight-forward.

cclaerhout 02-22-2006 01:06 PM

This hack is working very well except in vBa CMPS. All {option X} values are not filled when the html code is read.

lightwave 02-27-2006 08:07 PM

:eek: I waited for this since I know what BBCodes are... I'm SO grateful Andreas. *hammers the Install link*
Finally I can use some fancy BBcode stuff x3 (I assume it works with javascript too?).

cclaerhout 04-06-2006 05:24 PM

Quote:

Originally Posted by cclaerhout
This hack is working very well except in vBa CMPS. All {option X} values are not filled when the html code is read.

Any solution ?:bunny:

cclaerhout 05-14-2006 03:42 PM

Quote:

Originally Posted by cclaerhout
Any solution ?:bunny:

Bump :)

cclaerhout 05-31-2006 10:15 AM

Last up :(

kalleball 10-27-2006 02:11 PM

does this work on 3.6.x? i can't seem to find anything like it anywhere...

C Braithwaite 12-03-2006 10:38 AM

what is the format for the bbcode? is mytag=opt1;op2 .. or mytag=opt1 opt2

etc etc ?


All times are GMT. The time now is 08:50 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
  • Page Generation 0.01450 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete