The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Steps to make a product?
This might sound like if Im lazy and not to read about coding, but if you could help with this will help alot :up:
What would be the steps in order to create a basic small product, lets say a product that will give members the ability to send a "Poke" for example and that has admin cp options or just a group permission settings, could you just name the steps that something like that would require? |
#2
|
||||
|
||||
your best bet would be to look at the xml file for a product and it will show you the basic coding then on a test forum not live do a little testing with the product manager
|
#3
|
|||
|
|||
Thats not a simple question, theres alot of different aspects to creating products. One tip I have for your though, if you want to add options to the adminCP you will need to create a 'cpnav_yourfilename.xml' and place it in the includes/XML/ folder. Look at some of the existing cpnav_whatever.xml files that are in that folder to give you an idea of how it should be structured. You will notice that you need to use phrases in those files, you will have to define those phrases in VB either with the phrase manager or through a product.xml file but phrases that you want to use as cpnav options need to be of type 'Control Panel Home Pages'. Also when creating the php page that will be linked to from those options in the admincp you might want to check out the file 'includes/adminfunctions.php'. VB offers alot of functions to create forms/tables in the admincp that will automatically keep with the style of the controlpanel in that file.
|
#4
|
||||
|
||||
Enable debug mode by adding this to your config.php (it is recommended that you do not enable debug mode on a production/live board).
PHP Code:
|
#5
|
||||
|
||||
Ok I did all that. Now I have those new options to add, edit or remove settings.
So lets say first step will be, go to manage products and add? Put the name and all the info there? |
#6
|
|||
|
|||
try and learn.. why ask when you already know it's better to try first...
|
#7
|
||||
|
||||
Thanx for the ones that tried to help
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|