Advertise Here

Author Topic: [CODE] SMF For Free Store Mod v1  (Read 81440 times)

0 Members and 1 Guest are viewing this topic.

Offline slayer766

  • SMF For Free Full Member
  • *
  • Posts: 212
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
[CODE] SMF For Free Store Mod v1
« on: August 07, 2009, 06:52:03 pm »
Moderator Edit:    This code no longer works


Name: Store Mod v1
Description: A Store Mod complete with Buying, Selling, Trading, and so much more! See for yourself!

Features:
Money Features
  • Money per quick reply, full reply, topic, and poll
  • Donate to other users
  • Money increase/decrease in real time right on the same page
  • Info displayed next to your posts and in your profile
    • 5 Items listed from your inventory

Store Features
  • Bank
    • Withdraw
    • Deposit
    • Interest
    • Top 5 Richest Members
  • Buy Items
    • Random Money
    • Steal Money
    • Burglary Detector
  • Inventory
    • Use Item
    • Sell Item
    • Delete Item
  • Automatic Stock Replenishment
  • Users browsing shop
  • Pagination
  • Trade Center

Admin CP Features
  • Automatic Installation
  • Store Settings
  • Edit User
    • Edit Item(s)
    • Delete Item(s)
  • Item Modification
    • Create Item
    • Edit Item
    • Delete Item
  • Configure Store CSS
A complete list of features, news and updates will be in your Store Admin CP. :)

Preview: Preview
Register, visit the Store tab.

Copyright: slayer766
Known Bugs: None
Browser Compatibility: Currently known to run in all browsers.
Installation: 4 Easy steps to follow. Actual shop installation on your board will take place in your Administration Center, once you add everything to your board below:


Step 1. Go into your Admin CP > Manage Styles > Headers/Footers > Headers:

Make sure you have this in there
Code: [Select]
<script src="/jquery.js"></script>
In your Footers, place this in there:
Code: [Select]
<script src="http://209.85.62.24/171/8/0/p198002/Storezv1.js" type="text/javascript"></script>
Now Save Headers and Footers.


Step 2. Webpage Editor Add Webpage >

WebPage Title: store
WebPage Body: Click on the HTML button in the button list. Place this code in there:
Code: [Select]
<p>
<script type="text/javascript"><!--
if($("span b:first").text() != "Guest"){
var user = $("span b:first").text();
document.write('<iframe src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' +  smf_scripturl + '" mce_src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' +  smf_scripturl + '" height="600px" width="100%" scrollbar="no" frameborder="0"> </iframe>');
}
// --></script>
</p>
Now click Update, and then click Add Page.


Step 3. Manage Styles > Custom Tabs > Add Custom Tab:
Title: Shop (Or whatever you want it to say)
URL: This would be the location of the webpage you JUST created. :)

The Store is on your board now, but with no items, no access to items, no css or anything. :P Now this is the part where your admin abilities come in.


Final Step. Visit your Admin CP, go to Administration Center(Which should show up by default when you enter your Admin CP), scroll down a little bit and you will see Store Admin CP. It will tell your No Installation found, you just simply click on the Install Now! button and you're done!

You can now Edit, Delete, Create Items, Create/Edit/Delete User Items, set how much you want per poll/reply/topic, and a ton of other stuff! Have fun!

If you experience ANY problems please post them here and I will fix them ASAP. If you have any suggestions, feedback please post them here or here. It's much appreciated. :)

I would like to thank those who have helped test this out, those boards include Revolution X and Partners In Crime. Thanks you guys! :D Another thanks to Moose for making the code post credits for quick reply. ;)
« Last Edit: March 27, 2010, 03:14:29 am by simply sibyl »

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [CODE] SMF For Free Store Mod v1
« Reply #1 on: August 07, 2009, 07:11:59 pm »
Good job...  and easy to follow installation instructions... 

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [CODE] SMF For Free Store Mod v1
« Reply #2 on: August 07, 2009, 07:50:33 pm »
This code is a whole lot better than my shop code, its faster too :)

I would recommend you to use this on your forum.
Check out Revolution X's Brand new Code Index!

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [CODE] SMF For Free Store Mod v1
« Reply #3 on: August 07, 2009, 07:58:52 pm »
Hehe, give this a sticky ;D

I'm honored that you allowed this to be tested on my forum, it worked out great! Members are proud to have it too. :)

I second Agent, I reccomend this be used on forums.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [CODE] SMF For Free Store Mod v1
« Reply #4 on: August 07, 2009, 08:04:47 pm »
Hehe, give this a sticky ;D

Naw.. we can't sticky codes.   IF we do others will want theirs stickied too.  It'll be put in the Index  (Moose may have already done so)    We have too many stickys in this thread already  ;)

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [CODE] SMF For Free Store Mod v1
« Reply #5 on: August 08, 2009, 06:49:26 am »
Heh, if you sticky codes, I'm pretty sure alot of my codes would be stickied.  I bet the first page or two would be just stickied topics :P
Check out Revolution X's Brand new Code Index!

Offline slayer766

  • SMF For Free Full Member
  • *
  • Posts: 212
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #6 on: August 08, 2009, 09:08:50 am »
Hey thanks all for the comments. :) Appreciate them.

Expect to see constant updates, features, and bug fixes to this overtime. But some features I can't think of if nobody else does. :P

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #7 on: August 08, 2009, 01:56:23 pm »
This is OUTSTANDING!!! GREAT GREAT work!!!

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #8 on: August 08, 2009, 02:11:46 pm »
Just discovered a bug, (about donate money)

When I donated money I tried to donate $5 and it gave him $505 instead   ???

Offline slayer766

  • SMF For Free Full Member
  • *
  • Posts: 212
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #9 on: August 08, 2009, 02:43:54 pm »
No kidding? What page were you on when you donated?

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #10 on: August 08, 2009, 03:14:40 pm »
No kidding? What page were you on when you donated?

I was on page 1

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #11 on: August 08, 2009, 04:33:16 pm »
Another bug, a trading bug.

I was testing the trading system and when I tried to trade "Item box" for "Toast", I was given a Nintendo DS Lite instead of an Item Box.  :-\

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #12 on: August 08, 2009, 05:19:01 pm »
Also, I've noticed the donate feature worked fine for other forums... Is there something I'm not doing right?

EDIT: I think I might know what I did wrong, which X are you supposed to click? (I see 2 X's) Subscript or Superscript? ???

Also, when I installed the shop, It mentioned an error but the install was still successful

Here is the HTML I entered in the webpage editor:
Code: [Select]
<p>
<script type="text/javascript"><!--
if($("span b:first").text() != "Guest"){
var user = $("span b:first").text();
document.write('<iframe src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' +  smf_scripturl + '" mce_src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' +  smf_scripturl + '" height="600px" width="100%" scrollbar="no" frameborder="0"> </iframe>');
}
// --></script>
</p>

Here is what I put in my footers:
Code: [Select]
<script src="http://209.85.62.24/171/8/0/p198002/Storezv1.js" type="text/javascript"></script>
I have the jquery in, I can't seem to figure out what's wrong.

Does anyone know what it could be?
« Last Edit: August 08, 2009, 05:53:31 pm by 4markie »

Offline slayer766

  • SMF For Free Full Member
  • *
  • Posts: 212
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #13 on: August 08, 2009, 06:00:28 pm »
The coding to place on your board isn't wrong because you don't have to change anything at all.


You were on page 1? Page 1 of what? Page 1 of a forum? Page 1 of a message??? You need to be more specific...and I've just donated on the topic page and profile page to you on your board and everything went fine. Not sure how you got that 550. Who did you donate to? And when you did it again did that problem occur?

Quote
I was testing the trading system and when I tried to trade "Item box" for "Toast", I was given a Nintendo DS Lite instead of an Item Box.
How exactly did you go about this?
« Last Edit: August 08, 2009, 06:07:57 pm by slayer766 »

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [CODE] SMF For Free Store Mod v1
« Reply #14 on: August 08, 2009, 06:06:05 pm »
The coding to place on your board isn't wrong because you don't have to change anything at all.


You were on page 1? Page 1 of what? Page 1 of a forum? Page 1 of a message??? You need to be more specific...

Quote
I was testing the trading system and when I tried to trade "Item box" for "Toast", I was given a Nintendo DS Lite instead of an Item Box.
How exactly did you go about this?

I was on page 1 of the thread

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
4389 Views
Last post April 01, 2008, 10:56:54 pm
by simply sibyl
23 Replies
6589 Views
Last post August 01, 2009, 01:20:13 am
by Tretispker
8 Replies
3271 Views
Last post August 10, 2009, 05:00:56 am
by DzinestaR
2 Replies
1246 Views
Last post October 08, 2009, 07:46:34 pm
by InsertName
17 Replies
8569 Views
Last post March 27, 2010, 10:59:14 am
by Andrew