vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbFEngine Create your own Mods by vbFreelancers (https://vborg.vbsupport.ru/showthread.php?t=167416)

Olympic 01-09-2008 10:00 PM

vbFEngine Create your own Mods by vbFreelancers
 
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 redistribution (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.

Namaless 01-10-2008 06:44 AM

Good, I Installed! :D

anhkhoa19 01-10-2008 07:26 AM

Do you have any demo?

anstosser 01-10-2008 08:20 AM

Installed on 3.7 beta 3 and works fine so far. I?ll report, if any issues occure...

You may have a look on drupals cck (Content Contribution Kit) which implements controls in content items etc. perhaps you?ll find some interesting features/ideas for this project...
This could be used in marys vbArticles/vbJournal....

Olympic 01-10-2008 08:45 AM

Quote:

Originally Posted by anstosser (Post 1418867)
Installed on 3.7 beta 3 and works fine so far. I?ll report, if any issues occure...

You may have a look on drupals cck (Content Contribution Kit) which implements controls in content items etc. perhaps you?ll find some interesting features/ideas for this project...
This could be used in marys vbArticles/vbJournal....

I'll check it, but you also need to check this:
https://vborg.vbsupport.ru/showpost....5&postcount=18
for features that already exist in the commercial version (is in Beta testing)

Forum Lover 01-10-2008 09:17 AM

installed. excellent, most promising.

JAuthement 01-10-2008 01:59 PM

This has potential .... it is a bit like GARS with one exception (which I do like) is that GARS implements this functionality directly to the forums vice being independent of the forums. If this functionality is implemented I'll DEFINITELY make this part of my forum. Keep up the good work!!

Olympic 01-10-2008 02:08 PM

Quote:

Originally Posted by JAuthement (Post 1418974)
This has potential .... it is a bit like GARS with one exception (which I do like) is that GARS implements this functionality directly to the forums vice being independent of the forums. If this functionality is implemented I'll DEFINITELY make this part of my forum. Keep up the good work!!

We're keeping forums away for one important reason: Version compatibility. Try to install the same mod in ver 3.5.x, 3.6.x, 3.7.x You'll see that it works perfect.
But of course we use the forums. eg in the commercial version, admin can setup every post on xxx category or subcategory, to has it's own forum for discussion.

bdude 01-13-2008 11:08 PM

Quote:

You don't have permission to:
  • Modify the code
  • To add more functions (features)
  • To add more extra field types

This is a bit unfair don't you think?

Olympic 01-14-2008 05:37 AM

Quote:

Originally Posted by bdude (Post 1420917)
This is a bit unfair don't you think?

Unfair? I don't think so, except if you misunderstood it. As I know 99% of the mods here don't gives you permission to modify anything and then to post it like to be your job, while I'm doing it but of course with restrictions. Because if for example, you'll add more custom field type and then post it, you're becoming competitor of my commercial version.

But you can modify it as you like, just for your own use. If you want to share it, you can build a special version (eg for recipes), you can add your name in the copyright and then to post it here.

So, what's unfair??

bdude 01-14-2008 06:38 AM

Quote:

But you can modify it as you like, just for your own use. If you want to share it, you can build a special version (eg for recipes), you can add your name in the copyright and then to post it here.
Sorry, I must have misinterpreted you. The way you worded it made it sound like you weren't allowed to customise it at all. What you've said is very fair, my apologies.

gael11 01-20-2008 06:04 AM

Hello,

I've got a problem with a template.
Here is a screenshot:
https://vborg.vbsupport.ru/


Thanks for your help.

Hex_legend 01-20-2008 09:28 AM

I'm getting a database error when I click on "Add Profile" on vbfengine.php

Code:

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
SELECT id, name FROM vbfengine_subcategories
                WHERE categoryid= ORDER BY displayorder;

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 'ORDER BY displayorder' at line 2
Error Number  : 1064
Date          : Sunday, January 20th 2008 @ 05:26:53 AM
Script        : http://ascensiongaming.com/main/vbfengine.php?do=edititem
Referrer      : http://ascensiongaming.com/main/vbfengine.php
IP Address    : 81.77.23.33
Username      : admin
Classname    : vb_database
MySQL Version : 4.1.22-standard


Mesohu 01-20-2008 09:46 AM

Quote:

Originally Posted by gael11 (Post 1424930)
Hello,

I've got a problem with a template.
Here is a screenshot:
https://vborg.vbsupport.ru/


Thanks for your help.

you must use the extended version of this style :) .

gael11 01-20-2008 05:45 PM

Quote:

Originally Posted by Hex_legend (Post 1425019)
I'm getting a database error when I click on "Add Profile" on vbfengine.php

Code:

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
SELECT id, name FROM vbfengine_subcategories
                WHERE categoryid= ORDER BY displayorder;

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 'ORDER BY displayorder' at line 2
Error Number  : 1064
Date          : Sunday, January 20th 2008 @ 05:26:53 AM
Script        : http://ascensiongaming.com/main/vbfengine.php?do=edititem
Referrer      : http://ascensiongaming.com/main/vbfengine.php
IP Address    : 81.77.23.33
Username      : admin
Classname    : vb_database
MySQL Version : 4.1.22-standard


You should try to create a category, I've ever meet this problem ;)

gael11 01-20-2008 05:46 PM

Quote:

Originally Posted by Mesohu (Post 1425027)
you must use the extended version of this style :) .

I meet the problem with the default style and the extended version :/

aycan555 01-21-2008 02:10 AM

How can i make video module with this hack, i have tryed but i couldn't able to do it, i want to users add favory youtube videos to kategories they want, then other users can add messeges?

vbFreelancers 01-22-2008 05:42 PM

Quote:

Originally Posted by aycan555 (Post 1425568)
How can i make video module with this hack, i have tryed but i couldn't able to do it, i want to users add favory youtube videos to kategories they want, then other users can add messeges?

Lite version doesn't supports this type of custom fields.

txsbmw 01-22-2008 07:55 PM

Before I install, can this be used to create something simular to a phone book directory? Where you have Name, Address, City, State, Zip, E-Mail Address, etc......

Olympic 01-23-2008 10:07 AM

Seems, that most of the members didn't understood the hidden power of vbFEngine. Even if the article is for the full version, lite has also many of the features, so please read:
http://www.vbulletinfreelancers.com/showthread.php?t=23

gael11 01-25-2008 06:36 PM

Quote:

Originally Posted by gael11 (Post 1424930)
Hello,

I've got a problem with a template.
Here is a screenshot:
http://img262.imageshack.us/img262/6...ulletinyg8.jpg


Thanks for your help.

Help :confused:

Most popular must be out and the bottom toolbar must be down

Thanks

txsbmw 01-30-2008 02:58 AM

I keep getting a database error when I try to edit an entry. Once I click save after editing I get the following:

Code:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:
UPDATE vbfengine_items SET description='REQUESTS:
  • \n

  • Cookies\n

  • Pringles\n

  • Beef Jerky

INTERESTS:\n \nPlaying golf, throwing the football', paypalemail='',
                                                                                price='', currency=, hidden=0 
                    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 
                    WHERE id=1' at line 2
Error Number  : 1064
Date          : Wednesday, January 30th 2008 @ 04:54:53 AM
Script        : http://www.myforum.com/vb/vbfengine.php
Referrer      : http://www.myforum.com/vb/vbfengine.php?do=edititem&itemid=1&pagenumber=1
IP Address    : XX.XXX.XXX.XX
Username      :
Classname    : vB_Database
MySQL Version : 4.1.22-standard-log


blankoboy 02-01-2008 04:50 AM

Does this have potential to create a "reviews" of site? Would like to see more of what is possible with this mod. Most intriguing and has my interested piqued!

*note: am I the only one who sees a younger "Robert Deniro" resemblance in Olympic's profile pic? ;)

Razasharp 02-03-2008 03:04 PM

What can this do that GARS and vba Dynamics can't do?

Both of those allow you create new 'sections', they also allow reviews, and as many thread fields as you want?

I have been researching the above so interested in how yours is different.

Also, is it anywhere as near as flexible as Drupal? (or vbDrupal)

Thanks,

bada_bing 02-04-2008 01:27 PM

will this work for vb 3.5.x ?

gforce75 02-04-2008 03:48 PM

Lol, can't modify? It makes sense not to modify to redistrbuite, but i've modified alot of mods because of errors or to enhance an improvement

Olympic 02-04-2008 04:05 PM

Quote:

Originally Posted by Razasharp (Post 1435376)
What can this do that GARS and vba Dynamics can't do?

Both of those allow you create new 'sections', they also allow reviews, and as many thread fields as you want?

I have been researching the above so interested in how yours is different.

Also, is it anywhere as near as flexible as Drupal? (or vbDrupal)

Thanks,

Hope that you're not serious in the part of question that is talking about the other mods. Not because they're not good mods (or scripts), actually we've bought vBa Dynamics, but for the fact that it's impossible to "download, install and check" 3 other programs just to say (without to be always sure) what they can't do comparing with vbFEngine.

What I know for sure that vbFEngine can do while the others can't (not only mods, but PHP scripts too, that's why we're porting it as standalone PHP script) are:
  1. About interaction with users (Rating, Reviews, Discussion). You can choose one, or more, or all of:
    1. Simple Rating
    2. Amazon style Rating and Review
    3. Seperate thread for duscussion
  2. Rating: Forget about the old fashion rating: "How do you rate it?". Now you can setup as many rating questions you want. The overall of the user's rating is auto calculating
  3. 90% of the Options that other mods have as global, in vbFEngine are going to categories. So, you can have a category "Articles" and choose that posts in that category will have Rating and Forum. You can have another category "Reviews" where the posts can have Amazon style Rating and Review plus Forums. Same apply for custom fields. Give a look at: http://www.vbulletinfreelancers.com/...6&title=dating to see how flexible are custom fields. Different extra fields in subcategories.
  4. And just for the history, here are the options that you can use setting up a category:
    1. Category: Active/Hidden if for some reason you want to hide it for modifications
    2. Price: In case that you want the user to pay for posting in this category (great for Classifieds)
    3. Style: You can use different vBstyle per category
    4. Allow Rating
    5. Allow Reviews
    6. Allow Forum
    7. Allow Sales (If yes, then users can post in this category items for sale and accept payments by PayPal. Again great for Classifieds)
    8. Allow Gallery (If set to No, only one photo is permitting per post)
    9. Allow Attachments
    10. Allow Chapters (Great for News)
    11. Posts are time limited?
    12. If yes, what to do on expiration: Delete/Hide
    13. vbCredits (+/-) for those who are using vbCredits
    14. vB Points for any post
    15. vB points lower limit to be able to post
    16. Related Forum (to show last x threads)
    17. Related Poll (to show in category's main page)
    18. Do you want more? Try tomorrow the demo, to see how you can have 7 modules by using just one (for now I've setup only the Dating part).

Olympic 02-04-2008 04:23 PM

Quote:

Originally Posted by Razasharp (Post 1435376)
and as many thread fields as you want?

Manchester United is a Football team, Panigyriakos is also a Greek Football team in xxx category. So do you want me to believe that because both are "Football teams" they've equivalent power?:)

So, here are my questions:
  1. What type of questions they're supporting? vbFEngine supports:
    1. Text
    2. Textarea
    3. Radio buttons
    4. Checkboxes
    5. Single choice drop list
    6. Multiselect drop list
    7. Number
    8. Date
    9. Link
    10. YouTUBE/Yahoo etc video
  2. Can they search numeric and date fields in range (from-to)?
  3. Can they organize them in fieldsets for better interface
  4. Can the fields be reusable on the same form, or if you need the xx fields to appear twice in the same form, you must setup it twice?
  5. Can the fields have ordering 1,2,3,...10 in A category, while in B category to have ordering 2,1,9.....5 and so on?

Olympic 02-04-2008 04:25 PM

Quote:

Originally Posted by gforce75 (Post 1436181)
Lol, can't modify? It makes sense not to modify to redistrbuite, but i've modified alot of mods because of errors or to enhance an improvement

Nobody prohibited you to do ANY modification you like for your own use.

txsbmw 02-04-2008 08:08 PM

Anyone with any idea on how to fix this error:

Quote:

Originally Posted by txsbmw (Post 1432194)
I keep getting a database error when I try to edit an entry. Once I click save after editing I get the following:

Code:

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:
UPDATE vbfengine_items SET description='REQUESTS:
  • \n

  • Cookies\n

  • Pringles\n

  • Beef Jerky

INTERESTS:\n \nPlaying golf, throwing the football', paypalemail='',
                                                                                price='', currency=, hidden=0 
                    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 
                    WHERE id=1' at line 2
Error Number  : 1064
Date          : Wednesday, January 30th 2008 @ 04:54:53 AM
Script        : http://www.myforum.com/vb/vbfengine.php
Referrer      : http://www.myforum.com/vb/vbfengine.php?do=edititem&itemid=1&pagenumber=1
IP Address    : XX.XXX.XXX.XX
Username      :
Classname    : vB_Database
MySQL Version : 4.1.22-standard-log



Razasharp 02-06-2008 01:23 AM

Thanks for answering my questions Olympic, I will check out your admin demo when it is up :)

Digital Jedi 02-09-2008 11:54 AM

I'm still waiting for my server admin to install a test board for me. But once I do I will give this a try on the test board. If this is as flexible as it looks, I think it will solve a lot of problems for me.

Anonymous ? 02-12-2008 10:08 AM

Quote:

Originally Posted by txsbmw (Post 1436346)
Anyone with any idea on how to fix this error:

the same problem :( can anyone help?

txsbmw 02-20-2008 06:39 PM

I am guessing this hack is no longer supported since there is no answer from the developer on the problem?

Digital Jedi 02-20-2008 07:42 PM

It's only been a couple of weeks.

digitalhype 02-21-2008 06:50 PM

Quote:

Originally Posted by vbFreelancers (Post 1426793)
Lite version doesn't supports this type of custom fields.

Since that is the case, then you guys need to stop confusing people. Here you are offering a "lite" version and on your site your offering a "pro" version, for a considerable amount of money I might add, yet when people ask about features here, you should then describe features specific to the light edition and not the pro edition.

Your response (quoted above) to a question for YouTube is fine, however in post #28 the "coder" states otherwise without a clear indication that in order to get that feature, you have to pay the fee for the commercial edition.

I for one, don't like the idea of you guys mixing this up and advertising the commercial features in your discussions while in the 'lite' edition thread.

Since evidently we are all to stupid to figure it out on our own, what you should be doing is providing a clear comparison chart differentiating the two in an easy to read format.

You also need to make it clear that those who use the 'lite' edition won't be able to upgrade to the 'pro' edition (according to the 'announcement thread' on the commercial site).

When this mod first came out, I was interested, but I'm gonna have to say that I'm quite put off by the 'coders' attitude here and on his own site which since reading his responses I've decided not to purchase or even use this 'lite' edition. I'd rather go without the whole thing then have the possibility of requiring actual support from the guy. imho

7lanet 02-21-2008 09:33 PM

when click" Add Profile"

Database error

:*_*:

Digital Jedi 02-22-2008 01:06 AM

Quote:

Originally Posted by digitalhype (Post 1448286)
Since that is the case, then you guys need to stop confusing people. Here you are offering a "lite" version and on your site your offering a "pro" version, for a considerable amount of money I might add, yet when people ask about features here, you should then describe features specific to the light edition and not the pro edition.

Your response (quoted above) to a question for YouTube is fine, however in post #28 the "coder" states otherwise without a clear indication that in order to get that feature, you have to pay the fee for the commercial edition.

I for one, don't like the idea of you guys mixing this up and advertising the commercial features in your discussions while in the 'lite' edition thread.

Since evidently we are all to stupid to figure it out on our own, what you should be doing is providing a clear comparison chart differentiating the two in an easy to read format.

You also need to make it clear that those who use the 'lite' edition won't be able to upgrade to the 'pro' edition (according to the 'announcement thread' on the commercial site).

When this mod first came out, I was interested, but I'm gonna have to say that I'm quite put off by the 'coders' attitude here and on his own site which since reading his responses I've decided not to purchase or even use this 'lite' edition. I'd rather go without the whole thing then have the possibility of requiring actual support from the guy. imho

Don't get me wrong, but it sounds like your all upset over a typo. Plus, when did they ever guarantee that you could upgrade to pro? That should never be assumed from the get go.

stwilson 02-22-2008 01:54 AM

I will also comment that this developer and team have supported their MODs quite well on their site. I have purchased the pro version of this mod, made over a dozen suggestions for enhancements and EVERY post I have made has been responded to (some public, some private). I say if you are not happy with the response time on this thread consider posting it up on their site to see if you get a more timely reply. So far, they have been very good to me.

txsbmw 02-23-2008 03:56 PM

Quote:

Originally Posted by Digital Jedi (Post 1447599)
It's only been a couple of weeks.

Maybe so, but he has been on since I first reported it and replied to another user, but never said anything about the error I am getting. Not even I will look into it and get back to you.


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02020 seconds
  • Memory Usage 1,901KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete