PDA

View Full Version : Import / Export BBCodes as XML files (updated by BOP5)



Thảo Nguyên
26-09-2011, 08:47 PM
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 (http://www.itmyduc.com/@forum/links.php?url=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 BBCodes 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 (http://www.itmyduc.com/@forum/links.php?url=http://www.qapla.com/mods/forumdisplay.php/11-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.


Click here to view the original image of 800x509px.
http://upanh.tv/images/47965516752696223865.jpg


http://www.mediafire.com/?vjwpcoq68vovlt3 (http://www.itmyduc.com/@forum/links.php?url=http://www.mediafire.com/?vjwpcoq68vovlt3)
http://www.multiupload.com/NZK8G8F7UZ (http://www.itmyduc.com/@forum/links.php?url=http://www.multiupload.com/NZK8G8F7UZ)