The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[How-To] Product Managament (vBulletin 3.5 RC 1 and up)
This How-To is mainly meant for Hack-Developers, if you are only planning to use Hacks just read the End-User section. Developers vBulletin 3.5.0 RC1 introduces a new concept for customizing/modifying vBulletin: Products. With Products, you can manage Plugins, Phrases, Settings and Templates in just one XML File. Furthermore it supports Install/Uninstall Codes (for running queries, etc.), it also covers updating existing Hacks as you can add Codes for different Versions. To start, you first have to turn on debug mode: Put PHP Code:
Then go to ACP / Plugin System / Manage Products. Click Add/Import Product. In the second Form (Add New Product) fill in the Details for your Hack:
Afterwards, create all the Plugins, Phrases, Templates and Settings your Hack requires and make sure you select the Product you just created. Important: Templates must be placed in the MASTER Style, Phrases in the MASTER Language When you are finished, go to ACP / Plugin System / Manage Products and select Edit from the Dropdown next to your Product. In the Form (Add New Install/Uninstall Code) add all Code necessary to install/uninstall your Hack (eg, Queries, etc.). If you are updating an existing Hack, add new Install/Uninstall Codes for the new Version that just make the changes necessary to upgrade the previous Version; Product Management will make sure that all necessary Codes will be run. If your Hack includes Usergroup Permissions/Bitfields, add the following Code to Install and Uninstall to rebuild the Bitfield cache: PHP Code:
End-Users Go to ACP / Plugin System / Manage Products. Click Add/Import Product, select the product XML File for the Hack you want to install. If you are upgrading an existing Hack, make sure that Allow Overwrite is set to Yes This How-To is (C) 2005 by KirbyDE and you are not allowed to redistribute it in any way without my explicit consent. |
#42
|
|||
|
|||
Quote:
Anyway, how about this: make two versions, a PDF and a CHM, to satisfy both those who like and those who dislike MS. Please thanks |
#43
|
||||
|
||||
Quote:
Making the How-to's HARDER to use is IMHO completely against the point of making them. I consider this a kick in the nuts to the community. This paragraph (and only this) will be retracted if someone can show me a way to copy/paste from Adobe Reader. I refuse to install any other piece of software to be able to copy/paste from a .pdf document, as I do not feel the need to clutter my computer with crap that will be used 1 or 2 times. At any rate, see if you can stop me from making CHM files on my own computer (not to distribute). Now to get back on the actual topic: Ive learned the hard way that settings have to be volatile for them to be able to export properly, but won't this erase them on upgrade? The code in the xml_import_settings() makes me think that if you are trying to re-import settings that are marked as volatile, it will recreate these settings. This is not a desired effect, so I hope someone can prove me wrong |
#44
|
||||
|
||||
Copying from PDF (if copying is permitted): Just use the Text Selection Tool, select the Text and click Edit/Copy.
Quote:
Volatile Settings will be deleted upon update. However, vBulletin only deletes its own (eg. produvt=vbulletin) Settings. |
#45
|
|||
|
|||
Quote:
Quote:
Oh. And how can you restrict distrubting the CHM's? It's not like it is a copyrighted material. As long as your name is stated - there is no reason behind not distributing them, as well as there is no way you can "not allow it"... |
#46
|
||||
|
||||
Quote:
You don't like PDF, I don't like CHM and therefor I just don't support it. So where is the Problem? You can read the How-TOs here, build a CHM on your own or use the PDF (when there is one, which currently isn't the case anyway). Quote:
(Although this might not always be the case considering general small talk and german copyright laws). But if you feel happy, I can explicitly point this out too. |
#47
|
|||
|
|||
Quote:
Quote:
Quote:
|
#48
|
||||
|
||||
[ot]
Quote:
PDF is easy to use and available on multiple Platforms. I am not going to support CHM. EOD [/ot] |
#49
|
||||
|
||||
are product phrases considered orphan phrases?
|
#50
|
|||
|
|||
I like the product/hook thing I found it intuitive enough. Though it was always nice to read what you had to say about it, oh and this thread has provided some good amusement...
|
#51
|
||||
|
||||
Just starting to get into 3.5 - excellent tutorial :up:
thank you EDIT: Is there any way to add a new hook without editing the xml file? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|