![]() |
Plugins VS Files for Addons
What is the best way to build an addon for vBulletin?
I notice differences in the creation of products... some use all plugins... some use files (bitfields, xml, php)... examples: Adding admincp options Plugin way Hook the useradmin edit to use print_table and other options Bitfield way Create the bitfield xml for options File way Add the code to an admin php file Is one way better than the other? Thanks |
WHat you use depends on teh task at hand. What kind of Admin CP options are we talking about? If it's categories under "vBulletin Options", you can add those freely by enabling Debug Mode.
|
I am beginning to create products for vbulletin and just generalizing options.
Example: display some settings in the admincp for a mod- 1.-bitfield_myproduct.xml 2.-plugin (use print and admin hook) 3.-file (use print in custom admin file) Or will it really depend on the nature of the mod and its script size? |
Again - display what settings and where?
|
Quote:
Enable Product 1.-using bitfields Code:
<group name="myproduct"> useradmin_edit_column1 Code:
print_table_break('', $INNERTABLEWIDTH); Code:
if ($_REQUEST['do'] == 'modify') |
Actually there is an element tagged "options" in your product xml where you can define all these settings and have the built-in vBulletin Options section to take care all the displays, submissions and validations of your settings. Like Dismounted mentioned above, if you enable the Debug mode you can add these settings directly under vBulletin Options and later export them together with your product xml.
|
All times are GMT. The time now is 01:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|