Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
MMstore RC2 (sell real items) Details »»
MMstore RC2 (sell real items)
Version: 1.00, by micheal332001 micheal332001 is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.5.4 Rating:
Released: 07-01-2006 Last Update: Never Installs: 21
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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>
************************************************************** 
Usergroup Permissions
*********************
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']; 
and add afterwards:

PHP Code:
$mmstorenewitems[itemimage] = $mmstorenewitems['itemimage'];
if (
$mmstorenewitems[itemimage] == ""){
$mmstorenewitems[itemimage] = $noimage;

find every instance of

PHP Code:
$mmstorerandomitems[price] = $mmstorerandomitems['price']; 
and add afterwards:

PHP Code:
$mmstorerandomitems[itemimage] = $mmstorerandomitems['itemimage'];
if (
$mmstorerandomitems[itemimage] == ""){
$mmstorerandomitems[itemimage] = $noimage;

find every instance of

PHP Code:
$mmstoremosthititems[price] = $mmstoremosthititems['price']; 
and add afterwards:

PHP Code:
$mmstoremosthititems[itemimage] = $mmstoremosthititems['itemimage'];
if (
$mmstoremosthititems[itemimage] == ""){
$mmstoremosthititems[itemimage] = $noimage;

There will be a couple instances where those are already in the code but there are like 20 instances where it needs to be added.

Then in
------------------
Template mmstore
------------------

Find:
PHP Code:
<td width="33%" align="center">$newitemsrightblock<br></td
Replace with:
PHP Code:
<td class="alt1" width="33%" align="center">$newitemsrightblock<br></td
Find
PHP Code:
<td width="33%" align="center">$randomitemscenterblock<br></td
Replace with:
PHP Code:
<td class="alt2" width="33%" align="center">$randomitemscenterblock<br></td
Find:
PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td
Replace with:
PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td
To alternate colors.


In template
----------------------------------
mmstore_mosthit_items_right_block
----------------------------------

Find:
PHP Code:
[hits]<br
Add AFTER:
PHP Code:
<a href="$mmstoremosthititems[itemimage]target=_blank><img src="$mmstoremosthititems[itemimage]width="50" height="50" align="center"></a><br /><br /> 
In template
------------------------------
mmstore_new_items_left_block
------------------------------
Find:
PHP Code:
[price]<br
Add AFTER:
PHP Code:
<a href="$mmstorenewitems[itemimage]target=_blank><img src="$mmstorenewitems[itemimage]width="50" height="50" align="center"> <br /><br /> 
In Template
---------------------------------
mmstore_rand_items_center_block
---------------------------------

Find:
PHP Code:
[price]<br
Add AFTER:
PHP Code:
<a href="$mmstorerandomitems[itemimage]target=_blank><img src="$mmstorerandomitems[itemimage]width="50" height="50" align="center"><br /><br /> 
And that should do it

To add the newest items added to the store on your forum home page click here for how to install.
I have made a install files for the plugin that can be downloaded.

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 07-06-2006, 08:03 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toolblast
This looks like a great start Michael!

Do you have any sort of live working demo URL we can check out? I'd like to take a test drive
I will be putting a demo of this online soon.
The demo i will be putting on will be the pro version with all the features.
The payment options will be disabled in the demo so you will not be able to click on the buy now buttons.
In the demo all you will be able to do is look around the store and use the other features.
The pro version will have about 6 payment options when its done, there will also be a buyers area to view the items you have payed for.
There will be a area for the seller to to view items he/she has delete the item change the status of the payments from pending, payment recieved, sending item and then 2 options after that for (if the payment did not go through it will add the item back to your quantity) (delete item as buyer recieved item).

There will be more to come for the buyers and sellers option will grow for both of these.

This mod is still in the early days and lots will change and be added.
  #43  
Old 07-06-2006, 03:57 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']; 


and add afterwards:



PHP Code:
$mmstorenewitems[itemimage] = $mmstorenewitems['itemimage'];

if (
$mmstorenewitems[itemimage] == ""){

$mmstorenewitems[itemimage] = $noimage;




find every instance of



PHP Code:
$mmstorerandomitems[price] = $mmstorerandomitems['price']; 


and add afterwards:



PHP Code:
$mmstorerandomitems[itemimage] = $mmstorerandomitems['itemimage'];

if (
$mmstorerandomitems[itemimage] == ""){

$mmstorerandomitems[itemimage] = $noimage;




find every instance of



PHP Code:
$mmstoremosthititems[price] = $mmstoremosthititems['price']; 


and add afterwards:



PHP Code:
$mmstoremosthititems[itemimage] = $mmstoremosthititems['itemimage'];

if (
$mmstoremosthititems[itemimage] == ""){

$mmstoremosthititems[itemimage] = $noimage;




There will be a couple instances where those are already in the code but there are like 20 instances where it needs to be added.



Then in

------------------

Template mmstore

------------------



Find:

PHP Code:
<td width="33%" align="center">$newitemsrightblock<br></td


Replace with:

PHP Code:
<td class="alt1" width="33%" align="center">$newitemsrightblock<br></td


Find

PHP Code:
<td width="33%" align="center">$randomitemscenterblock<br></td


Replace with:

PHP Code:
<td class="alt2" width="33%" align="center">$randomitemscenterblock<br></td


Find:

PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td


Replace with:

PHP Code:
<td class="alt1" width="33%" align="center">$mosthititemsrightblock<br></td


To alternate colors.





In template

----------------------------------

mmstore_mosthit_items_right_block

----------------------------------



Find:

PHP Code:
[hits]<br


Add AFTER:

PHP Code:
<a href="$mmstoremosthititems[itemimage]target=_blank><img src="$mmstoremosthititems[itemimage]width="50" height="50" align="center"></a><br /><br /> 


In template

------------------------------

mmstore_new_items_left_block

------------------------------

Find:

PHP Code:
[price]<br


Add AFTER:

PHP Code:
<a href="$mmstorenewitems[itemimage]target=_blank><img src="$mmstorenewitems[itemimage]width="50" height="50" align="center"> <br /><br /> 


In Template

---------------------------------

mmstore_rand_items_center_block

---------------------------------



Find:

PHP Code:
[price]<br


Add AFTER:

PHP Code:
<a href="$mmstorerandomitems[itemimage]target=_blank><img src="$mmstorerandomitems[itemimage]width="50" height="50" align="center"><br /><br /> 


And that should do it
  #44  
Old 07-08-2006, 08:11 AM
emtee emtee is offline
 
Join Date: Aug 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a cool mod!!! But for now, I want to use this store to sell items using vbBux points instead of real money. vbPlaza/vbBux doesn't have a real good store yet, so this would be a good store for it!

Can somebody mod this hack to change it to a store for vbPlaza/vbBux? I'll try to make the necessary changes to make it work with vbPlaza/vbBux but I'm not really sure whether I can do it.

Anyways, thanks for the great hack, micheal332001!
  #45  
Old 07-08-2006, 01:35 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by emtee
This is a cool mod!!! But for now, I want to use this store to sell items using vbBux points instead of real money. vbPlaza/vbBux doesn't have a real good store yet, so this would be a good store for it!

Can somebody mod this hack to change it to a store for vbPlaza/vbBux? I'll try to make the necessary changes to make it work with vbPlaza/vbBux but I'm not really sure whether I can do it.

Anyways, thanks for the great hack, micheal332001!
I like your idea to make this a shop for vbbux/vbplaza
i will have alook and see if i can sort this out but will take me a bit of time as i have other projects on the go.
  #46  
Old 07-09-2006, 06:31 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

I am redoing the menu thats in this store to be a dynamic menu system
  #47  
Old 07-09-2006, 10:30 PM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi! i've uploaded everything in the correct order, and no matter how many times i refresh the MMstore Management does not show up, if i try to go to the direct link for it /admincp/mmstore_admin.php it doesn't work if i try to go www.mysite.com/forum/mmstore.php it doesn't work. i get the message:

Page not found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

no matter what i try i get that message. any help would be great.
  #48  
Old 07-09-2006, 10:36 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yukino_AE
hi! i've uploaded everything in the correct order, and no matter how many times i refresh the MMstore Management does not show up, if i try to go to the direct link for it /admincp/mmstore_admin.php it doesn't work if i try to go www.mysite.com/forum/mmstore.php it doesn't work. i get the message:

Page not found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

no matter what i try i get that message. any help would be great.
If it can't find the file, you didn't upload them to the correct location. There's no other possibility lol.

/forum/mmstore.php needs to be there
  #49  
Old 07-09-2006, 10:52 PM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i guarantee they are uploaded correctly, i did load the mmstore.php in my forum root. it is at /forum/mmstore.php i did it twice just to be sure. i am looking in my root /forum and mmstore IS there.

all the file templates are there when i checked the templates manager.

and i placed the mmstore_admin in the admincp and it's not even showing in the admincp navigation. i've refreshed multiple times.
  #50  
Old 07-09-2006, 11:48 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yukino_AE
i guarantee they are uploaded correctly, i did load the mmstore.php in my forum root. it is at /forum/mmstore.php i did it twice just to be sure. i am looking in my root /forum and mmstore IS there.

all the file templates are there when i checked the templates manager.

and i placed the mmstore_admin in the admincp and it's not even showing in the admincp navigation. i've refreshed multiple times.
Well I don't know what to tell you besides a 404 error means that the file doesn't exist. Either it's there or not and I have never encountered a file not found error when the file has been there all along.

Just to be 100% sure:

Create a text file and call it something like test.txt and upload it into the directory you have mmstore.php in and then enter the url into your browser and go to /forum/test.txt and see if it pulls up the file.

I'm not trying to insult your know-how here at all so please don't think I'm trying to be a smartass - It's just something I have never encountered.

As far as the admincp, the xml file is the file that creates the additional menu option for the store and the actual php file in the admincp directory is what gets displayed in the right frame.

I'm 99.999999% sure you don't have the files uploaded to the correct location. But, I can always be wrong.
  #51  
Old 07-10-2006, 12:01 AM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i can understand your doubt, if i was in the same position i would think i hadn't uploaded them properly either. but i'm not new to uploading and adding mods and such. it is done properly.

i think it might be somthing to do with my server. it appears that it's not registering any new files that i upload and is generating that error. as i also loaded a test.txt. i'm hosted with powweb and i've contacted them, it's not just happening on the forum but when i try to load anything around my site.

my apologies, it doesn't seem to be the script at all. grrr. which would also explain why the admin mmstore is not registering either.

so if anyone else gets this error and they work with powweb it's something on that end. not the actual script itself.

many thanks for your prompt replies to my questions, i should have checked that first before automatically assuming it was something with the hack.
Closed Thread


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 11:21 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.07156 seconds
  • Memory Usage 2,416KB
  • 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
  • (38)bbcode_php
  • (4)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
  • (4)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