The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
microCART: Shopping System for vB4 Details »» | |||||||||||||||||||||||||||||||||||||
microCART is a fully featured Shopping Cart for vBulletin 4.x, with support for Downloadable & Pysical Products, Subscriptions and Services, without missing any feature even from commercial scripts. Installation is very easy, you just need sometime for the initial configuration.
Edit: Please note - Currently this mod is only compatible with vBulletin 4.1.9 and below, if your using vBulletin 4.1.10 then the modifications current version released here (1.1.4) is not suggested for use. - TheLastSuperman 1.- Highlights
In version 1.0.3 has been added support for configurable options. Not just simple text choices, but options that can increase/decrease the total price. That's why you need to pay extra attention on entering these options to avoid pricing mess. First of all, you can find these options as "Extra Options" on the droplist on the right of each product (AdminCP). By choosing it you'll get a list of all available configurable options for the specific product. You can Edit and Delete it, or you can change the display order. Click "New Extra Option" to add one. There is no need for explanation of title. Write there anything that you want. Examples of configuration options are: Color, Size, Ram, Hard disk etc. So let's write Size. In the box below you must add all the available options keeping the format: Amount|Name Examples:
To understand Shipping fields (Base weight, Base fare, Extra weight, Extra fare), you must know how the companies (at least the most of them) are working. They're saying: Till 3 kilos the rate is $15. More than 3 kilos you must add $3 per 500gr (1/2 kilos). In this example you must setup:
The included HTML Editor is commercial, so you can use it ONLY within microCART directory. UPGRADING To upgrade just upload the new files then follow 2.- Installationwith Allow Overwrite set to YES CHANGE LOG
Download Now
Show Your Support
|
2 благодарности(ей) от: | ||
mohammadxxx, Romamo |
Comments |
#752
|
|||
|
|||
Is there manual updates in this thread?
|
#753
|
|||
|
|||
Warning: require_once([path]/includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/cart.php on line 71
Fatal error: require_once() [function.require]: Failed opening required '/home/*/public_html/*/*/functions_wysiwyg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*/public_html/*/cart.php on line 71 |
#754
|
|||
|
|||
Quote:
|
#755
|
||||
|
||||
Hi, I can't see the tab. It all looks like it is working but no tab shows
Any Ideas? thanks in advance |
#756
|
||||
|
||||
I can't seem to get the upload path right. I keep linking it to the downloads directory on my server but it still does not work.
|
#757
|
||||
|
||||
Hi!
the product its work perfectly on mu vb 4.2.0 patch 3. but i have a small question! how to change the user in other primary usergruop? now the usergroup upgrade its make in addizional. thanks inadvance |
#758
|
|||
|
|||
Hello people!
I wanted to know if anyone knows of any mods (I'm willing to buy it) that allows the purchase and sale of items between users of a forum. As already known sites pagins buying and selling things. Anyone know of a mod like this? sorry for my English, use google translator xD |
#759
|
|||
|
|||
Quote:
1.- With a text editor (like Notepad) open the file: microcart/functions.php 2.- Search for: Code:
function promoteUser($transid, $userid) Code:
function promoteUser($transid, $userid) { global $vbulletin, $db; $boughtdate = date("Y-m-d"); $orders = $db->query_read("SELECT * FROM ".TABLE_PREFIX."microcart_orders WHERE transid='$transid'"); while ($order = $db->fetch_array($orders)) { $productid = $order["productid"]; $product = $db->query_first("SELECT * FROM ".TABLE_PREFIX."microcart_products WHERE id=$productid"); $leng = $product[dlperiod]/2; $expiration = add_date($order[dend],$leng,0,0); $dend = date("Y-m-d", strtotime($expiration)); $db->query_write("UPDATE ".TABLE_PREFIX."microcart_orders SET paiddate='$boughtdate', dend='$dend' WHERE transid='$transid'"); $promousergroup = $product["promousergroup"]; if ($promousergroup > 0) { $user = $db->query_first("SELECT membergroupids FROM ".TABLE_PREFIX."user WHERE userid=$userid"); $groups = $user["membergroupids"]; $groupids = explode(',', $groups); if (!in_array($promousergroup, $groupids)) { if (empty($groups)) { $upgrade = $promousergroup; } else { $upgrade = $groups.','.$promousergroup; } $db->query_write("UPDATE ".TABLE_PREFIX."user SET membergroupids='$upgrade' WHERE userid=$userid"); } } } return; } Code:
function promoteUser($transid, $userid) { global $vbulletin, $db; $boughtdate = date("Y-m-d"); $orders = $db->query_read("SELECT * FROM ".TABLE_PREFIX."microcart_orders WHERE transid='$transid'"); while ($order = $db->fetch_array($orders)) { $productid = $order["productid"]; $product = $db->query_first("SELECT * FROM ".TABLE_PREFIX."microcart_products WHERE id=$productid"); $leng = $product[dlperiod]/2; $expiration = add_date($order[dend],$leng,0,0); $dend = date("Y-m-d", strtotime($expiration)); $db->query_write("UPDATE ".TABLE_PREFIX."microcart_orders SET paiddate='$boughtdate', dend='$dend' WHERE transid='$transid'"); $promousergroup = $product["promousergroup"]; if ($promousergroup > 0) { $db->query_write("UPDATE ".TABLE_PREFIX."user SET usergroupid='$promousergroup' WHERE userid=$userid"); } } return; } Code:
function downgradeUser($transid, $userid) Code:
function downgradeUser($transid, $userid) { global $vbulletin, $db; $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."microcart_invoices SET invoicestatus=7 WHERE transid='$transid'"); $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."microcart_orders SET paid=0 WHERE transid='$transid'"); $orders = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."microcart_orders WHERE transid='$transid'"); while ($order = $vbulletin->db->fetch_array($orders)) { $productid = $order["productid"]; $product = $vbulletin->db->query_first("SELECT * FROM ".TABLE_PREFIX."microcart_products WHERE id=$productid"); $promousergroup = $product["promousergroup"]; if ($promousergroup > 0) { $user = $vbulletin->db->query_first("SELECT membergroupids FROM ".TABLE_PREFIX."user WHERE userid=$userid"); $groups = $user["membergroupids"]; $groupids = explode(',', $groups); if (in_array($promousergroup,$groupids)) { $key = array_search($promousergroup, $groupids); unset($groupids[$key]); $downgrade = implode(',', $groupids); $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."user SET membergroupids='$downgrade' WHERE userid=$userid"); } } } return; } Code:
function downgradeUser($transid, $userid) { global $vbulletin, $db; $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."microcart_invoices SET invoicestatus=7 WHERE transid='$transid'"); $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."microcart_orders SET paid=0 WHERE transid='$transid'"); $orders = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."microcart_orders WHERE transid='$transid'"); while ($order = $vbulletin->db->fetch_array($orders)) { $productid = $order["productid"]; $product = $vbulletin->db->query_first("SELECT * FROM ".TABLE_PREFIX."microcart_products WHERE id=$productid"); $promousergroup = $product["promousergroup"]; if ($promousergroup > 0) { $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."user SET usergroupid='2' WHERE userid=$userid"); } } return; } *** ATTENTION *** Downgrading the user means that he is going to usergroup 2 (Registered Members). So if you're selling another product which also promotes the user to a higher usergroup, then the user will LOSTS that promotion. That's why using the additional usergoups is the best choice. Chris |
Благодарность от: | ||
Ichigo88 |
#760
|
||||
|
||||
thank you! work perfectly now!! best plug
|
#761
|
||||
|
||||
anyone know how to change the size of the product block that appears in the main forum page, I just want to shorten mine a bit.
thanks in advance for any help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|