Credit goes to Maria (MicroHellas) as this module has developed 100% from her. I just did some corrections according to vBulletin prototype for security.
1.- What's this?
vbFEngize is a polymorphic module. The package contains the engine which is a set of functions and templates, and thanks to the power of the organized in fieldsets custom fields, you can produce any type of module which is base in database records.
2.- Examples
By setting the correct custom fields, you can produce Module for:
Profiles
Articles
Receipts
Photos
Videos
Catalogs
Links
Classifieds
Profiles
Collections
and anything else related to database records
3.- Standard Fields
Category
Userid
Title
Description (using vbEditor)
Main Photo
Photo Gallery for each record
4.- Including in Lite version Features (functions)
Categories
RSS for each category
Sponsored Records
Premium Records
Top Records
Editor Choice records
Newest Records
Popular Records
Top Users
Search by Category, Username, Keywords
Bookmarks
vbSeo friendly
Ability to setup different template in your module
Ability to setup different template per category
(1) Records means: Profiles, Articles, Receipts, Items etc
5.- Extra fields
Extra fields are reusable (and here is the real power). Eg if you want to use a field "Age" multiple times in a form, you don't need to create it twice. You create it once and then you can assign it to as many fieldsets you want in the same form.
Group fields (or fieldsets). No more ungly listing. You can organize the custom fields in fieldgroups, and then assign each field group in one, multi, or all available categories.
6.- Extra field types
Text
Radio button
Checkboxes
Textarea
Drop list (single select)
Drop list (multiple select)
7.- Installation
Upload all files and directories including at "vbulletin" directory to the directory where vBulletin is installed.
CMOD the following directories to 777
/photos (inside vbfengine directory)
/tmp (inside vbfengine/photos directory)
/thumbs (inside vbfengine/photos directory)
For security reasons backup your database AND turn your board off
Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_vbfengine.xml
If you want to add a link to your nav bar then you must edit the NAVBAR template:
By default none usergroup has permissions to use vbfengine, so you need to give permissions to any group. Goto AdminCP->Usergroups->Usergroup Manager and edit any usergroup you like to give permissions.
*** IMPORTANT *** If you don't give to Guest at least "can use" permissions, then they must NOT be able to see the links (Tell a Friend function).
If you've installed vbSEO, Login into vbSEO Control Panel, click "Custom Rewrite Rules", insert rewrite rules (attached in vbseo-rules.txt to not lose formatting) and save settings.
8.- First steps in use
Set the various options at vbFEngine->Options
Setup the categories
Setup (if you need them) Custom fields. Please note that fields are reusable, so in case that for example you want to use twice the field "Age" you don't need to create it 2 times. One is enought.
Setup Custom fields groups. You can add as many fields as you want to a group, and then to assign this group to one or more, or all categories. Please pay attention for unique display order of the groups.
9.- Authorization for reuse and redistribute (but please read carefully!!)
For Personal use: You can modify the code as you want by adding or removing features and/or templates, but in this case you can't share these modifications with other usres/members
For Coders:
You've the permission to:
Rename the files (so you can produce different modules).
You can setup the extra fields as you want and then to modify the file: products-vbfengine.xml to auto insert the field's values in database.
You can post the final product (including my files) for FREE only and only in vBulletin.org. Nowhere else, except if it's a vBulletin community operating by you.
You don't have permission to:
Modify the code
To add more functions (features)
To add more extra field types
To remove my copyright. But you can add yours, one line over mine.
And for sure you don't have permission to sell the module.
Sounds good, think this can be adpated to something I have been thinking off.
Could the total value of all items within a category be added up to produce a figure? eg on a car forum could it be used as a members car database and give output such as:
-total number of cars in the database
-total retail value of the cars in the database
-combined power of the cars in the database
Even if I didn't got your meaning for the 3nd option (do you mean the average value), yes it can be done as its a simple query.
This looks pretty interesting, but still I'm wondering is this to be used with VBClassifieds or VBadvanced, or MAdeByMary products??
None of them. It's a MadeByMary product, but it dosen't needs anything else (except vBulletin) to work. Install it and you'll understand it. Even without adding any extra field it works fine.
Easy to install and use it, but I've got a SQL error when I'm editing a new profiles.
I give permissions to all usergroups to use the vbfengine.
I still use vb on my computer with wamp.
This is my sql error:
PHP Code:
Database error in vBulletin 3.6.8:
Invalid SQL: UPDATE vbfengine_items SET description='Test roadbook ;)', paypalemail='', price='', currency=, hidden=0 , title='Roadbook test' WHERE id=1;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' hidden=0 , title='Roadbook test' WHERE id=1' at line 2 Error Number : 1064 Date : Thursday, January 10th 2008 @ 04:21:07 PM
The fixed file worked perfectly, thank you - but I'm noticing images aren't uploading, it is selected but doesn't seem to upload, it's too quick and nothing appears on the profile page.