vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Import / Export BBCodes as XML files (updated by BOP5) (https://vborg.vbsupport.ru/showthread.php?t=270888)

BirdOPrey5 09-24-2011 10:00 PM

Import / Export BBCodes as XML files (updated by BOP5)
 
1 Attachment(s)
This mod is based on an original mod released way back in 2005 by Dream. Original mod thread: https://vborg.vbsupport.ru/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 09-25-2011 02:49 PM

Reserved

Sunka 09-25-2011 07:41 PM

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

Thanks

Boofo 09-25-2011 08:07 PM

Can you add multiple bbcodes from one xml file?

BirdOPrey5 09-25-2011 08:34 PM

It is something I will be looking into.

sulasno 09-25-2011 10:38 PM

tagged and thanks

Dr.osamA 09-25-2011 10:40 PM

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

thank you bro you are great man keep it up

Sayid 09-26-2011 01:42 PM

It really saves the time and effort

Sforums 09-27-2011 12:53 AM

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 09-27-2011 08:47 AM

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


All times are GMT. The time now is 02:24 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.01076 seconds
  • Memory Usage 1,729KB
  • 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_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
  • (10)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