vBulletin Mods

The Official vBulletin Modifications Site
http://www.vbulletin.org/forum/showthread.php?t=270888

Import / Export BBCodes as XML files (updated by BOP5)
by BirdOPrey5
25 Sep 2011 15:47

2 Attachment(s)
This mod is based on an original mod released way back in 2005 by Dream. Original mod thread: http://www.vbulletin.org/forum/showthread.php?t=91435 (Marked Re-usable code.)

The purpose of this mod is to give vBulletin the much needed ability to quickly import and export BB Codes as .xml files. Imagine importing a single file rather than going through all the steps of copying & pasting code to install a new BB Code.

The original mod was a good start but it needed serious updating for vBulletin 3.8 & 4.x.

Some changes from the original mod:
  • Had to change a variable name due to a conflict
  • Had to add support for additional BBCode options
  • Had to have the mod refresh the BBCode Cache upon upload of a new BBCode

This mod does not have any product/install XML file.

To install simply upload the two files and refresh/reload your Admin CP page. You will see the new option "Import/Export BBCodes" under "Custom BB Codes" on the side menu.

To upgrade simply overwrite the two files.

To uninstall simply delete the two files.

bbcodes_impex.php - Goes in your admincp directory
cpnav_ieb.xml - Goes in your includes/xml directory

Once installed importing and exporting of BBCodes is fairly self-explanitory.

You can only upload BBCodes saved in this specific XML style.

You can download more BBCodes in this format from:
http://www.qapla.com/mods/forumdispl...-Qapla-BBCodes


Many more wll be added soon.

Tested and working with vBulletin 3.8.7. 4.0.8, and 4.1.5. Expected to work on all vB 3.7, 3.8, and 4.x versions.

Please Mark as Installed if you use this. :)

BirdOPrey5 25 Sep 2011 15:49

Reserved

Sunka 25 Sep 2011 20:41

Installed!
Nice session of small but useful tweaks/Mods birdoprey.

Thanks

Boofo 25 Sep 2011 21:07

Can you add multiple bbcodes from one xml file?

BirdOPrey5 25 Sep 2011 21:34

It is something I will be looking into.

sulasno 25 Sep 2011 23:38

tagged and thanks

Dr.osamA 25 Sep 2011 23:40

Great work as usually
installed + 5 stars + translated to arabic

thank you bro you are great man keep it up

Sayid 26 Sep 2011 14:42

It really saves the time and effort

Sforums 27 Sep 2011 01:53

I am getting error when importing the product:

XML Error: Not well-formed (invalid token) at Line 78

Any ideas what could be the problem? Using 4.1.0 Patch Level 2

Dr.osamA 27 Sep 2011 09:47

Quote:

Originally Posted by Sforums (Post 2250415)
I am getting error when importing the product:

XML Error: Not well-formed (invalid token) at Line 78

Any ideas what could be the problem? Using 4.1.0 Patch Level 2

bro you dont need to import any product
there are no product for importing just uploade files to your forum root as it

BirdOPrey5 27 Sep 2011 18:23

Quote:

Originally Posted by Sforums (Post 2250415)
I am getting error when importing the product:

XML Error: Not well-formed (invalid token) at Line 78

Any ideas what could be the problem? Using 4.1.0 Patch Level 2

As was said there is nothing to import. Please read the instructions.

Sforums 27 Sep 2011 19:25

Thanks guys. I must have been half asleep while reading those instructions.

BirdOPrey5 27 Sep 2011 21:28

Quote:

Originally Posted by Sforums (Post 2250625)
Thanks guys. I must have been half asleep while reading those instructions.

No prob. Please Mark as Installed if you are using this.

OldSchoolDSL 18 Nov 2011 07:20

Can't imagine why this isn't getting more attention. A much needed time saver.

Installed and working 4.1.8

Sarab 08 Mar 2012 04:30

Hello,

Great work, thank you =)

I have a question, when I was in vbulletin 3.8 I was using a background bbcode where I put image URL and it make the thread background the image, but since I upgrade to vbulletin 4 it don't work =\

And I'm tired from searching everywhere for anything concern this bbcode but can't find any clue about it =.=

Anyway the replacement code was:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And still the old thread with it showing the background, anyway I hope if you can spend minutes to guide me how to fix it ^^"

Best Regards,
Sarab


All times are GMT. The time now is 19:41.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.