Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbFEngine Create your own Mods by vbFreelancers Details »»
vbFEngine Create your own Mods by vbFreelancers
Version: 1.0.0, by Olympic Olympic is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 01-08-2008 Last Update: 01-09-2008 Installs: 21
DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

Removed by the Author
due to luck of free time to support it.
------------------------------------------------------------


vbFEngine
The Polymorphic Module
by vBulletin Freelancers

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
  1. Upload all files and directories including at "vbulletin" directory to the directory where vBulletin is installed.
  2. CMOD the following directories to 777
    1. /photos (inside vbfengine directory)
    2. /tmp (inside vbfengine/photos directory)
    3. /thumbs (inside vbfengine/photos directory)
  3. For security reasons backup your database AND turn your board off
  4. Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
  5. From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_vbfengine.xml
  6. If you want to add a link to your nav bar then you must edit the NAVBAR template:
    1. Search For:
      Code:
      <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
    2. Add Below:
      Code:
      <td class="vbmenu_control"><a href="vbfengine.php$session[sessionurl_q]">Profiles</a></td>
    3. ....or use any other word you want
  7. 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.
  8. *** 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).
  9. 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
  1. Set the various options at vbFEngine->Options
  2. Setup the categories
  3. 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.
  4. 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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-09-2008, 06:43 PM
vbFreelancers vbFreelancers is offline
 
Join Date: Jan 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who have installed vbFEngine till this post, please uninstall it and import the attached xml file, as the zip file contains xml file with missing some tables.

Marina
Reply With Quote
  #13  
Old 01-09-2008, 06:49 PM
Olympic Olympic is offline
 
Join Date: Dec 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zip file updated with the correct product-vbfengine.xml file.

Sorry for troubles
Chris
Reply With Quote
  #14  
Old 01-09-2008, 07:28 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After manually removing some of the tables I successfully installed the mod - but ....

Code:
Database error in vBulletin 3.6.2:

Invalid SQL:
INSERT INTO vbfengine_items (id, categoryid, subcategoryid, userid,
                     title, description, paypalemail, price, active, currency, hidden, approved, activateddate,
										 featured, editor, bold) VALUES (NULL, 1, 0, 1, 'Jason Williams', 'Test posting test test test', '', 
										 '', 0, , 0, 1, 1199914009, 0, 0, 0);

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 ' 0, 1, 1199914009, 0, 0, 0)' at line 4
Error Number : 1064
I get this error when trying to create a new profile.
Reply With Quote
  #15  
Old 01-09-2008, 10:40 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbFreelancers View Post
Really unlimited. See the screenshoots. By adding some extra fields related to job seeking I did a module for job seeking. In the other screenshoot, by adding some fields (questions) about dating I did a dating module. This way, you can easily create a module for Business directory, for Receipts, for Articles etc etc.

Let's say that you did a module for Receipts. The included standard functions, can show:
  • Top Receipts
  • Popular receipts (according to views)
  • Editor choice receipts
  • Sponsored receipts
  • Premium receipts
  • Newest receipts
This looks pretty interesting, but still I'm wondering is this to be used with VBClassifieds or VBadvanced, or MAdeByMary products??
Reply With Quote
  #16  
Old 01-09-2008, 11:19 PM
aycan555 aycan555 is offline
 
Join Date: Dec 2005
Location: www.ultrapaylasim.com
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanxs for this great hack....
Reply With Quote
  #17  
Old 01-10-2008, 05:03 AM
Olympic Olympic is offline
 
Join Date: Dec 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steadicamop View Post
I get this error when trying to create a new profile.
This is happening when someone tries to remove features from a full version to build a lite one. Upload the attached file in your vB directory.
** Zip file updated **
Reply With Quote
  #18  
Old 01-10-2008, 06:18 AM
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
Location: UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whats the difference between the lite and full version (which I guess is not available at the moment?)
Reply With Quote
  #19  
Old 01-10-2008, 06:41 AM
Olympic Olympic is offline
 
Join Date: Dec 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jon_Simmonds View Post
Whats the difference between the lite and full version (which I guess is not available at the moment?)
Yes, commercial version is on Beta testing. Additional to Lite features are:
  1. More field types (Numeric, Date, Links)
  2. A custom field can be Required or not
  3. A custom field can be Searchable or not
  4. Advanced Search in all fields marked as searchable. For numeric fields the search can be perform on =, >=, <= or in range (From ... To). Same applies to date fields.
  5. Supports Subcategories (and so RSS for subcategories)
  6. Setting Categories/Subcategories you can setup that posts in this category/subcategory can has its own Forum for discussion (in Lite there is only rating)
  7. Categories/Subcategories can be setup for paid posts (in Lite all posts are free).
  8. And finally Support and lifetime free upgrades.
Reply With Quote
  #20  
Old 01-10-2008, 06:47 AM
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
Location: UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #21  
Old 01-10-2008, 06:49 AM
Olympic Olympic is offline
 
Join Date: Dec 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jon_Simmonds View Post
Whats the difference between the lite and full version (which I guess is not available at the moment?)
And something else that I forgot:
  • Import/Export Custom fields schema
  • The license in not per domain/installation, but only per domain. So, you can setup as many different modules as you want in the same domain.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06417 seconds
  • Memory Usage 2,327KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete