|
MMstore RC2 (sell real items)
This thread is in the Modification Graveyard.
Downloads for this modification have been removed according to Official Policy: When Security Vulnerabilities in Hacks are Found
What is MMstore ************************************************************* MMstore is a online store system for selling real items. User area ********* User can view items in the store. View items by categorys View payments to there items a user has added Search the store for a item See the store rules of use Add new items if the usergroup has permissions too View the items you have added to the store and delete them Contact us system PM or leaves a message in the store admincp View the PM's you have sent and delete them if no longer needed Admincp ******* General MMstore Settings ************************ MMstore On/Off? Categorys Per Page Items Per Page Sites URL MMstore Paypal Payment Settings ******************************* Turn Paypal ON/OFF Paypal URL Return URL From PayPal Button URL PayPal MMstore Currency Code And Pay Symbol Settings ********************************************* Currency Code Pay Symbol MMstore Image Settings ********************** Store Image Image URL Image Upload Path List Items Store Inactive Items Add New Items Active Rules Inactive Rules Add Rules Store Payments Categorys Add Categorys Contact Us Installation ************ 1. Upload files as-is to board but not the product-mmstore free rc2.xml file. 2. Log into admincp, Goto Plugin System then manage pruducts click [Add/Import Product] then inport the product-mmstore free rc2.xml file. 3. navigate back into admincp, (might need a refresh to get nav options) 4. click MMstore Management, then Store settings, Change the setting here to your needs 5. Edit navbar in navigation / breadcrumb templates ************************************************************** Find ************************************************************** PHP Code:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Add under ************************************************************** PHP Code:
<td class="vbmenu_control"><a href="mmstore.php">Online Store</a></td>
********************* You will need to set all user group permissions to who can view the store and add items. If you want to use this as a way to earn some money make the sellers by a subscription to sell items. To do this you will need to make a new usergroup called sellers or some thing like that. Then add a new subscription and set a price for them to sell items like. 1 month of selling £5 3 months selling £10 6 months selling £25 12 months selling £45 So when someone buys a subscription they will be able to sell as many items as they like for as long as there subscription lasts. All prices for subscription are up to you. If you make them pay for subscription you will need to change the usergroup permissions so that only that usergroup can add items. All other usergroups set to cannot add items. 6. all done add some items. All done Many thanks and enjoy this hack. Thanks to SkyCatcher you can add images to the new random and most hit items by adding in this code. When i get the time i will make a upgrade to the mmstore.php file to include this. in mmstore.php: --------------- find every instance of PHP Code:
$mmstorenewitems[price] = $mmstorenewitems['price'];
PHP Code:
$mmstorenewitems[itemimage] = $mmstorenewitems['itemimage'];
PHP Code:
$mmstorerandomitems[price] = $mmstorerandomitems['price'];
PHP Code:
$mmstorerandomitems[itemimage] = $mmstorerandomitems['itemimage'];
PHP Code:
$mmstoremosthititems[price] = $mmstoremosthititems['price'];
PHP Code:
$mmstoremosthititems[itemimage] = $mmstoremosthititems['itemimage'];
Then in ------------------ Template mmstore ------------------ Find: PHP Code:
<td width="33%" align="center">$newitemsrightblock<br></td>
PHP Code:
<td class="alt1" width="33%" align="center">$newitemsrightblock<br></td>
PHP Code:
<td width="33%" align="center">$randomitemscenterblock<br></td>
PHP Code:
<td class="alt2" width="33%" align="center">$randomitemscenterblock<br></td>
PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td>
PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td>
In template ---------------------------------- mmstore_mosthit_items_right_block ---------------------------------- Find: PHP Code:
[hits]<br>
PHP Code:
<a href="$mmstoremosthititems[itemimage]" target=_blank><img src="$mmstoremosthititems[itemimage]" width="50" height="50" align="center"></a><br /><br />
------------------------------ mmstore_new_items_left_block ------------------------------ Find: PHP Code:
[price]<br>
PHP Code:
<a href="$mmstorenewitems[itemimage]" target=_blank><img src="$mmstorenewitems[itemimage]" width="50" height="50" align="center"> <br /><br />
--------------------------------- mmstore_rand_items_center_block --------------------------------- Find: PHP Code:
[price]<br>
PHP Code:
<a href="$mmstorerandomitems[itemimage]" target=_blank><img src="$mmstorerandomitems[itemimage]" width="50" height="50" align="center"><br /><br />
To add the newest items added to the store on your forum home page click here Spoiler (click to open)
This will display a table on on your index page listing the newest added items from the mmstore.
You can adjust how many items to display in the adminCP under mmstore settings > forumhome items. Use a 0 to disable the table completely. Instructions also found in the text file. Install Time: about 5 minutes at most Difficulty: Moderate (Requires 1 sql query to be run before installation) Sql Queries to add: 1 Template Edits: 2 File Edits: 0 Files to upload via FTP: 1 Plugin Imports: 1 Install Instructions: Execute this SQL query: ------------------------ ALTER TABLE `mmstore_settings` ADD `forumhomeitems` INT( 11 ) DEFAULT '0' NOT NULL ; Upload the Plugin: ------------------ Upload the xml file through the AdminCP under Upload a Plugin and select mmstore_forumhomeitems.xml from your PC. Upload the new mmstore_admin.php file to your server: ----------------------------------------------------- Upload the mmstore_admin.php file to your /admincp folder and overwrite the original file. Add the following new template: ------------------------------- Template name: mmstore_new_items_forumhome Code:
<td class="alt1" colspan="5" align="center" width="5%"><a
href="mmstore.php?do=viewitemid&itemid={$mmstorenewitems[itemid]}">$mmstorenewitems[itemname]</a><br>Price
$mmstoresettings[paysymble]$mmstorenewitems[price]<br><a href="$mmstorenewitems[itemimage]" target=_blank><img
src="$mmstorenewitems[itemimage]" width="50" height="50" align="center"></td>
Edit FORUMHOME > FORUMHOME Template: ------------------------------------ Place this code wherever you'd like the table to be displayed. Code:
<if condition="$mmstoresettings['forumhomeitems'] > 0">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td colspan="100%" class="tcat" $catbgcode><a style="float:$stylevar[right]" href="#top" onclick="return
toggle_collapse('mmstore_new_items_forumhome')"><img id="collapseimg_mmstore_new_items_forumhome"
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a><b><a
href="mmstore.php">Neue Arktikel im Probetreff Shop</a></b></td>
</tr>
<tbody id="collapseobj_mmstore_new_items_forumhome" style="$vbcollapse[collapseobj_mmstore_new_items_forumhome]">
<tr>$shownewitems</tr>
</tbody>
</table>
<br />
</if>
Finished! Credit for the hack goes to micheal332001. 3.5.4 Hack > MMstore RC2 (sell real items) 3.6.0 Beta3 > index.php?t=120143 Close
I have made a install files for the plugin that can be downloaded. Download No files for download. Supporters / CoAuthors
Screenshots
|
|||||||||