Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
vBA CMPS: Webshop / Commerce Add-on (Physical Products) Details »»
vBA CMPS: Webshop / Commerce Add-on (Physical Products)
Version: 0.2b, by flup flup is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 01-20-2009 Last Update: 02-06-2009 Installs: 26
DB Changes Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

0. AUTHOR AND HACK INFORMATION

0.1 AUTHOR
This hack is created by Joshua de Gier
https://vborg.vbsupport.ru/member.php?u=5368

It uses code from vBA CMPS 3.1.0 to run properly
http://www.vbadvanced.com

Tested on:
vBulletin 3.7.2 and vBA CMPS 3.1.0

Should work on:
vBA CMPS 3.0+
vBulletin 3.6.x / 3.7.x / 3.8.x

0.2 HACK INFORMATION

Version: 0.2b
Secured the script from SQL injections

Version: 0.1b
Info: this is the first beta version of this hack, no installer or whatsoever is added. I'm looking for co-authors who can help me getting used to the vB product system and auto-template changes and template installations

File edits: 0
File uploads: 6

Database changes: 0
New Database tables: 5

Template edits: 1
New Templates: 1

New vBA CMPS Pages: 4
New vBA CMPS Modules: 1

1. INSTALL INSTRUCTIONS

1.1 SQL IMPORT
Included in the ZIP-file there is a .sql file. Open your PHPMyAdmin and import this file into your database this file creates the tables for the webshop.

1.2 FILE UPLOADS
Upload all files from the upload folder in the zip to your forum root in the matching folders

1.3 TEMPLATE EDITS
-> Open template 'adv_portal' and find this code:
HTML Code:
$home[leftblocks]
-> Above this add:
HTML Code:
<if condition="$show['shopping_cart']">$home[shop]</if>
-> Save template

1.4 NEW TEMPLATES
-> Create a new template called 'adv_portal_shoppingcart' and add this inside the field:
HTML Code:
$cartbits
-> Save template

1.5 NEW vBA CMPS PAGES
You have to add 4 new pages to your vBA CMPS system, in your admincp go to 'vBa CMPS -> Add Page':

1.5.1 CART

Quote:
-> Page Title: Cart
-> Page Identifier: cart
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/cart.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.2 CHECKOUT

Quote:
-> Page Title: Checkout
-> Page Identifier: checkout
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/checkout.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.3 SHOP

Quote:
-> Page Title: Shop
-> Page Identifier: webshop
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/shop.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.3 SHOP ADMIN

Quote:
-> Page Title: Shop Admin
-> Page Identifier: shop_admin
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/shop_admin.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.6 NEW vBA CMPS MODULES
You have to add 1 new module to your vBA CMPS system, in your admincp go to 'vBa CMPS -> Add Module':

1.6.1 SHOPPING CART

Quote:
-> Module Title: Shopping Cart
-> Active: yes
-> Module Parent: none
-> Templates used: adv_portal_shoppingcart
-> Page active: yes
-> Clean File output: yes
1.7 INSTALLATION FINISHED
You have now finished the installation!

2. CONFIGURATION AND LINKS
You now have to perform some change to your navbar/quick links, where you want to add them is completely up to you. The links you can use depend on how your vBa CMPS file is called. Let's say it's still the default filename: cmps_index.php. In that case you can use the links:

Webshop
HTML Code:
cmps_index.php?pageid=webshop
Shop Admin
HTML Code:
cmps_index.php?pageid=shop_admin
Go to your Shop Admin page and click 'Settings' from the leftside menu. Now configure your settings (also change the vBA CMPS page if it differs from the default cmps_index.php file!).

3. VERSIONS & FEATURES

VERSION:
  • version 0.1b
    This is the first version of the vBA CMPS Webshop script. It's very basic right now and open for beta testing and feature requests. However, it could take a while for requests to be added as I do not have much spare time left. Therefor I'm looking for a Co-Author who is willing to help me with this modification (perhaps also with making a product for template changes, etc.)

FEATURE LIST:
  • Shop home: category overview + 5 latest products
  • Shop category: product overview
  • Shop Products: view products
  • Shopping Cart: add products to cart
  • Shopping Cart: update/delete items in your cart
  • Member Discount: you can add special discount for forum members! This is perhaps a good way to attract members to your forums.
  • Unique user sessions: these are either based on user-id (if logged in) or ip-adres (if logged out). Shopping carts save infos as long as the order is not finished. If the order is finished, a new shopping-session will be created as soon as a product is added to the shopping cart
  • Unique owner per shop: you have the ability to add a specific user as a shop owner, this user can add/edit/delete products in this category and will receive an e-mail as soon as a product is ordered from his/her category
  • Order proces: orders are processed via mail! There are no online payment methods so far!
  • As each category has it's own owner, the proces will create a mail going out to each of them ONLY CONTAINING the products ordered from their category. If they manage multiple categories, it still will be one email
  • The user who ordered also receives an e-mail containing the complete order

4. UPCOMING FEATURES
There are a couple of features i'd like to add, as I haven't added them so far:
  • Image uploader (+ auto thumbnail)
  • Online Payment Processing via PayPal
  • Add/Edit/Delete buttons in frontpage if a users is an admin or the category owner
  • Show all orders in admin area (closed sessions)
  • Shop open session (sorted by start date) and have an option to delete sessions older than x days (to clean up database)
  • View orders: this page shows all of your orders in the past like the shopping basket

5. SCREENSHOTS
5.1: Homepage of the webshop, displaying the categories and random products
5.2: Categorie page: product listing
5.3: Shopping cart
5.4: Shopping cart updated (multiple products)
5.5: Submit order form (user details)
5.6: Order succesfull notice (if a field was left empty, the form will be reloaded and displays an error message)
5.7: Admin: Edit category (add category uses the same form)
5.8: Admin: Edit product (add product uses the same form)
5.9: Settings which can be editted
5.10: Admin: view categories
5.11: Admin: view products in category
5.12: Order e-mail received by both the website owner and the user who has order the product

That's it so far! Hopefully you'll enjoy this as much as I will

Show Your Support

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

Comments
  #22  
Old 02-10-2009, 07:15 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In fact it does not at the moment. It uses the template system in vBAdvanced to get the right header/footer/includes on the page. There is a plan to make a stand-alone version (which isn't that hard actually I think).

But before I do that, I want to finish all functions.

Anyway,.. you can also run vBAdvanced on another filename than index/forum (for example webshop.php) and use that file to run this addon.
Reply With Quote
  #23  
Old 02-15-2009, 06:12 PM
SouthpawK SouthpawK is offline
 
Join Date: Aug 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I have been looking for! The only thing stopping me from using this is that it need an intergrated payment system like PayPal. I think if you will get that feature implemented you will have a big hit!

I will be keeping my eye on this one and hoping for a payment system really soon. Hint, hint!
Reply With Quote
  #24  
Old 02-16-2009, 09:56 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is planned already but I do not have any time to do it right now due to school.
Reply With Quote
  #25  
Old 03-05-2009, 02:31 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there are any coders out there wo want to be co-author of this hack and expend/improve it, that would be more than welcome. Seems that I do not have any time to upgrade the hack untill summer..
Reply With Quote
  #26  
Old 04-14-2009, 07:35 AM
SouthpawK SouthpawK is offline
 
Join Date: Aug 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any more news on this? I wish I was a coder, I would be more than happy to give you a hand with this one.
Reply With Quote
  #27  
Old 04-30-2009, 05:14 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haven't received anything so far unfortunatly
Reply With Quote
  #28  
Old 05-01-2009, 07:03 PM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is sad.
This MOD have great future...
Reply With Quote
  #29  
Old 06-12-2009, 06:11 AM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perhaps upcoming summer.. maybe I can make the mod complete by then.. we'll see. I hoped that at least someone could help me out with this because of my lack of time.
Reply With Quote
  #30  
Old 06-18-2009, 05:21 PM
schniggl schniggl is offline
 
Join Date: Aug 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flup View Post
perhaps upcoming summer..
that would be great!!!
Reply With Quote
  #31  
Old 06-23-2009, 06:28 PM
joh's Avatar
joh joh is offline
 
Join Date: Mar 2006
Location: NY
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to keep an eye on this mod.
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 10:26 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.04732 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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_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