vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microBUSINESS (Business directory and more) (https://vborg.vbsupport.ru/showthread.php?t=218044)

MaryTheG(r)eek 07-06-2009 10:00 PM

microBUSINESS (Business directory and more)
 
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

Limode 07-07-2009 10:58 AM

Thanks Maria

Hornstar 07-07-2009 09:38 PM

This is so well done that it makes me want to start a new site just so I can use it :)

Thanks for sharing!

TNCclubman 07-07-2009 10:09 PM

very nice!

TimberFloorAu 07-07-2009 11:13 PM

Maria once again you have excelled yourself, I for one will be installing this and road testing it with our guys on our forum,

Top WORK ^5

Ste

DobieGillis? 07-07-2009 11:21 PM

looks incredible! Tagged.

4nawadir.com 07-07-2009 11:33 PM

wow, Nice
Will Be Installed Soon
Thanks

NLP-er 07-08-2009 12:30 AM

Don't need to use it, but like it :)

chick 07-08-2009 12:42 AM

Invalid SQL:
SELECT * FROM microbusiness_features WHERE id= LIMIT 1; error

If no items a blank page is received

Shouldn't items automatically go into the company?

jgommel 07-08-2009 03:01 AM

Okay, I want to like this mod, but there are way too many issues in this initial release. For starters, it's not Firefox 3.5 (Mac) friendly at all. The Home/Directory/Companies/User CP tabs do not format correctly in Firefox. When viewing a company, the Overview/Map/Photos/Items links are smashed together.

- I've tried multiple times to upload valid photos with a company, but the photos are never applied.

- There's no option to choose a category when you add a new company. I've added two categories from the AdminCP, but there's no place to choose the category when adding a new company.

- Unable to rate a company.

- This image nophoto.gif is missing from the /microbusiness/images/ folder. I checked my download and verified it's not there. Consequently, all image links are broken.

- If you add a website to a new company, then try to click the Website link on Company Overview it's prefixing like this: http://www.clevelandpaintball.com/fo...tpaintball.com

- While on the Home tab, if a user clicks on Premium Items/Top Rated Items/Popular Items/New Items their taken to a blank white screen.

I've tried this mod on both Safari 4.0.1 and Firefox 3.5 (Mac)

MaryTheG(r)eek 07-08-2009 04:17 AM

Quote:

Originally Posted by jgommel (Post 1844940)
Okay, I want to like this mod, but there are way too many issues in this initial release. For starters, it's not Firefox 3.5 (Mac) friendly at all. The Home/Directory/Companies/User CP tabs do not format correctly in Firefox. When viewing a company, the Overview/Map/Photos/Items links are smashed together.

Never thought that FF should not output correctly standard HTML formatting (width=xx)

Quote:

Originally Posted by jgommel (Post 1844940)
- I've tried multiple times to upload valid photos with a company, but the photos are never applied.






CMOD 777 folders:
  • microbusiness/files/
  • microbusiness/photos/
  • microbusiness/photos/thumbs/
  • microbusiness/photos/tmp
Quote:

Originally Posted by jgommel (Post 1844940)
- There's no option to choose a category when you add a new company. I've added two categories from the AdminCP, but there's no place to choose the category when adding a new company.

You can't assign categories to companies. Just to items. The logic is simple. If a company has items (items is not equivalent to product, but to shops etc) in different categories, what category can be used for company??? That's why, when you select "Companies" in search form at the top, the category list becomes inactive.

Quote:

Originally Posted by jgommel (Post 1844940)
- Unable to rate a company.

You can't rate a company. Company's overall rating is auto calculating from ratings of it's items. I think that this is the right approach to rating.

Quote:

Originally Posted by jgommel (Post 1844940)
- This image nophoto.gif is missing from the /microbusiness/images/ folder. I checked my download and verified it's not there. Consequently, all image links are broken.

Sorry, get it attached here.

Quote:

Originally Posted by jgommel (Post 1844940)
- If you add a website to a new company, then try to click the Website link on Company Overview it's prefixing like this: http://www.clevelandpaintball.com/fo...tpaintball.com

Can't duplicate this bug. For me works fine.

Quote:

Originally Posted by jgommel (Post 1844940)
- While on the Home tab, if a user clicks on Premium Items/Top Rated Items/Popular Items/New Items their taken to a blank white screen.

I forgot to remove the links. I did it for left column which is on all pages, and I forgot the central blocks on the index page.

But in general, I don't believe that some incompatibilities with FF, or a missing file, are droping it's value to rate it as "Terrible":D

Maria

MaryTheG(r)eek 07-08-2009 05:17 AM

Quote:

Originally Posted by chick (Post 1844884)
Invalid SQL:
SELECT * FROM microbusiness_features WHERE id= LIMIT 1; error

If no items a blank page is received

Shouldn't items automatically go into the company?

Yes, each item must be assign to a company. As for the error, please setup Features or deactivate them from microBUSINESS Options.

Maria

Cybeth 07-08-2009 12:38 PM

picture is missing (/microbusiness/images/navbit.gif)

MaryTheG(r)eek 07-08-2009 01:33 PM

Quote:

Originally Posted by Cybeth (Post 1845091)
picture is missing (/microbusiness/images/navbit.gif)

Attached here. Sorry.

Maria

Cybeth 07-08-2009 03:25 PM

Thanks MicroHellas :)

Code:

</head>
<body>
$header
$navbar
<div align="center">
<br>
<table cellspacing="0" cellpadding="0" border="0" width="100%">

I still removed from the Templates <br>
without it looks better ;)

MaryTheG(r)eek 07-08-2009 04:04 PM

Quote:

Originally Posted by Cybeth (Post 1845174)
Thanks MicroHellas :)

Code:

</head>
<body>
$header
$navbar
<div align="center">
<br>
<table cellspacing="0" cellpadding="0" border="0" width="100%">

I still removed from the Templates <br>
without it looks better ;)

If you check any of my other mods, this is the first one that I placed line break before the table. But this time it appeard ugly in my eyes, that's why I added it. Of course this is a personal taste.

Maria

ragtek 07-08-2009 05:29 PM

and to be xhtml valid, use <br /> ;)

But very nice add-on
searched since years for something like that

ragtek 07-08-2009 05:56 PM

One little thing i've seen in all your add-ons:

Use also actiontemplates and not only the globaltemplate array!

vengeance72 07-10-2009 08:55 AM

Hi Maria,

thank you so much for these great mod!
I got a little problem. My banner-ad displays a second time in the "Directory" field. Do you have a solution to stop that?

Thanks in advance,
Peter

MaryTheG(r)eek 07-10-2009 09:03 AM

Quote:

Originally Posted by vengeance72 (Post 1846262)
Hi Maria,

thank you so much for these great mod!
I got a little problem. My banner-ad displays a second time in the "Directory" field. Do you have a solution to stop that?

Thanks in advance,
Peter

Hello Peter,

Could you please explain it in more details? What's actually "banner-ad"? Can you give me your url to check it?

Maria

vengeance72 07-10-2009 10:53 AM

Yes of course I can. Try this url to check.
You will find out what I mean when you just take a look at my website. It's selfexplaning.

vengeance72 07-10-2009 12:03 PM

I found a little bug. When you would like to make a new entry, the "Companies" field entry is a drop down menu, but I think it has to be a text field. Please see screenshot.

Sweeks 07-10-2009 12:06 PM

Installed :)

MaryTheG(r)eek 07-10-2009 01:43 PM

Quote:

Originally Posted by vengeance72 (Post 1846329)
I found a little bug. When you would like to make a new entry, the "Companies" field entry is a drop down menu, but I think it has to be a text field. Please see screenshot.

No, it's not. You must at least a company before and then assign items to a company. This way company gets statistics from all items belonging to it.

MaryTheG(r)eek 07-10-2009 01:44 PM

Quote:

Originally Posted by vengeance72 (Post 1846303)
Yes of course I can. Try this url to check.
You will find out what I mean when you just take a look at my website. It's selfexplaning.

Make my life easier:) Give permission for access it. I registered in your site, but seems that even register members can't access it.

Maria

vengeance72 07-10-2009 01:58 PM

Oh, I'm sorry :o
Please try again, it will now works for you.

rEd86 07-10-2009 06:52 PM

Quote:

Originally Posted by MicroHellas (Post 1844964)
As for the error, please setup Features or deactivate them from microBUSINESS Options.

Maria

I am getting the same error:

Invalid SQL:
SELECT * FROM microbusiness_features WHERE id= LIMIT 1;


I turned off the "Features List" in the admin section and don't get the error. The problem is that even though I have created a master features list, you don't require the user to select one or more features when they are creating an item. So if no feature is saved with the item, the error occurs.

--Ed

rEd86 07-10-2009 07:12 PM

It would also be nice to configure how the addresses are displayed. (similar to what you do with "Date format")

Your template is set up for Europe:

Address1
Address2
ZIP, City
State, Country

where in the US the format is:

Address1
Address2
City, State ZIP

Not that it's too hard to update the "microbusiness_view_item" template directly. How do other modules handle postal address formatting? I would think it would be global based on the board/forum preferences, since it would be too complicated to map all the various countries.

--Ed

klaush 07-11-2009 09:08 AM

Hi Maria,

when trying to delete a company i get a blank page. Deleting a company is not possible.

Any idea? Thanks!

Black Tiger 07-11-2009 11:27 AM

Again a very fine MH mod. I think I'm going to try this one out later, but marked installed already.:) Thank you Maria!

Sweeks 07-11-2009 11:54 AM

Got this error here:

HTML Code:

Database error in vBulletin 3.8.3:

Invalid SQL:
SELECT * FROM microbusiness_features WHERE id= LIMIT 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 'LIMIT 1' at line 1
Error Number  : 1064
Request Date  : Saturday, July 11th 2009 @ 01:47:48 PM
Error Date    : Saturday, July 11th 2009 @ 01:47:48 PM
Script        : http://www.prowebforums.com/business.php?do=viewitem&itemid=1
Referrer      : http://www.prowebforums.com/business.php?do=directory&catid=2
Classname    : vB_Database
MySQL Version : 5.0.81-community

Hope there is a fix for :)

Thanks for this great script!

bada_bing 07-11-2009 04:00 PM

Maria,

This is a great app... I am getting ready to upgrade my site in a few day so I will make sure to install this, great work I have always been a fan of your work

ragtek 07-12-2009 06:01 AM

You should also move the options to phrases (directory, item, items, company,..)

MaryTheG(r)eek 07-12-2009 02:25 PM

Quote:

Originally Posted by ragtek (Post 1847326)
You should also move the options to phrases (directory, item, items, company,..)

Yes, it's also a way to use phrases. But I believe that most users are like me, always in rush to try something new. Having them in mind, I put them in options, as it's a simple step to change them, comparing with the time that they need to find them in phrases and change them. Just my approach. Both are correct.

Maria

jambo_1969 07-12-2009 03:09 PM

Tagged.

Brilliant idea - but I'll wait to see how it develops :)

the_ace 07-12-2009 05:10 PM

Hello, just finished installing this mod.
From where do I set the permissions for this ?

EDIT : nvm, found the permissions settings.

Great MOD!!

TAIFUN_T 07-16-2009 08:46 AM

Very nice!
Installed...

blake247 08-01-2009 12:47 AM

Quote:

Originally Posted by klaush (Post 1846853)
Hi Maria,

when trying to delete a company i get a blank page. Deleting a company is not possible.

Any idea? Thanks!

Same problem here.

SorentoUltimate 08-08-2009 03:48 PM

kalispera,

piga na sou steilo pm kai e-mail alla den ta exeis energopoiimena,
to site soy den paizei !!!

me endiaferei i full ekdosi, etoimazo ena site gia aytokinita kai tha tin ithela

steile moy pm me kapoio e-mail an theleis !

Euxaristo
Giorgos

Sweeks 08-10-2009 10:36 AM

Uninstalled the db errors still exist.


All times are GMT. The time now is 01:18 AM.

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.01555 seconds
  • Memory Usage 1,853KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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