Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
microBUSINESS (Business directory and more) Details »»
microBUSINESS (Business directory and more)
Version: 1.1.0, by MaryTheG(r)eek MaryTheG(r)eek is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.2 Rating:
Released: 07-06-2009 Last Update: 10-15-2009 Installs: 72
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

Removed by Author
as I've upgraded to vB4
and thus I can't have vB3 legally installed
--------------

microBUSINESS
ver 1.1.0 (Released 16 Oct 2009)

This is the Full Commercial Version
You must *** UNINSTALL *** any other version before



User: demouser
Pass: demopass

Compatible with versions 3.6.x, 3.7.x, 3.8.x


Version 1.0.1 fixes the missing procedures: deleteprofile and deleteitem

To upgrade just upload business.php and re-import product-microbusiness.xml (check overwrite).


This is the Full Commercial Version (1.1.0)
You must *** UNINSTALL *** any other version before


1.- Usage

  • Business directory, Links directory and much more.
  • Each user can has unlimited companies
  • Each company can has unlimited items (shops, links etc)
  • Google Maps
  • Rating and Reviews
2.- Installation










The installation is pretty easy, has been checked many times for installing and uninstalling the product. Just follow these steps below:
  • Download and unzip the file microBUSINESS.zip
  • Open the folder vbulletin and select all files and subfolders inside it
  • Connect to your website and open the directory where is your vBulletin installation (usally forum, forums, portal etc).
  • Upload the selected files to your site. If you fellow the right way then the file business.php must be on the same level as the index.php file of vBulletin.
  • CMOD 777 folders:
    • microbusiness/files/
    • microbusiness/photos/
    • microbusiness/photos/thumbs/
    • microbusiness/photos/tmp
  • Before any new installation is good to backup your database before, even if nobody is doing it (including me). At lease turn your site 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-microbusiness.xml
3.- Configuration










As every vBulletin product, you need to make some initial configurations before it goes live.
  • MicroSUPPORT Options
  • Google Map API key. If you plan to use Google maps you must obtain a free api key.
  • Setup categories and feature list (if you plan to use it).
  • Setup usergroup permissions.
4.- Template Modification


The module is using it's own templates, so it doesn't needs any template modification except if you want to add a link to the navbar. In this case you need to modify the NavBar template.


Open it and find:

Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">
$vbphrase[calendar]</a></td>
Add below:

Code:
<td class="vbmenu_control"><a href="business.php$session[sessionurl_q]">
Directory</a></td>

5.- Copyright
  • This software is copyrighted work of Maria Avlatzi (MicroHellas) and copyright removal doesn't allowed.
  • You can NOT re-distribute this module even for free.
6. Commercial Version









In the upcoming days I'll release a commercial version with some additional features:

  • Thread for each post (depending on usergroup permissions)
  • Post appoval or not (currently all post are auto approved)
  • User should be able to post unlimited companies and/or items. Now all usergroups can post unlimited.
  • more are coming....
Enjoy it








Maria

Supporters / CoAuthors

Show Your Support

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

Comments
  #142  
Old 10-30-2009, 06:36 AM
bartek24m bartek24m is offline
 
Join Date: Nov 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you improved the microBUSINESS in sugest a new subcategories by users?
Reply With Quote
  #143  
Old 10-30-2009, 03:23 PM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bartek24m View Post
did you improved the microBUSINESS in sugest a new subcategories by users?
Come again? What exactly do you mean?

I've probably determined what causes the pain for me. I added the categories to the Profiles section as well, and rewrote the current JS GetHorizontalCategories method. (Just a copy from the existing one but pointing to the profiles table instead).

I'm starting to think maybe I also overdid things with sub sub sub categories etc, and the two combined are causing this.

Will keep everyone updated
Reply With Quote
  #144  
Old 11-01-2009, 07:17 AM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The promised update: I edited out the counting, and the mod went blazing again. Then I undid the commenting from before, and it's still darn fast

I'm looking if I can add a small module for vBAdvanced. If I get anywhere with it, I'll add it here.
Reply With Quote
  #145  
Old 11-01-2009, 04:55 PM
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found a bug. If I set the permissions to have more than 1 profile to no, I cannot edit my own profile. I'll get the message that I'm only allowed to have 1 profile.

This is caused by the add/edit functionality being the same, and the check being performed at a too early stage.

To solve this, edit business.php, and find the following (under add/edit profile):

Code:
    if(!($permissions['microbusiness'] & $vbulletin->bf_ugp['microbusiness']['profiles']) AND $hasprofile == 1)
    {
       $vbulletin->url="business.php?" . $vbulletin->session->vars['sessionurl'] . "do=myprofiles";
       eval(print_standard_redirect('microbusiness_no_multiple_profiles', true, true));
    }
A couple of lines below that, find the following snippet of code:

Code:
    // Then, check if Profile id exists or not
    if(!$profileid)
    {
Move the first piece of code right after the second piece of code. This ensures that the check for multiple profiles will only occur after we have determined a new profile is being set up, rather than an edit taking place.

I imagine something similar will have to be done in the items section.

Hope this helps someone.

P.s. It'd be awesome if there'd be some kind of option to set the maxium amount of items/profiles per usergroup. I now am giving my registered users the ability to create 1 profile, and unlimited items. I'd have prefered to set it to 2 services with 3 items each or something along those lines
Reply With Quote
  #146  
Old 11-10-2009, 07:53 AM
bartek24m bartek24m is offline
 
Join Date: Nov 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after rewrite files and importing product to 1.1.0
i get error:

Code:
Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT forumid FROM microbusiness_config LIMIT 1;

MySQL Error   : Table 'autole.microbusiness_config' doesn't exist
Error Number  : 1146
and i would like to combine the companies into categories insted of items the same as some users say few pages before
Reply With Quote
  #147  
Old 11-10-2009, 12:08 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Maria, i install microBUSINESS tonight.
Reply With Quote
  #148  
Old 11-11-2009, 07:19 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a small problem with templates cashing

open rootforum/business.php

find

PHP Code:
$globaltemplates = array(
    
'microbusiness_main',
    
'microbusiness_addedit_question',
    
'microbusiness_view_question',
    
'microbusiness_browse_questions',
    
'microbusiness_browse_questions_bit',
    
'microbusiness_category_questions_bit',
    
'microbusiness_vertical_categories',
    
'microbusiness_vertical_categories_bit',
    
'microbusiness_categories',
    
'microbusiness_categories_bit',
    
'microbusiness_member_menu',
    
'microbusiness_tech_menu',
    
'microbusiness_reply_info',
    
'microbusiness_important_questions',
    
'microbusiness_important_questions_bit',
    
'microbusiness_latest_questions',
    
'microbusiness_latest_questions_bit',
    
'microbusiness_submit_ticket',
    
'microbusiness_browse_tickets',
    
'microbusiness_browse_tickets_bit',
    
'microbusiness_reply_ticket',
    
'microbusiness_browse_replies',
    
'microbusiness_browse_my_tickets',
    
'microbusiness_browse_my_tickets_bit',
      
'bbcode_code',
      
'bbcode_html',
      
'bbcode_php',
      
'bbcode_quote',
    
'editor_toolbar_on'
); 
and replace with

PHP Code:
$globaltemplates = array(
    
'microbusiness_addedit_item',
    
'microbusiness_addedit_profile',
    
'microbusiness_approve_items',
    
'microbusiness_approve_item_bit',
    
'microbusiness_approve_profiles',
    
'microbusiness_approve_profile_bit',
    
'microbusiness_browse_items',
    
'microbusiness_browse_item_bit',
    
'microbusiness_browse_profiles',
    
'microbusiness_browse_profile_bit',
    
'microbusiness_browse_reviews',
    
'microbusiness_categories',
    
'microbusiness_categories_bit',
    
'microbusiness_forums',
    
'microbusiness_item_files',
    
'microbusiness_item_gallery',
    
'microbusiness_letter',
    
'microbusiness_main',
    
'microbusiness_member_menu',
    
'microbusiness_my_bookmarks',
    
'microbusiness_my_bookmark_bit',
    
'microbusiness_my_items',
    
'microbusiness_my_item_bit',
    
'microbusiness_my_profiles',
    
'microbusiness_my_profile_bit',
    
'microbusiness_navbar',
    
'microbusiness_new_items_left',
    
'microbusiness_new_items_wide',
    
'microbusiness_new_item_left_bit',
    
'microbusiness_new_item_wide_bit',
    
'microbusiness_new_profiles_left',
    
'microbusiness_new_profile_left_bit',
    
'microbusiness_popular_items_left',
    
'microbusiness_popular_items_wide',
    
'microbusiness_popular_item_left_bit',
    
'microbusiness_popular_item_wide_bit',
    
'microbusiness_popular_profiles_left',
    
'microbusiness_popular_profile_left_bit',
    
'microbusiness_premium_items_left',
    
'microbusiness_premium_items_wide',
    
'microbusiness_premium_item_left_bit',
    
'microbusiness_premium_item_wide_bit',
    
'microbusiness_premium_profiles_left',
    
'microbusiness_premium_profile_left_bit',
    
'microbusiness_profile_files',
    
'microbusiness_profile_gallery',
    
'microbusiness_search',
    
'microbusiness_search_results',
    
'microbusiness_top_items_left',
    
'microbusiness_top_items_wide',
    
'microbusiness_top_item_left_bit',
    
'microbusiness_top_item_wide_bit',
    
'microbusiness_top_profiles_left',
    
'microbusiness_top_profile_left_bit',
    
'microbusiness_usercp',
    
'microbusiness_user_overview',
    
'microbusiness_view_item',
    
'microbusiness_view_item_files',
    
'microbusiness_view_item_gallery',
    
'microbusiness_view_profile',
    
'microbusiness_view_profile_files',
    
'microbusiness_view_profile_gallery',
      
'bbcode_code',
      
'bbcode_html',
      
'bbcode_php',
      
'bbcode_quote',
    
'editor_toolbar_on' 
Reply With Quote
  #149  
Old 11-11-2009, 07:30 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another small bug and the correction.

if you select USER CP and you try to select Forums no Forums open.

open rootforum/business.php

Find
PHP Code:
if ($_REQUEST['do'] == 'usercp')
{
    if(
$permissions["microbusiness"] & $vbulletin->bf_ugp["microbusiness"]["moderate"])
    {
       
$approvals getCountApprovals();
    } 
after add

PHP Code:
    // Forum use check
    
if ($vbulletin->options["microbusiness_forums"])
    {
        
$checkforum $db->query_read("SELECT forumid FROM " TABLE_PREFIX "microbusiness_config LIMIT 1");
        
$results $db->fetch_array($checkforum);
        
$forumid $results["forumid"];
    } 
Reply With Quote
  #150  
Old 11-12-2009, 07:23 AM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DropDown NavBar Menu ADDON for microBUSINESS

https://vborg.vbsupport.ru/showthread.php?t=227783
Reply With Quote
  #151  
Old 11-17-2009, 05:40 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Small Bug and the Correction.

If you select USERCP there is no Category Selection List at Search.

Open ForumRoot/business.php

Find
PHP Code:
if ($_REQUEST['do'] == 'usercp')
{
    if(
$permissions["microbusiness"] & $vbulletin->bf_ugp["microbusiness"]["moderate"])
    {
       
$approvals getCountApprovals();
    } 
After Add
PHP Code:
    // Get Categories for Search
    
$catid 0;
    
$tablename "".TABLE_PREFIX."microbusiness_categories";
    
$selectCat = new SelectCategory('categoryid'$tablename);
    
$selectCat->SetMultiple(false30);
    
$selectCat->SetFirstOption($vbphrase["microbusiness_all"], 0);
    
$selectCat->SetSelected($catid);
    
$selectCat->SetStyle('width:150px;');
    
$selectcategory $selectCat->Output(); 
Reply With Quote
Reply

Thread Tools

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 02:30 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.06253 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (6)bbcode_php
  • (1)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
  • (1)pagenav_pagelinkrel
  • (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_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