vBulletin Mods

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

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

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 16:54

Reserved.

Max Taxable 25 Sep 2011 17:34

Another great product by BOP5! Installed!

BirdOPrey5 25 Sep 2011 17:53

Quote:

Originally Posted by Max Taxable (Post 2249923)
Another great product by BOP5! Installed!

Thanks for the kind words but let us give credit where credit is due- this mod was by Dream who was a great coder here for many years... his last post was about a year ago- not sure why he left but he laid the groundwork for this mod. It took effort to upgrade to the newest VB but I doubt I would have attempted to make this mod if he didn't make it originally. :up:

Max Taxable 25 Sep 2011 18:56

Right you are.

xorex 25 Sep 2011 20:28

Thanks for mod !

maybe two feature more ?

1. Save image button path in xml file

2. Save all bbcodes to one xml for quick move all bbcodes from BOARD_1 to BOARD_2

BirdOPrey5 25 Sep 2011 20:47

I was back and forth on whether image path would do more harm than good... maybe will make it an option. Going to look into mass import/export as well.


All times are GMT. The time now is 05:56.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.