View Full Version : any tutorials on how to make a module?
moneyfish168
07-06-2007, 09:46 AM
I coudln't find any tutorials on how to make modules. I am new to vba cmps. I want to make new modules, but coudlnt' find some step by step tutorial.
can someone make simple tutorials like helloworld.modules, just show step by step how to do it.
thank you.
Brian
07-06-2007, 10:56 AM
Sorry, but there are not really any type of tutorials. If you just read the descriptions for the modules, and then the description for each setting when adding a module, you shouldn't have any problems.
towermatt
07-06-2007, 12:00 PM
For me, with no coding experience, it has been a heck of a learning process.
The problem isn't adding the module, that is really easy and very well documented here on the support forum
The problem, if you are not a coder, is writing the .php or .html file.
There are a wide variety of canned modules out here that work amazingly well but if you are wanting your own content in one of them, that takes knowing a little about developing web pages.
moneyfish168
07-06-2007, 12:12 PM
for me , i can code. i can code both php and html. but hte problem i have is after I code them , I dont know how to upload and install them.
I just wish theres a walkthrough, like this one "[GUIDE] vBa Integration Walkthrough ". just tell me whats the first step and whats the next one.
acutally, [GUIDE] vBa Integration Walkthrough , this walkthrough is simple, but if you need to figure it out yourself, probably gonna take forever.
towermatt
07-06-2007, 12:35 PM
Sure, and I may be able to help with that. Do you have a specific question on it?
Creating a module is as simple as going to your AdminCP>VBACMPS>Add module/page
Then it gets a little rough. What you choose there is dependent on what you want to do. if you would like to simple create a page with the modules available...go in there, name the page and choose the modules you want.
New ones can be added through downloads on this site.
That creates a page at www.yourdomain.com/forums/cmps_index.php?page=your name
if your CMPS is loaded to your forum root, if not same thing just somewhere else that you have it.
if you want that page to act as your home page, you save it to the site root and rename it index.php
There is much, much more so I can try to answer anything specific if you have it.
ProGaming
07-06-2007, 07:14 PM
I can code im just having problems figuring out how CMPS works with adding modules etc. Making them so each page has it's own setting etc.
Sure wish there was some better documentation.
Brian
07-07-2007, 09:52 AM
To add settings for PHP file modules, you need to place your forum in debug mode by adding something like this to your includes/config.php file:
if ($_SERVER['REMOTE_ADDR'] == 'XX.XX.XXX.XXX') { $config['Misc']['debug'] = 1; }
Replace the X's there with the IP address you're browsing from, that way vB will only be in debug mode for your IP address.
Then, after you add a new PHP file module, you will see a link at the bottom of the page that says 'Add Setting'.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.