SMF For Free Support Forum

SMF For Free Support => SMF For Free Codes and Support => Topic started by: slayer766 on August 07, 2009, 06:52:03 pm

Title: [CODE] SMF For Free Store Mod v1
Post by: slayer766 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

Store Features

Admin CP Features
A complete list of features, news and updates will be in your Store Admin CP. :)

Preview: Preview (http://slaycode.smfforfree.com/index.php)
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 (http://slaycode.smfforfree.com/index.php/board,3.0.html). 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. ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 07, 2009, 07:11:59 pm
Good job...  and easy to follow installation instructions... 
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose 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.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew 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.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl 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  ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose 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
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 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
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 01:56:23 pm
This is OUTSTANDING!!! GREAT GREAT work!!!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie 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   ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 02:43:54 pm
No kidding? What page were you on when you donated?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 03:14:40 pm
No kidding? What page were you on when you donated?

I was on page 1
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie 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.  :-\
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie 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?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 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?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie 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
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 06:10:35 pm
Re-read my above post.


Quote
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? Huh

Also, when I installed the shop, It mentioned an error but the install was still successful
What 2 X's? Could you take a screenshot of this? Also, the error, what did it say? Would be really helpful if you could note this information down otherwise I have no idea how to fix it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 06:15:23 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?

I donated to Code Slasher in who which name showed up on the shop as "Code SlasherViewmypage" since the shop was interfereing with a code.  I think that's what it had to do with it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 06:16:56 pm
Re-read my above post.


Quote
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? Huh

Also, when I installed the shop, It mentioned an error but the install was still successful
What 2 X's? Could you take a screenshot of this? Also, the error, what did it say? Would be really helpful if you could note this information down otherwise I have no idea how to fix it.

I will take a screenshot hold on.  And yes, I just tried again too after removing the other code (not the shop) and it worked fine.  And what about the trade?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 06:19:16 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?

I donated to Code Slasher in who which name showed up on the shop as "Code SlasherViewmypage" since the shop was interfereing with a code.  I think that's what it had to do with it.
Oh, yeah I saw the View my page bit, definitely a code conflict...
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 06:25:39 pm
Here is the screenshot, are one of these the two X's you were talking about?
http://i272.photobucket.com/albums/jj168/Roboticopperatingbuddy/newshopsupportpic.jpg
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 06:43:22 pm
I didn't say anything about any x's...
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 06:49:00 pm
I didn't say anything about any x's...

Huh? you said:
Quote
Now click Update then click on the X of the webpage editor, and then click Add Page.

Anyhow, I tested the trading again and it still is not working right.

And oddly, sometimes it works fine and sometimes it doesn't, I'm going to keep testing it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:00:24 pm
I was talking about the X for the Close window.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 08, 2009, 08:06:29 pm
That confused me too slayer.
After you click  "Update"  in the html popup -  you only need to click "Add Page"
The popup closes when you click on "Update" and there is no "X" to close it
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:09:40 pm
Yeah there is an X, it's not text but a representation of an X, and I say that because whenever I click Update on the popup it never closes out for me.

Sorry about the confusion.  :idiot2:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 08, 2009, 08:14:19 pm
Yeah there is an X, it's not text but a representation of an X, and I say that because whenever I click Update on the popup it never closes out for me.

Sorry about the confusion.  :idiot2:

You may need to clear that up in the directions.    It may depend on the browser.
In my IE7 there is no "X" -   when you click "Update" it automatically closes. 
Maybe tell them Click "Update"  -  if the popup does not close click "X" to close it


Edit:  I just tried it in Firefox - it auto closed in it too.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:19:31 pm
I have Firefox and I don't know why it doesn't auto close. :( But I did update the instructions.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 08, 2009, 08:20:53 pm
could be a browser setting ...    java up to date on your pc?       using the newest version of fox?  (3.52)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:25:34 pm
I don't know about the up to date java and I have FF v3.0.12
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 08, 2009, 08:31:37 pm
I don't know about the up to date java and I have FF v3.0.12

Would be a good idea to check...  those updates fix vulnerabilitys...   
This is a good place to check to see that important programs are up to date on your pc -
http://secunia.com/vulnerability_scanning/online/

Noticed you fixed the directions.... good job!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:32:55 pm
I'll check on that. :)

I'm just wondering, but could I get your thoughts on the Store Mod?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 08, 2009, 08:35:00 pm
I'll check on that. :)

Good.. do so.. it really is important  (windows updates frequently too)

Quote
I'm just wondering, but could I get your thoughts on the Store Mod?

I set it up on my old forum just to see it -  I dont run a forum on this service anymore so I won't be using it but it looks like you've done a very good job with it
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 08, 2009, 08:39:18 pm
Ah, I see - thanks sibyl . ^_^

EDIT: After updating my Firefox to the current version it did close automatically after update. :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 08, 2009, 09:41:49 pm
Ah, I see - thanks sibyl . ^_^

EDIT: After updating my Firefox to the current version it did close automatically after update. :P

Yep, it seems you worked very hard.  Good job.

How long have you guys been working on this?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: rileyks on August 08, 2009, 09:49:55 pm
I am trying this out on my test forum.....however on my real forum I don't use the webpage...do you have to have that to use the shop?  I tried it without a webpage and the shop installed ok and I added an item but when I click on the shop tab....nothing happens.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 08, 2009, 10:04:04 pm
You have to create a webpage to use a code ;) That's how the users BUY the items.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: rileyks on August 09, 2009, 07:34:45 am
You have to create a webpage to use a code ;) That's how the users BUY the items.

Ok. Thanks!  So we are talking about the Webpage Editor on the forum, right?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 09, 2009, 08:26:50 am
yea.

Admin CP > Webpage Editor > Add Webpage > HTML (button on toolbar in editor) > Paste code there
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 09:44:55 am
Quote
Yep, it seems you worked very hard.  Good job.

How long have you guys been working on this?
It's just me working on this. ;)


Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 11:27:07 am
Quote
Yep, it seems you worked very hard.  Good job.

How long have you guys been working on this?
It's just me working on this. ;)




Wow
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 11:42:50 am
Yup. Which is why I need all the help on the support(Thank you Seldom Fail) and features to think of that you guys would love to have. :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 11:53:13 am
Yup. Which is why I need all the help on the support(Thank you Seldom Fail) and features to think of that you guys would love to have. :D

Question:  Why does it say "Being written..." on the request page thing?  ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 11:57:29 am
You basically just answered your question. ;)

It's being written.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 12:00:22 pm
You basically just answered your question. ;)

It's being written.

Lol
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 04:48:37 pm
I've just written in a Theme Chooser for users to change their Theme in the store. And Admin controls to Create/Edit/Delete their themes. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 04:52:19 pm
I've just written in a Theme Chooser for users to change their Theme in the store. And Admin controls to Create/Edit/Delete their themes. :)

Dude ever since you did that the shop doesn't work anymore  :'(

When I try to do something I get something like this:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/slayerco/public_html/SMFMS/Storefront.php on line 318
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 05:04:46 pm
Ok, no worries. Should be fixed now.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 05:05:57 pm
Ok, no worries. Should be fixed now.

Works now thanks! :)

Phew! for a sec I thought all my items were erased  :buck2:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 05:24:27 pm
Now with the new theme thing I don't know how to apply a theme haha  :idiot2:

Can you help me?  Sorry, I'm so stupid.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 05:55:34 pm
It's the same as last time, but instead you input the CSS you want on the right hand table(In Configure Store CSS) Theme CSS, and then give your Theme a name, and click the button Create. :) Your newly installed theme will appear in the themechooser in your store pages, and in your configure store css location it will appear for you to edit/delete it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 06:05:43 pm
It's the same as last time, but instead you input the CSS you want on the right hand table(In Configure Store CSS) Theme CSS, and then give your Theme a name, and click the button Create. :) Your newly installed theme will appear in the themechooser in your store pages, and in your configure store css location it will appear for you to edit/delete it.

Oh my god I totally forgot about the theme chooser  :uglystupid2:

I feel so stupid now  :uglystupid2:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 06:20:55 pm
There never was one until I just wrote it. :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: DzinestaR on August 09, 2009, 07:12:57 pm
Good job the green theme doesn't change it stays default in preview, just letting you know.

-DzinestaR
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: DzinestaR on August 09, 2009, 07:16:45 pm
Sorry for the double post, but is there a way to set a custom theme as the default for all member now?

-DzinestaR
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 08:33:06 pm
Default theme will stay at the stores actual default css. I'll have to find a way for what you are asking.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: DzinestaR on August 09, 2009, 09:23:56 pm
Ok hope to see that soon.

-DzinestaR
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 09, 2009, 09:47:12 pm
:)

Added in an Install Add-On section to the Store Admin CP. This is where you can install add-ons to the store, for admins that don't want everything they can install/uninstall it themselves. :)

Currently there is only 2 add-ons to install. Store Chat, and Advertisement System.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 10:04:19 pm
:)

Added in an Install Add-On section to the Store Admin CP. This is where you can install add-ons to the store, for admins that don't want everything they can install/uninstall it themselves. :)

Currently there is only 2 add-ons to install. Store Chat, and Advertisement System.

Cool!

Just to say, you're doing a great job on this.  Keep up the good work.  :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: rileyks on August 09, 2009, 10:21:27 pm
You have to create a webpage to use a code ;) That's how the users BUY the items.

Thanks!  So on my test forum I added a web page...but my store was there before I did that so now how can I put the url in from the webpage?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 09, 2009, 10:28:54 pm
Hi, 2 other questions  :uglystupid2:

How can I add Ad points the the store?  :-\

And now there is no section to approve the ads submitted to the store  :buck2:

Thanks.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose on August 10, 2009, 08:18:03 am
Slayer, Might I suggest you make the chat on a different page from the store :)

Its kinda random having a chat at the bottom of the store :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 10, 2009, 08:29:05 am
Quote
Thanks!  So on my test forum I added a web page...but my store was there before I did that so now how can I put the url in from the webpage?
What? How could the store be there before you added your web page? Could you post your board url where this happened. It's not even possible that could happen unless you meant after.


Quote
Hi, 2 other questions

How can I add Ad points the the store?

And now there is no section to approve the ads submitted to the store

Thanks.
You get the first 10 initial points(Admins set the cost, default is just $250), you could tell by visiting the Advertise section IF your submission was Approved. To get more points you just buy items from the Store - which there aren't none of that type yet because I have to write them first. It's going to be created overtime, I can't do it all at once you know. ;)

If there is no section to approve the ads submitted you need to install the Advertisement System addon. Check your Store Admin CP > Install Add-Ons. ;)


Do you think that would be better Moose?
I've added the Store Chat to it's own page, we'll see how that goes.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 10, 2009, 11:01:10 am
Quote
Thanks!  So on my test forum I added a web page...but my store was there before I did that so now how can I put the url in from the webpage?
What? How could the store be there before you added your web page? Could you post your board url where this happened. It's not even possible that could happen unless you meant after.

slayer -   I believe they may have had Agent Moose's  shop (store) code and that did have a tab for it
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 10, 2009, 12:02:54 pm
Ah, that could be the reason then. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: rileyks on August 10, 2009, 04:15:05 pm
Quote
Thanks!  So on my test forum I added a web page...but my store was there before I did that so now how can I put the url in from the webpage?
What? How could the store be there before you added your web page? Could you post your board url where this happened. It's not even possible that could happen unless you meant after.

slayer -   I believe they may have had Agent Moose's  shop (store) code and that did have a tab for it

lol well to be honest....I am not sure what url I put in there when I installed the store.  That could be why it doesn't work anyway...lol.

Edit:  I figured out what I didn't do...I had to put the webpage url in the custom tab!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 10, 2009, 07:45:59 pm
Yup, it says in the instructions
Quote
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.
;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 10, 2009, 09:43:13 pm
When I add something to the chat or make a transaction it goes white and doesn't do it.

All of a sudden, I have it working.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 11, 2009, 08:12:30 am
Did you forget a step in the instructions or something?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 11, 2009, 08:21:10 am
No, it works now, must have just been my computer.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 11, 2009, 09:46:52 am
Hey slayer, do you think you can fix the trade bugs?  It's causing alot of problems.

Thanks
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 11, 2009, 04:03:31 pm
And those would be...?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: rileyks on August 11, 2009, 04:07:45 pm
Sorry...I have another question.

In my forum we work with like fake money, we call them coupons.  People earn them doing our contests and such.  What we have in our Store are Graphics, we call them Stamps, for their Passport, which is another post with their name where they collect them.

So I put each stamp for sale in my Store, which I am calling Gift Shop.  Now, when they purchase them there is no way for anyone to know which one was purchased and by whom so it can be added to their Passport.

Is there anything that could notify a staff member when one is purchased, which one it is and which member purchased it?  Like a private message or something?

In your design when something is put in the Store and is purchased how does that person get the thing they purchased?  Maybe I set up something incorrectly or didn't set up something correctly...lol.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 11, 2009, 04:09:00 pm
And those would be...?

Well sometimes when 2 people trade they get the wrong items.  Sorry if I sound pushy I was just making sure that you knew.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 11, 2009, 05:04:59 pm
Quote
In my forum we work with like fake money, we call them coupons.  People earn them doing our contests and such.  What we have in our Store are Graphics, we call them Stamps, for their Passport, which is another post with their name where they collect them.

So I put each stamp for sale in my Store, which I am calling Gift Shop.  Now, when they purchase them there is no way for anyone to know which one was purchased and by whom so it can be added to their Passport.

Is there anything that could notify a staff member when one is purchased, which one it is and which member purchased it?  Like a private message or something?
Sorry, I'm not going to make something like that...


Quote
In your design when something is put in the Store and is purchased how does that person get the thing they purchased?  Maybe I set up something incorrectly or didn't set up something correctly...lol.
It's added to their inventory, just like it says when you buy it. Item Name Bought, telling you how much you have left and saying its added to your inventory. You know how this works you've been buying/selling items.


Quote
Well sometimes when 2 people trade they get the wrong items.
I believe that might have been fixed already, please post here if it happens again and I'll check over the code.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 11, 2009, 07:40:10 pm
Quote
In my forum we work with like fake money, we call them coupons.  People earn them doing our contests and such.  What we have in our Store are Graphics, we call them Stamps, for their Passport, which is another post with their name where they collect them.

So I put each stamp for sale in my Store, which I am calling Gift Shop.  Now, when they purchase them there is no way for anyone to know which one was purchased and by whom so it can be added to their Passport.

Is there anything that could notify a staff member when one is purchased, which one it is and which member purchased it?  Like a private message or something?
Sorry, I'm not going to make something like that...


Quote
In your design when something is put in the Store and is purchased how does that person get the thing they purchased?  Maybe I set up something incorrectly or didn't set up something correctly...lol.
It's added to their inventory, just like it says when you buy it. Item Name Bought, telling you how much you have left and saying its added to your inventory. You know how this works you've been buying/selling items.


Quote
Well sometimes when 2 people trade they get the wrong items.
I believe that might have been fixed already, please post here if it happens again and I'll check over the code.

Okay I'll let you know if it happens again ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 11, 2009, 07:48:38 pm
Any chance that you can make it so that if a post is deleted, it takes away the money thatw as added by that post.

Or is that already added?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 11, 2009, 08:46:12 pm
I could write that, but it's not very safe to do at all.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 11, 2009, 09:03:14 pm
OK, I guess I don't need that.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: [FailSafe] on August 11, 2009, 10:43:03 pm
Sorry, I'm not going to make something like that...

Actually, instead of a personal messaging system it would be kind of easy to set up a new section (although i don't really know what it looks like since it's not on my site) in the Store for admins that is set up similarly to the Stat Tracker on SMF where it will track all the purchases made on the site.

The way i see it is like this: Like the way members in the Admin section or in the normal Memberlist on the site is set up and organized by different sections (Name, Date Registered, Posts, etc.) the purchase list would be set up the same way; organized by Purchaser, What they bought, date they bought it, etc. And at the bottom would be a button to clear out the cache.

I'm not a coder so this is way too advanced, but i do know some of the basics so i might be able to muddle my way through coding it if you aren't interested slayer. It's just something that should be on the site. And if you're worried about information of people's purchases have it where this section can be turned on and off, like for the Arcade or Calender.



On a side note: Is there a post-limit option for people only above a certain amount of posts to buy stuff? Or maybe a feature that can be added into the membergroup's permissions?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 11, 2009, 11:06:35 pm
So you think that storing(Well it already stores all data obviously), for the forum admins to observe/remove from the list the data of all item purchases/selling/deleting?

A post limit option would require information from the users profile page which would mean to load a new page(Doubleing the use of munching down ad credits), would slow the forum down a little and users could just disable javascript to get around it. So I don't think post limit should be in there as a feature.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: [FailSafe] on August 11, 2009, 11:12:40 pm
I didn't really get the first question.

And i didn't know that it would have to load a new page, but wouldn't it have to gather information from the profile anyways to see how much money the user has to spend on the product they are buying?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 12, 2009, 03:50:08 pm
No...that's not how this modification works. It uses a MySQL database on my host, which stores all information that I write it to. Kinda like with what SMF For Free does with all their boards. Which is how he is able to know everything about all boards.


My first question was basically saying a log for admins of actions throughout the buying/selling/deleting process. Such as who bought what, and when, how much. Who sold what and when and for how much, etc. etc. Is that what you meant?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: [FailSafe] on August 12, 2009, 06:33:47 pm
Oooh~ Ok, i think i get it. So you host your own database which where all the information is stored, and where the store mod retrieves it's information from. But wouldn't you be able to store the post-limit information on there if you code it into the mod?

And yeah, thats what i was saying. I was just explaining how i thought it should/could look though.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 12, 2009, 06:38:34 pm
<_< Storing the post count would require a CONSTANT check to see if the user has posted and then update their post count each time for each user everywhere, too much hassle and killer on resources and not really needed for this.


Everyone is going to have to redo their themes, I've sorta messed it up. XD
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: [FailSafe] on August 12, 2009, 09:05:57 pm
Hm...Alright, i'm still trying to figure out how this whole SQL Database/php works. Thanks slayer. Much luck with the store.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on August 14, 2009, 04:54:21 am
It says: Ok then, go be stupid somewhere else...
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 14, 2009, 10:30:41 am
Correct. Do not open any of the links in the store in a new window.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on August 14, 2009, 06:56:35 pm
Now how to fix this?

Forbidden

You don't have permission to access /SMFMS/Admin.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 14, 2009, 08:48:23 pm
That wouldn't be caused by the code ;)

Do you still get that error when trying to use the admin panel?

Title: Re: [CODE] SMF For Free Store Mod v1
Post by: NYNick on August 14, 2009, 09:52:23 pm
Correct. Do not open any of the links in the store in a new window.
I wish I had read that earlier... Now I'm locked out of my store :( I usually open links in a new window and didn't expect anything bad to happen when I did
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 14, 2009, 11:10:42 pm
Anyone who opens the link in a new window gets logged into my database and if there are any new ones in there that aren't already restricted by IP then you are going to be.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: NYNick on August 15, 2009, 06:34:32 am
eh, I had no clue about that. Well, I'm uninstalling it now, but thanks for the code, and good luck with it
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on August 15, 2009, 07:41:42 am
Now I won't be able use the shop code  :(
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 15, 2009, 08:31:42 am
Slayer, you should probably put that somewhere in the first post or somewhere in the shop coding. So that people don't continue to do that.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: NYNick on August 15, 2009, 11:59:54 am
Just curious.. Will I be able to donate my Money to other users since I'm banned from the shop? I am a member on a few forums that use this, and might as well give the money away. Thanks
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 15, 2009, 06:41:29 pm
You aren't banned forever. Just for the time, since you didn't know about it I'll fix your status soon...guess I'll have to note that in the installation or something.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 15, 2009, 07:52:16 pm
thank you slayer and co :D great code
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on August 16, 2009, 09:00:41 am
I'm just curious. If I ever accidentally open the store in a new window. I get banned for sometime before I could use the store right? So uhm how do I unban myself? If I misunderstood please correct me.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 16, 2009, 10:18:48 am
You don't unban yourself, slayer has to.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 16, 2009, 04:57:14 pm
Quote
thank you slayer and co  :D great code
co? :O But no problem. :)


Yes, Jntg4 is correct. If you "accidentally" do, then just please PM me about it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 16, 2009, 05:02:41 pm
what i mean as Co. was if anyone else helped in making this :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 16, 2009, 07:00:02 pm
No there wasn't. The only help I received was Moose making the posting in the quick reply add money.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 16, 2009, 07:17:36 pm
So quick replieas count now?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 16, 2009, 08:45:49 pm
They have since the release.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 16, 2009, 09:32:30 pm
OK.  Thank you.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 08:40:38 am
i have seen on revolution x that it doesnt show the Top 10 Richest Members Global.. how do you take it off

am 10th on it btw :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 09:06:29 am
Edit your theme(For the Store) and add this to it:

Code: [Select]
#global_members
{
display: none;
}
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 09:09:53 am
that did the trick thanks slayer....

Your a Legend!!! :D

Does anyone have good items that they use in their store :D i want more items :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 09:49:17 am
What items do you have already?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 10:22:16 am
Mr. Slayers Beer Mug
Steal Money
Random Item
Burglary Detector
Random Money
Test Item 3
Bag of air
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 12:14:35 pm
:O

Those are just the default items upon installation. You don't have ANY other ones? You know you can make what you want in your Store Admin CP > Item Modification.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 12:22:13 pm
o right lol.. could you do it so you lose 1 hour on total time logged in or lose post counts??
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 12:49:24 pm
Impossible. I don't, or nobody else but SMF For Free has access to the database.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 12:50:44 pm
okie

so what sort of items can i do for it that would be fun?

and
Code: [Select]
#global_members
{
display: none;
}

you gave me only doesnt show the global members on mine but it shows on my brothers account and he is a global mod on my forum.. could that be the reason???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 03:28:06 pm
You have to have it on all themes you use if you want it for them all. Putting that in 1 css file isn't going to hide for all other separate themes.

Quote
so what sort of items can i do for it that would be fun?
Use your imagination? I've given you half a dozen of actual item effects.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: nickrulz1 on August 17, 2009, 03:58:09 pm
okie last question.. some of my items have rand out of stock..

how do i re stock?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 05:47:01 pm
It's automatic. Each night at midnight stock increases on all items everywhere by 1.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 17, 2009, 07:10:14 pm
what? ? ?

When ever I try to do something I get the message: Ok then, go be stupid somewhere else.

I think I got banned from the shop... help please...

Why did you set it to ban anyone who opens the shop in a new window?

 ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 17, 2009, 08:45:51 pm
.......ugh, it's to stop people from cheating.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on August 17, 2009, 09:19:38 pm
.......ugh, it's to stop people from cheating.

appears to work   :2funny:

Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 17, 2009, 09:55:48 pm
.......ugh, it's to stop people from cheating.

LOL, anyhow, how could I cheat by opening up a shop link in a new window? ? (you don't have to tell me if you'd rather keep it private)

PS: I've tried it before you added that auto ban thing and it just brang me to Smf support and nothing else happened.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: CowMoo on August 18, 2009, 05:58:02 am
Sorry dude. I accidentally doomed myself regardless of all the obvious warnings, just a force of habit.  :-\

Could you help me? Please?  :)

my site is: http://cst.smfforfree3.com/
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 18, 2009, 08:16:55 am
Ok now this is getting lame. Ever since someone mentioned about the new window everyone has been opening it in a new window. This isn't going to happen anymore. I said to PM me and we'll see.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: ringmasters on August 22, 2009, 01:26:20 pm
Thank you so much you the best :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 23, 2009, 09:26:18 pm
Thanks. :)

I've also created an item effect to allow users to purchase a color username item(Currently this item only colors a users' name RED, it will allow you to specify your color soon). You'll have to add this item through your Store Admin CP > Item Modification > Create Item and then name it and whatever else you want it to be and choose the effect "Color Username"
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: webworldx on August 24, 2009, 06:04:28 am
Brilliant brilliant work as always Slayer!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 24, 2009, 09:23:09 am
*waves* Hey!  :)


Thanks, and I was just thinking I should write this for people on SMF For Free since it was requested quite a bit and I wanted to, still in v1 - going to become v2 soon with registration to the shop so nobody can cheat at all.



Also, you can now choose from 9 different colors to change your username color with the color username item.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 24, 2009, 09:54:36 am
Nice job slayer!
Will the code be different for v2?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 24, 2009, 10:44:16 am
v2 will basically be a fresh start, this is to require member registrations to the shop. Otherwise there is the possibility of cheating.

Users can still stick with v1 if they would like.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: MMFWCL on August 24, 2009, 11:41:11 am
when you create V2 you should add more auto-items..and more styles =)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 24, 2009, 01:07:01 pm
Well I would add as many items with effects if people suggest them. So far, nobody has suggested anything at all. Mostly they just use this code and give themselves a ton of money and that's it...plus the styles, I would know which ones to add.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on August 28, 2009, 08:58:39 pm
Hey slayer, may I just suggest a way to remove or turn off the color effect (NOT THE ITEM) instead of it being permanent after it's used?  Thanks!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: pie-jacker on August 30, 2009, 04:46:58 pm
Um... I am pretty sure I am missing something.... I have the Store Admin CP, but there is no Store page...
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 30, 2009, 04:53:56 pm
Um... I am pretty sure I am missing something.... I have the Store Admin CP, but there is no Store page...

Forum URL?

Did you follow the guide and make the custom tab?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: pie-jacker on August 30, 2009, 05:43:57 pm
Now I did. I forgot to make another post and say I got it right.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 30, 2009, 07:45:56 pm
It won't work on MySMF or any other SMF For Free-run site besides smfforfree.com, smfforfree2, smfforfree3, and smfforfree4.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on August 30, 2009, 07:50:12 pm
It won't work on MySMF or any other SMF For Free-run site besides smfforfree.com, smfforfree2, smfforfree3, and smfforfree4.

this is completely wrong.

It will work on all SMF For Free hosted forums. MySMF, Freesmfhosting, etc. all use the same software setup as smfforfree, smfforfree2, etc.

It will work.

proof here: http://seldomtest.mysmf.com/index.php
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on August 30, 2009, 08:51:53 pm
When I click on shop test it shows:
Quote
Notice: Undefined index: latestMember in C:\sites\mysmf\Sources\Subs.php on line 3292

Notice: Undefined index: latestMember in C:\sites\mysmf\Sources\Subs.php on line 3294

Notice: Undefined index: latestMember in C:\sites\mysmf\Sources\Subs.php on line 3295
at the top, and doesn't show the shop itself.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on August 31, 2009, 02:22:40 am
I hope V2 enables fast editing of a certain item. Its very hard editing an item by retyping everything from the start when you only need to change a certain item's name or price
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on August 31, 2009, 05:38:05 pm
I hope V2 enables fast editing of a certain item. Its very hard editing an item by retyping everything from the start when you only need to change a certain item's name or price
Done. ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 02, 2009, 09:00:29 pm
Is there a way of us changing the bank interest? If not then I can live with that.

I want to know if you can update the random money effect to give a range. For now can you tell me the range of how much money can be gotten?

Anyway this is huge and I want to say that it is one of the best (if not the best) code out there. Thanks for creating it and I hope you planning to make it even better. If we lucky then SMF may make it a default like the EZportal.   :D

Also would you mind explaining how the steal money work? Does it steal like 10% or what? If a person have max money then you can get rich with one of those.

One more thing, is any way of turning the name back to the default colors? A mod/admin may not want the color anymore.

I pretty much copy and paste this from the test forum. I thought I would have a higher chance of a respond.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on September 03, 2009, 05:48:03 am
Anyway this is huge and I want to say that it is one of the best (if not the best) code out there. Thanks for creating it and I hope you planning to make it even better. If we lucky then SMF may make it a default like the EZportal.   :D

He won't.  EzPortal is a real mod for Simple Machines Forum, the the store is an SMF For Free code.  And, SMF For Free's owner now runs a real SMF mod called SMF Shop (not here though).  And whenever slayer updated the code, SMF For Free would have to update everyone's.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 03, 2009, 10:36:12 am
No my code isn't worthy to be on SMF For Free as a add-on, it would if I had access to the database files(Which I don't and I know the reason why) then it wouldn't need to be in a iFrame and it would be much more secure and have just a ton more features.


Quote
Is there a way of us changing the bank interest? If not then I can live with that.
No there isn't, it's a set interest for everyone. :( Sorry.


Quote
I want to know if you can update the random money effect to give a range. For now can you tell me the range of how much money can be gotten?
It's random from 0 to 100.


Quote
Anyway this is huge and I want to say that it is one of the best (if not the best) code out there. Thanks for creating it and I hope you planning to make it even better.
Thanks. :) I can only keep updating it if members like you keep asking for stuff to be in it and give me any bug reports if any. :)


Quote
Also would you mind explaining how the steal money work? Does it steal like 10% or what? If a person have max money then you can get rich with one of those.
It's random from 0 to the amount of money the user you stole from.


Quote
One more thing, is any way of turning the name back to the default colors? A mod/admin may not want the color anymore.
Yeah I'll get to that to where in your inventory if you have a color name item in effect you can have the option to remove it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 03, 2009, 04:46:31 pm
Quote
One more thing, is any way of turning the name back to the default colors? A mod/admin may not want the color anymore.
Yeah I'll get to that to where in your inventory if you have a color name item in effect you can have the option to remove it.

K, thanks for answering all of my questions. Also what is above is the only thing I really worry about. For now the item have a warning on my forums so it should be ok until you update it.

to be honest, I think it prefect. It would be cool if you could make one of those forum games also but beggers can't be choosers and I doubt you want to put a lot of time into something like that. A forum shop is like forum users most wanted code. I thought the other shop code was godly for a free forum type of deal.  :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on September 03, 2009, 05:21:13 pm
Code: [Select]
For now the item have a warning on my forumsSame here

Anyhow, I have a few suggestions/ideas

~A modification for a lottery system, a shopper can apply for the lottery for a certain price on a forum and can possibly win a certain amount.  Just like the real lottery, it would add a lot of fun to the shop.   :)

~An item effect that will sticky one of your topics on the forum.

~The option to turn off the auto replenish on the item quantity's on certain items or on all items.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 03, 2009, 06:26:09 pm
Now that I think about it, I do have one suggestion. Could you add an option of not showing the Global money ranks. To be honest, I think you should remove it all together. If someone wanted to they could make a forum in 3 mins and have 5 accounts with the max money so it pretty pointless for a thing which is editable.

Beside, none of those people are on my forum so why should I care?  :P I think the ranking for the current forum is all that needed.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: NYNick on September 03, 2009, 07:43:54 pm
Now that I think about it, I do have one suggestion. Could you add an option of not showing the Global money ranks. To be honest, I think you should remove it all together. If someone wanted to they could make a forum in 3 mins and have 5 accounts with the max money so it pretty pointless for a thing which is editable.

Beside, none of those people are on my forum so why should I care?  :P I think the ranking for the current forum is all that needed.

Edit your Shop theme's CSS and put this in there:
Code: [Select]
#global_members
{
display: none;
}

If you have multiple themes, that needs to be in all of them
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 03, 2009, 08:26:13 pm
Thanks NYNick.

I don't know coding and it seem like you can't just stick it on the top or bottom, so mind telling me where to put it?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 04, 2009, 07:45:32 am
You can in CSS. :P Remember to put that in the Store CSS through your Store Admin CP, not in your actual forum CSS. ;)

What do you mean forum games?


Quote
~A modification for a lottery system, a shopper can apply for the lottery for a certain price on a forum and can possibly win a certain amount.  Just like the real lottery, it would add a lot of fun to the shop.   Smiley

~An item effect that will sticky one of your topics on the forum.

~The option to turn off the auto replenish on the item quantity's on certain items or on all items.
1. A lottery system could be fun, it could be a global lottery system which every ticket on every forum would be added to the jackpot, or should it just be forum lottery?

2 & 3. Not possible. Sorry.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 04, 2009, 11:42:49 am
Forget about the forum game idea.

Anyway as for the CSS, I editing the defualt (my only theme) on the admin shop area. Where to put it, It don't work when I just stick it on the top or bottom.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on September 04, 2009, 03:41:33 pm
You can in CSS. :P Remember to put that in the Store CSS through your Store Admin CP, not in your actual forum CSS. ;)

What do you mean forum games?


Quote
~A modification for a lottery system, a shopper can apply for the lottery for a certain price on a forum and can possibly win a certain amount.  Just like the real lottery, it would add a lot of fun to the shop.   Smiley

~An item effect that will sticky one of your topics on the forum.

~The option to turn off the auto replenish on the item quantity's on certain items or on all items.
1. A lottery system could be fun, it could be a global lottery system which every ticket on every forum would be added to the jackpot, or should it just be forum lottery?

2 & 3. Not possible. Sorry.


Either one would be fine, but I suggest a forum lottery, so the forum admin has more control over the settings.

Thanks
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 04, 2009, 05:30:22 pm
I am unable to delete items (from users) and remove items from the trade center. I only test it on this one "no effect" item.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on September 04, 2009, 08:01:28 pm
Slayer can you please stop deleting our money, it's getting really annoying thanks.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: MMFWCL on September 05, 2009, 03:30:46 pm
im going to see if this works on simplemachines' global headers and footers.


EDIT:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on September 06, 2009, 07:07:40 am
It doesn't.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 06, 2009, 07:32:05 am
This code only works on SMF For Free.

@Max Zealot: What was your edit? You left it blank.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 06, 2009, 01:30:53 pm
I have a suggestion, I notice you can only trade items for items and donate money. Right now I requiring everyone to PM me for a money for item trade. The cheapest item in my shop is the random money item which is $50 which a player would need to buy to trade for the other item. Right now I using that as an excuse for a "trading fee" but it would be nice if you could trade money for items as I have rare "event" items. I planning to have one for Labor day btw.  :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Weegee on September 07, 2009, 08:57:09 pm
I just noticed a small bug that I'd like to point out.  When I'm on the shop tab, the Forum tab disappears.  Why?  All of the codes are correct...the only other code that might be causing this bug is the Hide Tabs (http://www.smfsupport.com/support/smf_for_free_codes/code_hide_the_help_tab-t7601.0.html) code.

Edit-Something else I'd like to point out, is that this shop code may be messing up my forum (It's actually not mine, it's a friends, and I help him run it, but you know what I mean) a bit.  When I have the portal enabled, it shows two tabs for the forum, side by side.  If you click either one, it highlights both and brings you to the forum page.  Is it this code that's doing that, or is it something else?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on September 08, 2009, 06:04:08 am
I just noticed a small bug that I'd like to point out.  When I'm on the shop tab, the Forum tab disappears.  Why?  All of the codes are correct...the only other code that might be causing this bug is the Hide Tabs (http://www.smfsupport.com/support/smf_for_free_codes/code_hide_the_help_tab-t7601.0.html) code.

Edit-Something else I'd like to point out, is that this shop code may be messing up my forum (It's actually not mine, it's a friends, and I help him run it, but you know what I mean) a bit.  When I have the portal enabled, it shows two tabs for the forum, side by side.  If you click either one, it highlights both and brings you to the forum page.  Is it this code that's doing that, or is it something else?

It does that when you go to a webpage.

The forums tabs are not caused by the code. You have 2 portals enabled. You'll need to disable one of them.

Admin CP > Legacy Portal Settings > Enable Portal (uncheck)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 09, 2009, 04:53:30 am
slayer have not reply lately.  :P I have one more suggestion...Is there a way of giving user points for clicking the ads (that you put in the shop) because I was thinking about running a mini click exchange type of thing. Having a link there with no reward kinda make it pointless.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 09, 2009, 07:51:57 am
Why would you get points for clicking ads? Then there would be no reason to even buy points for your own ad, and wouldn't you think this whole shop is pointless then?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: MMFWCL on September 09, 2009, 03:36:39 pm
when r u going to start V2
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 09, 2009, 03:41:46 pm
I have nothing planned for v2(Except member registration). I need suggestions(Not items) on what I could add into this.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 09, 2009, 04:07:30 pm
Why would you get points for clicking ads? Then there would be no reason to even buy points for your own ad, and wouldn't you think this whole shop is pointless then?

You never been on a click exchange site? Anyway I was planning to make the ad points cost more then the points given. Also I did not said your shop was useless and I like the ad idea itself.  :angel: I just wanted the users to be clicking the links and I thought a reward would help. It your code, you not force to take any suggestion given.  :buck2:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 09, 2009, 08:11:47 pm
Did you give up on the Request An Item part Slayer? Or was it just not working...?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: MMFWCL on September 10, 2009, 06:40:04 pm
Slayer: ok, ill think something

heres my EDIT guys: Slayer766' store works with SMF 1.1.10, but i need to figure out how to do the webpage
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 14, 2009, 03:51:17 pm
Just fixed up the Store Chat so it would work properly now, and I removed the Top 10 Richest Members Global.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 14, 2009, 03:54:42 pm
Did you give up on the Request An Item feature Slayer?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 14, 2009, 04:03:41 pm
Just fixed up the Store Chat so it would work properly now, and I removed the Top 10 Richest Members Global.
Thanks.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 14, 2009, 05:27:18 pm
I guess you can say that Andrew.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: jcraich on September 16, 2009, 05:09:33 am
Name: Store Mod v1
Description: A Store Mod complete with Buying, Selling, Trading, and so much more! See for yourself!

Features:
Money Features
    it didn't work because like the shop cp is there but it is installed and shows all info about it and that and to make items option, i think it's all done but just the link isn't up there, the shop isn't up there. ?????????  :'( i don't know what to do and i did it on internet explorer.
    • 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 (http://slaycode.smfforfree.com/index.php)
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 (http://slaycode.smfforfree.com/index.php/board,3.0.html). 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. ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 16, 2009, 07:31:57 am
???  ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 16, 2009, 04:49:49 pm
Hi, I love the store!!!!!

 Here are a couple of items I just thought of.......

 How about one that allows you to change someone elses color????  Giggle, now that could be fun, change the guys to pink and the girls to blue or something like that....BOY I know a couple of at my store I would like to 'prank'

 And how about an option to make (gift) someone with being a board moderator for say 1 day....I could reek havoc with something like that.... :knuppel2:

 And make a 'police' guard to watch tag certain boards so they can't be changed by a 'moderator' who wants to reek havoc.
   :police:
 Ahhhh..... "Cry havoc and let slip the dogs of war!"  Hanibal of course!!!!  

  Or how about by your best bud a 'custom title'   snicker something like  (I'm a dork)  or (nerdy) and then they have to pay to have it removed?  (Can you tell I adore the members of my site? Well I do!!!)  Or buy them a 'custom hug/kiss' for a day!!!!  I know three very special people who should get hugged once a day at least!!!

 Great job with the store, wish I could design like this!!!!

   Great fun of course!!!! giggle snort giggle
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on September 16, 2009, 06:54:39 pm
Giggler, that idea isn't good, people's forums will be ruined, posts will be gone, it just is a really big security risk.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 16, 2009, 07:21:45 pm
Ah! Enthusiasm! I love it. ^_^


Jntg, well it's not a security risk because it's just not possible with a remotely hosted forum that you have no access to any database or anything. Just the things like be a mod, increase post count, anything to do with moderator actions can't be done.


Quote
Or how about by your best bud a 'custom title'   snicker something like  (I'm a dork)  or (nerdy) and then they have to pay to have it removed?  (Can you tell I adore the members of my site? Well I do!!!)  Or buy them a 'custom hug/kiss' for a day!!!!  I know three very special people who should get hugged once a day at least!!!
While I do appreciate the item suggestions, I really am looking forward to something more in-depth feature-wise. :) I could work on more item suggestions when I'm satisfied with the good amount of features in the mod.
Quote
Great job with the store, wish I could design like this!!!!
Thank you. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 16, 2009, 11:39:18 pm
Giggler, that idea isn't good, people's forums will be ruined, posts will be gone, it just is a really big security risk.

 Oh uh ok....Security is not a problem in my forum....I trust my people and they trust me.  :smitten:   tee hee, we kinda have to as we all have 'shared' rights!    :)

Quote
Ah! Enthusiasm! I love it. ^_^


Thanks SLayer!!! I work in a hazardous job so the more fun things to take my mind off it the better!!! The store provided me with at least 2 hours of entertainment today!!!  ;D I can really see the possibilites of this one.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 17, 2009, 10:44:14 am
I'm glad you like it. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 17, 2009, 09:13:06 pm
Hit a snag... ;D   I made some stuff and put in the store...and 2 items worked fine...
 But 4 items would not...I would go to buy them and get this message...

 This item is not in stock, please try again when this item becomes available.


 Even though it says there are 3 in stock....SOOO I tried to delete them...and of course it say's they are deleted but when I go to the store 'there they are.' 

 So I am (as always) assuming it is 'operator error'   ;)   and I need some advise (help) in getting it to work.

 I am also crossing my fingers that it is just a little glitch in the system?  Anyway could you advise please??? What should I try?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 08:14:37 am
Did your item have a single quote in it? Also, could you post your board url?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 08:59:29 am
 ???  single quote? ???  uh?  welll I told you it was operator error,

 Let's see here's what I made.   'Giggler's Hug'  "Want to show Giggler how special she is? Buy her a hug today"


 So I tried to edit the quote but it wouldn't let me.....then I get a note this morning that another member got a random item and it traded for someone's hug!   :o  Wait what, so I ran and tried to buy one as there are now 4 and no go!  Grrr.   


 I would prefer not to post my forum yet as it is a work in progress.....I can send you a 'private' message with the forum link but other then that I am not ready for a bunch of new members yet...it's my play ground.  :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 09:01:48 am
Yup I saw what you made, and I already have your board url anyways. It's messing up because of the single quote ' I'll have to find a way to fix that, and I'll fix your items right now. Just for now don't use any single quotes ' in an item name until I get a fix.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 09:08:36 am
Dang it took me less then 24 hours to mess that one up.   :2funny:   So being a person that's  :idiot2: (me of course) can you please explain to me the rules of 'single quote?'    Else I will run off and do it again and still have no idea what I did.   I am not a programmer so it has been a whole new learning process for me.

 Is the single quote in the name or the statement?  Whats the recommendation???  please advise?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 09:11:52 am
The item you stated in your previous post Giggler's Hug Do you not see the single quote in that name? If you don't know what a single quote is then your item name should be Gigglers Hug Now the single quote is removed. ;) I've fixed all of your items that were like that.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 09:16:10 am
Yhea it work's it works!!!!    My brain's a bit slow, I work 12 hour shifts sometimes 7 days a week so to say I am  :idiot2: is putting it mildly!     

   So don't use    (') in the name of any store item!!!!    GOT it..... Thank you so much (I am sure I will be back, giggle!!!)

 Now I can put the hug plan in action!  Thanks so much Slayer!!!! your the best.   :) ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 09:59:41 am
Your welcome. :) Also, it can be called an apostrophe if you knew it by that name.


Anyone think of anything I could write for an add-on?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 12:15:00 pm
Now we can buy the hugs!!!!  Glitch number two....

 I made a custom field to place the hugs in, for the admin's only...so you buy the hug and the admin comes along and puts it into the propert place...then the admin is supposed to go to the admin panel and edit the  user profile to delete the hug.....

 It won't allow me to delete the hug from the admin panel off the user's inventory. I even tried my own inventory and it kept saying 'this user has no inventory'     Now what am I doing wrong? help please?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 12:23:53 pm
Yeah you are probably trying to delete that item from their inventory that had the single quote in it...I'll delete that for you. But wait, what item are you talking about?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 12:31:40 pm
Ummm.....no it won't let me delete anything from any inventory...all I get is...
User has no items.

Unless there is a '  messing with my system somewhere?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 12:36:07 pm
No there are no single quotes in any items in your Store, hmm...on the delete user item dropdown does it show any items at all?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 12:39:58 pm
yes... it shows the items...then I hit delete and it gives me the other message??  ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 12:41:58 pm
Alrighty, I've found the problem and that should be fixed now. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 18, 2009, 12:45:40 pm
LOL yes it is now..... :)   So I will put the hugs in action and I am sure I will be back later.... Thanks for all of the help!!! Your store is really an excellent program.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 18, 2009, 03:02:33 pm
Slayer I found a little problem with this, someones account was deleted off of my forum, yet all of their stats were kept. :o

Do you think admins could have the options to delete a user?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 18, 2009, 07:13:42 pm
Well that's not my problem. XD This doesn't clear any stats of the user actually deleted from the forum. I could add that option.



Thanks Giggler. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Lucas A33 on September 19, 2009, 11:00:09 am
HOLY SHI!!!!!!!!!!!!!! Best CODE Ever!!!!! Thanks!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 19, 2009, 06:15:41 pm
Thanks Lucas. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: THE WIZARD on September 20, 2009, 06:23:46 am
I have just put in your SMF For Free Store Mod v1 today.

its a great code to have in,, there in no member of my forum on it yea, Why is that, (its just me there) !!! or do  they have to go into the store to show up on it ??
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 20, 2009, 07:35:48 am
As soon as a member visits any part of your site they are automatically registered in your Store.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: THE WIZARD on September 20, 2009, 07:38:15 am
Oh ok, thanks slayer766
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 20, 2009, 11:20:26 am
 ;D  Me again.....Okay I started a 'donation' spot in the store... where a user 'buys' a dontaion and it is put into an account that will be divided by all users when it reaches 100,000.  that way all members have a chance of getting a bit extra. Now for the question...  I can not have more then one bank account?   Would it be possible to allow users more then one account so I don't get confused as to which money is a donation to be given away?  Otherwise I shall have to create a new person and stick the money into their account?   Does that make sense?  ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: PJG on September 20, 2009, 11:37:30 am
I wrote this in your mini website; but I kinda need an answer so I'll post it in here :P

Firstly thus far the code looks pretty sick; so kudos.

However I trolled through your coding and couldn't find a way to alter the amount that everyone starts on; and furthermore how can I turn off extra money for each post? I put 0 in but that isn't recognised as a figure.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 20, 2009, 01:25:52 pm
I wrote this in your mini website; but I kinda need an answer so I'll post it in here :P

Firstly thus far the code looks pretty sick; so kudos.

However I trolled through your coding and couldn't find a way to alter the amount that everyone starts on; and furthermore how can I turn off extra money for each post? I put 0 in but that isn't recognised as a figure.

Slayer is the only person that can change how much money you get when you first join.

Did you say you were going through his code? You're not supposed to do that. :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: PJG on September 20, 2009, 01:47:51 pm
I wrote this in your mini website; but I kinda need an answer so I'll post it in here :P

Firstly thus far the code looks pretty sick; so kudos.

However I trolled through your coding and couldn't find a way to alter the amount that everyone starts on; and furthermore how can I turn off extra money for each post? I put 0 in but that isn't recognised as a figure.

Slayer is the only person that can change how much money you get when you first join.

Did you say you were going through his code? You're not supposed to do that. :P
.. Yeah but this is to help with a RPG; and spam is discouraged; as soon as people realise that they can post more to get more money; my forum would become a spam-fest.
If it's true that only Slayer can change how much you start on; then I regretfully classify that as a flaw with this code.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on September 20, 2009, 03:53:55 pm
Perhaps this has been asked before, but is there any way to prevent the display of an individual's money and inventory from appearing when they post?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 20, 2009, 04:13:53 pm
Quote from: Giggler
Me again.....Okay I started a 'donation' spot in the store... where a user 'buys' a dontaion and it is put into an account that will be divided by all users when it reaches 100,000.  that way all members have a chance of getting a bit extra. Now for the question...  I can not have more then one bank account?   Would it be possible to allow users more then one account so I don't get confused as to which money is a donation to be given away?  Otherwise I shall have to create a new person and stick the money into their account?   Does that make sense?
No you can't have more than one bank account(You could, but I'm not going to write that, sorry.). You'll just have to make a side account for that.

Quote from: PJG
I wrote this in your mini website; but I kinda need an answer so I'll post it in here

Firstly thus far the code looks pretty sick; so kudos.

However I trolled through your coding and couldn't find a way to alter the amount that everyone starts on; and furthermore how can I turn off extra money for each post? I put 0 in but that isn't recognised as a figure.
Thanks. :) You trolled through the JavaScript coding, not the PHP coding. ;) I will make another spot in the Store Admin CP under Settings for the default amount a user gets to start with later.

Quote from: Ryder
Perhaps this has been asked before, but is there any way to prevent the display of an individual's money and inventory from appearing when they post?
Hmm, so you sorta want to "ban" the shop display details in the posts for certain individuals then?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on September 20, 2009, 04:23:52 pm
Hmm, so you sorta want to "ban" the shop display details in the posts for certain individuals then?

For all members.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 20, 2009, 05:25:33 pm
Ah, alright then. :) I can add that option to the settings as well with the default amount. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on September 20, 2009, 05:37:33 pm
Ah, alright then. :) I can add that option to the settings as well with the default amount. :)

Thank you so much :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 20, 2009, 05:51:26 pm
I've done some updates, the updated list is in the Store Admin CP > Home. What you ask, I'll have to do it in just JavaScript, seeing as the layout is set in JS in the posts and the data is populated with a MySQL query through PHP...not sure when I'll get to that so you'll just have to wait until I get around to doing that.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on September 20, 2009, 05:56:42 pm
I've done some updates, the updated list is in the Store Admin CP > Home. What you ask, I'll have to do it in just JavaScript, seeing as the layout is set in JS in the posts and the data is populated with a MySQL query through PHP...not sure when I'll get to that so you'll just have to wait until I get around to doing that.

No problem at all.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: PJG on September 21, 2009, 08:58:54 am
Thanks. :) You trolled through the JavaScript coding, not the PHP coding. ;) I will make another spot in the Store Admin CP under Settings for the default amount a user gets to start with later.
No.. you've been clever with what you've done. Also can tell me how to alter the amount people get per post/topic/poll to 0 please? When I input 0 to the settings; it doesn't recognise it as an integer.

Edit: I've just noticed you've changed the settings to the default starting amount - thanks :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 21, 2009, 10:16:32 am
You should be able to change the posting amount to 0 now. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: PJG on September 21, 2009, 12:44:24 pm
You should be able to change the posting amount to 0 now. :)
Thank you kindly sir!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: THE WIZARD on September 22, 2009, 05:21:31 am
How do i put a Styles for the shop in ?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 22, 2009, 07:56:10 am
Go your Admin tab for your forum, and then on that first page(Administration Center), scroll down a little bit and there will be a section saying Store Admin CP in the main content. You then click on Theme Management, and add your new theme. :)

Something like this: http://i37.tinypic.com/34dsns9.jpg
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: THE WIZARD on September 22, 2009, 08:46:35 am
Ok Thanks, i will be coming back to you
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 22, 2009, 09:44:40 pm
Quote
No you can't have more than one bank account(You could, but I'm not going to write that, sorry.). You'll just have to make a side account for that.

Okay no worries, I worked out something else anyway!  :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 24, 2009, 07:09:07 pm
Good. :)


THEWIZARD, did you get it all sorted?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: THE WIZARD on September 25, 2009, 08:03:29 am
Good. :)


THEWIZARD, did you get it all sorted?

yes i did slaver  thanks
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: teh pker on September 25, 2009, 04:56:14 pm
wow really nice  :o
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on September 26, 2009, 09:29:48 pm
Hi need a little help. Found this message left for me today.

Quote
Hey, I'm trying to deposit $100 in the bank. But every time I try, it says I did not input anything in the deposit/withdraw section, but I keep putting $100 in that, then clicking on confirm. Oh, most wise Alaskan banker, what am I doing wrong?

Can you check and let me know if it is operator error?  Thanks so much!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on September 26, 2009, 11:47:56 pm
Put in 100 instead of $100 and it should work fine.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on September 30, 2009, 11:23:49 am
Yup Andrew is right, you don't need to include the dollar sign. ^_^
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on September 30, 2009, 02:36:44 pm
Slayer, bad news. It seem that anyone who join my forums after the starting amount update don't get the money that they should start with. I still have it on the default amount which is 500.

Also a glitch I notice that should not really be a problem unless someone discover it. You can edit your thread without changing it and get free money. I guess it the same as a reply. Like I said, it should not be a big deal unless someone made a lot of mistakes and notice the cash increase.  :P
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Simply1Nick on September 30, 2009, 09:56:51 pm
Slayer, bad news. It seem that anyone who join my forums after the starting amount update don't get the money that they should start with. I still have it on the default amount which is 500.

Also a glitch I notice that should not really be a problem unless someone discover it. You can edit your thread without changing it and get free money. I guess it the same as a reply. Like I said, it should not be a big deal unless someone made a lot of mistakes and notice the cash increase.  :P

But now anyone who uses an SMF forum with this code that checks here knows  :smitten:


BTW: I think this works great :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zion on October 01, 2009, 01:54:18 am
Thanks for the Store. Cool man.

EDIT: Sorry if you already have a problem but i did the code in headers and footers and created everything, but when i click on Store the tab, it comes up as the code?

www.smfforfreecamps.smfforfree3.com

Thanks anyways.  ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 01, 2009, 03:59:01 pm
Do you have JavaScript enabled?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zion on October 02, 2009, 12:59:00 am
How do i enable it ?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: zeph on October 02, 2009, 03:50:53 am
When ever a person posts in a topic their items that they bought doesnt show up and also it says that their money is zero but when in the shop tab it says the actual amount they have.
Need help in this problem
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 02, 2009, 10:40:29 pm
How do i enable it ?

Which browser are you using? (Firefox, Explorer, etc.)

When ever a person posts in a topic their items that they bought doesnt show up and also it says that their money is zero but when in the shop tab it says the actual amount they have.
Need help in this problem

Did you install the store mod fully? After you placed the codes needed in the headers and footers, made the webpage, did you install it via the Admin CP?

That all has to be done in order for it to work correctly.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zion on October 02, 2009, 11:41:50 pm
Im usingI Internet Explorer
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 03, 2009, 10:11:43 am
Alright.

Tools > Internet Options > Security
Click Custom Level
Scroll to the Scripting section of the list. Click Disable
Close and restart your browser.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ranamayank on October 05, 2009, 06:39:52 pm
hey when ever i add custom items and try to buy it, it says that its not in stock when it says that there is 12 crowns in stock....

Webiste - computerguides.smfforfree3.com
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 05, 2009, 07:43:04 pm
Yeah you can't have single quotes in your item name. :(
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ranamayank on October 05, 2009, 10:17:18 pm
what u mean by single quotes?
more specific?
 i know im dum i ask to many questions... but i want to learn too...
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 05, 2009, 10:22:41 pm
what u mean by single quotes?
more specific?
 i know im dum i ask to many questions... but i want to learn too...

A single quote, meaning a '

Yea, you need to learn, don't worry, we're all here to help. ;) (At least- most of us :P)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ranamayank on October 05, 2009, 10:27:20 pm
YAY now i have 5 king tuts crown!!! wohoooo tanks andrew and slayer x.x

Andrew is da man (he helped me alot!!)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 05, 2009, 10:29:36 pm
:) Or you could call it an Apostrophe.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 05, 2009, 10:31:08 pm
:P Slayer, so technical. ;D

It's a support forum, aren't I supposed to help? o_o
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose on October 07, 2009, 07:54:06 am
Yea, you need to learn, don't worry, we're all here to help. ;) (At least- most of us :P)

Lets hope your not talking about me :P

slayer, you got it so we can donate items to other people yet? ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 07, 2009, 07:44:25 pm
hey i added this today (VERY easy to follow btw kudos)

I'm stuck though, I added an items, namely "Insert's Heart"

When i created the item i remember it showing on the next page as "Insert\s" created

Now i am unable to do anything with that item, i cant amend the name, total available, or delete it.

Any ideas??
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose on October 08, 2009, 07:30:12 am
Your not supposed to have apotraphies in the names of items.

I beleive slayer can fix this for ya.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 08, 2009, 08:50:26 am
Thanks moose, shall i wait for slayer or message him/her  ???
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 08, 2009, 09:01:28 am
Thanks moose, shall i wait for slayer or message him/her  ???

him. ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 08, 2009, 09:49:45 am
XD Thanks Moose and Andrew for being helpful on this.


InsertName, your item has been fixed, and for the future try to remember you can't have item's with apostrophes yet, I should mention that in the actual item creation...


Also, Moose, I plan to write the donate items in soon enough.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 08, 2009, 12:25:25 pm
Thanks Slayer
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 08, 2009, 02:16:42 pm
No problem. :)

Is there anything else you need?


Also, I added in a info box for the global shop statistics which contain Total Forums Hosted, Total Number of Members, and Total Number of Items of all the forums combined that have this installed. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on October 10, 2009, 06:02:03 pm
Option to not display this when members post is still not possible?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 11, 2009, 03:21:22 pm
It's always been possible, you want me to create that? I am not really looking in the direction of small additions, but more of major additions to make this much more larger. Perhaps a lottery, or some mini-games of some sort?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 11, 2009, 07:22:14 pm
Lottery sounds awesome Slayer.

Maybe an admin permission so that stock doesnt replenish?

Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 12, 2009, 10:09:46 am
Quote
I am not really looking in the direction of small additions, but more of major additions to make this much more larger.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: panthers_08 on October 14, 2009, 10:59:36 pm
Thanks!!!!!!!!!!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on October 17, 2009, 05:46:52 pm
Well, if you want something huge then try to make a forum RPG with this as an addon. I brought this up once and it seem you never seen one or know what it is.

A forum RPG is a rpg on the forums. Players have health and gold (you already have the money part made), each day a player can do a number of attacks for exp which will level them up and give them more health and power. You can buy weapons and armor to attack/defend yourself. That is pretty much the basic of it.

If you want to make it more complex then add quests (not sure if you can do this with smf forums but then again, you did create a shop) and maybe add a few other things.

Not everybody would like players killing players on a forum so this really should be an addon if anything.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 17, 2009, 07:51:58 pm
Well I know what that is, I've create multiple RPG's on Invisionfree and I made one for Zetaboards. Though if I were to create one for SMF For Free, I would be making it separate from the shop. I might work on one, I might not. I already have one in the works for Zetaboards which will be multi-platform.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 18, 2009, 01:55:41 am
Haha, something like RPG would be fantastic Slayer!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 18, 2009, 01:19:54 pm
If I were to write one I would definitely need the motivation for it...and not just from a couple people - that's not going to cut it for such a large project.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 18, 2009, 04:57:26 pm
Well if it's anything like the store it will definitally be a popular thing used on the forums.

Really, if you can make this you can probally make anything.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 18, 2009, 06:31:42 pm
Well the store is in an iFrame, so it's basically just using my website but being plugged onto the SMF For Free - so that means of course I can make anything. ;) IF I know how to make it, and since it's about the RPG - that's a definite. But would I make it? I'm leaning towards a no as for one - I wouldn't know how many people would actually use it, so spending all that time for something only a few people would use is a waste - two I am really supposed to work on something else.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on October 18, 2009, 08:31:12 pm
:o

Remember you never know untill you try. What I would try to do is show everyone what RPG is like, and maybe they'll take more interest into wanting to use it.

But if you're busy on something else I would finish that first, and leave RPG up for discussion or something.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Palace on October 19, 2009, 08:01:17 pm
Thanks for these codes mate, I am working on a project forums. ;) For a promotion forums.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 20, 2009, 05:01:28 pm
I might do something special for you guys Andrew, but it won't be anytime soon though.

Palace, thanks - glad you like it. :D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: King Gold007 on October 21, 2009, 08:45:08 pm
Two questions for you mate,

1. Is it possible for you to make it so small pictures can be displayed in the inventory besides the name of the item/having the name and picture?

2. Is it possible for you to make it so we can remove the inventory from showing on posts and have it showing on a user profile instead?


Great code by the way, keep up the good work.  8)


Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 22, 2009, 09:51:07 am
:)

1. It's possible, and I plan to write that in tonight actually.
2. I could think of something.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: King Gold007 on October 22, 2009, 09:16:36 pm
:)

1. It's possible, and I plan to write that in tonight actually.
2. I could think of something.

Alright mate  :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 23, 2009, 12:04:42 pm
Aaaand number one is completed. :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Tretispker on October 23, 2009, 02:45:02 pm
Yay.. V2 should be great :)

Good work,

1 question though; my javascript is turned on but it won't show. I have enabled all types of codes on internet? I just deleted it on my forum
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 23, 2009, 05:12:58 pm
Now see that is completely redundant...you ask me a question and I tend to help you but then you delete the code...that doesn't make any sense.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: 4markie on October 24, 2009, 12:54:23 pm
Slayer, nice to see how good you're doing so far.

I've been receiving a lot of reports about the trading bug from my members and can I know when it could be fixed?  Here is what one said.

Quote
hi, theres a problem with the shop. i had a star and a blue lightsaber in trading and when i went to see if they had been traded, they were gone, but in my inventory, it said that it was still in trading. if you could contact slayer or whoever made the shop and tell them this problem, that would be great.

~actionreplayguy14~

I appreciate any further assistance
Thanks.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 24, 2009, 01:04:52 pm
Hmm, I'll check into that. The trade center was something new and I did write it in less than a day so it's not perfect yet. XD
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 26, 2009, 06:44:17 pm
Hey Slayer,

www.yvspoilers.smfforfree.com

I tried modifying one of my items "DanceFLoor" so that the item has no effect (removing name colour change).

But it wont change, please can you wave your wand??

Thankies
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 27, 2009, 08:19:50 pm
What do you mean it won't change? Have you visited your Admin CP and then inside the Store ACP -> Item Modification > Select the item you want to edit and the Item Effect to No Effect?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 28, 2009, 01:15:09 am
yes, tried that and nothing happened.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on October 28, 2009, 09:12:01 am
Well that doesn't make any sense...what internet browser do you use and the version? Also when you click the Edit Item button it doesn't even reload the Store ACP page and say anything at all?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on October 28, 2009, 05:58:22 pm
I use Firefox ver3, Also Chrome and Safari.

When I edit the item I get the success message saying that the edit was successful, but the item still has colour name change ability.

I ended up deleting the item and re-adding it.

Thanks anyway :-)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Ryder on October 31, 2009, 07:09:45 am
Option to not display this when members post is still not possible?

It's always been possible, you want me to create that? I am not really looking in the direction of small additions, but more of major additions to make this much more larger. Perhaps a lottery, or some mini-games of some sort?

It's a small addition, yes, but one that would make this Mod so much sweeter ;)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: King Gold007 on November 06, 2009, 10:02:43 am
Hey mate, do you think you could allow the fonts used as display names in the forums for the store?


Say my display name was: ƘƖƝƓ ƓƠԼƊ007

It would appear as    " ƘƖƝƓ Ɠ ԼƊ007 " In the store.

Thank you for your time.  :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: asdfbls12 on November 13, 2009, 12:33:38 pm
Kind of an urgent question:

Is there a way to make it so that all your boards add to your post count, but only certain ones add to your money when you post in them? I have one board set aside that I'd like to do the money thing with, but I don't want the other boards to interfere with that. I don't want to turn off post counting though.

Thanks in advance.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: asdfbls12 on November 13, 2009, 07:21:15 pm
Also, since you're online..

Is there a way to assign random ranges for money for a new item? You have the 0-100 but I'd like to add a few more like 100-500 or 500-1000. Would I be able to do that?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Turinu on November 15, 2009, 06:46:16 am
Just installed this today on my IF board and I have to say I'm thoroughly impressed, and would like to toss out a suggestion or two. Someone already got you on one of my suggestions.. being able to donate items. Good stuff, can't wait to see it implemented! =D

Suggestion #1: "Item Categories." The forum I'm running has a lot of different items (It's a Mecha RPG Board, and you can "build your own mecha"). Having all the items in a single section, having to filter through several pages to find what you'll need is going to become a task once I get all my items up (100+ items once I finish all the sprites, with weekly-to-monthly shop updates). It'd be nice to have, when you go to buy stuff, categories the Administrator can make and your users can click on to go to individual pages with items of that particular nature. This way it helps reduce clutter, and keeps things organized.

Suggestion #2: "Bulk Item Delete/Stacking Items." I accidentally purchased a lot of a single item (250 to be exact, managed to delete 150 of them so far XD) and I have to delete them one by one. Probably will never happen again in the future, though (was just testing things out, lol). I'd also think if you buy one of the same item it should become a stacked item, rather than just filling up the list. So rather than having two "Item X" on your list, you have one "Item X" on your list with like, x2 right next to it or something like that. Another way to reduce possible clutter, though I don't know if that's possible or not.

I don't know if either is possible, but it sure would be considerably handy. Again, this is a great code, and I can't wait to put it to it's full use once I finally get my board up and running again. It always needed a functional shop system, so I'm glad I decided today "I'm going to look for a shop system!" and stumbled across yours, =D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on November 18, 2009, 11:27:57 am
Kind of an urgent question:

Is there a way to make it so that all your boards add to your post count, but only certain ones add to your money when you post in them? I have one board set aside that I'd like to do the money thing with, but I don't want the other boards to interfere with that. I don't want to turn off post counting though.

Thanks in advance.
This has nothing to do with your postcount...disabling post count isn't going to disable the posting for money, I would have to write that in the code just for you which I'm not going to do. Sorry. :(

Also, since you're online..

Is there a way to assign random ranges for money for a new item? You have the 0-100 but I'd like to add a few more like 100-500 or 500-1000. Would I be able to do that?
No you wouldn't be able to do that, you can't just create items with whatever effects you want - the effects need to be pre-set into the code for that to happen.


Just installed this today on my IF board and I have to say I'm thoroughly impressed, and would like to toss out a suggestion or two. Someone already got you on one of my suggestions.. being able to donate items. Good stuff, can't wait to see it implemented! =D

Suggestion #1: "Item Categories." The forum I'm running has a lot of different items (It's a Mecha RPG Board, and you can "build your own mecha"). Having all the items in a single section, having to filter through several pages to find what you'll need is going to become a task once I get all my items up (100+ items once I finish all the sprites, with weekly-to-monthly shop updates). It'd be nice to have, when you go to buy stuff, categories the Administrator can make and your users can click on to go to individual pages with items of that particular nature. This way it helps reduce clutter, and keeps things organized.

Suggestion #2: "Bulk Item Delete/Stacking Items." I accidentally purchased a lot of a single item (250 to be exact, managed to delete 150 of them so far XD) and I have to delete them one by one. Probably will never happen again in the future, though (was just testing things out, lol). I'd also think if you buy one of the same item it should become a stacked item, rather than just filling up the list. So rather than having two "Item X" on your list, you have one "Item X" on your list with like, x2 right next to it or something like that. Another way to reduce possible clutter, though I don't know if that's possible or not.

I don't know if either is possible, but it sure would be considerably handy. Again, this is a great code, and I can't wait to put it to it's full use once I finally get my board up and running again. It always needed a functional shop system, so I'm glad I decided today "I'm going to look for a shop system!" and stumbled across yours, =D
Hey thanks, though this is for SMF For Free - not Invisionfree. :P

Item Categories I could do, same with the bulk deletion. :) It's not going to be right away though.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on November 18, 2009, 05:09:28 pm
Hey Slayer, just for an idea on the bulk items, do you think you could make them become bulk items after not being purchased after so many days?
Also, one of my suggestions, do you think you can add it in the Store Admin settings to choose if the items in posts show up as names or images?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Zelkova on November 20, 2009, 08:38:31 pm
Still into the forum RPG idea.  :D Just letting you know that I am still here.

As for the shop, Is there a way to set the random amount effect like how we are able to set the prices? In other words, make it a changeable part of the code? I don't know how to make these codes so sorry if I just ask for something impossible.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on November 21, 2009, 12:27:28 pm
I'm not working on v1 anymore, if anyone has ideas/suggestions for v2 - please post them here: http://www.smfsupport.com/support/general_chat/smf_for_free_store_mod_v2-t29178.0.html
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: KrazY on December 11, 2009, 02:21:18 pm
This is totally awesome. Great going out there!

Regards,
KrazY.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: TheKingPro on January 03, 2010, 02:37:08 am
This is working good for me :)
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Mark The Devastator2000 on February 03, 2010, 11:01:28 pm
how come when i go to the tab and click shop theres nothing in there and i added stuff
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Seldom Fail on February 04, 2010, 07:41:03 am
That doesn't give us any help at all :P

Could you please post your forum URL and the code you used?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on February 11, 2010, 04:20:50 pm
Me thinks slayer took this too far, his account has been suspended. :o
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose on February 11, 2010, 08:25:23 pm
Apparently so.  This isn't good at all.  This means that the RX code index is down.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on February 12, 2010, 09:13:52 am
/me sighs in relief

The store is now back online!
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on March 09, 2010, 05:55:28 am
its down again
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on March 09, 2010, 09:32:21 am
Nah it's not down, I removed it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: InsertName on March 09, 2010, 09:52:36 am
For good?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on March 09, 2010, 04:13:09 pm
Slayer!! :o why would you do such a thing????? Our members on Partners In Crime were absolutely loving it. D:
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on March 09, 2010, 04:38:45 pm
Is the IPB one down too?

Why'd you take it down?  And are you still making V2?
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: simply sibyl on March 09, 2010, 04:56:28 pm
Guys it could very well be a bandwidth issue and he cannot keep hosting the files for it/etc anymore and letting so many use it
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on March 09, 2010, 05:23:44 pm
Slayer, could you release it in a package that people could upload to their sites (a web host, not their forum) and use just for their sites instead of maiing it completely unavailable?  That would get rid of the bandwith issue.  Then for the code, they just enter than URL in to make it read the files.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Giggler on March 09, 2010, 08:27:11 pm
Thank you Slayer it was fun while it lasted!  ;D
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Andrew on March 09, 2010, 09:37:08 pm
For those that are wondering, he told me he removed it due to it being vulnerable and explicit - there were easy ways to "cheat" with it. So he decided he was tired of it and just removed it.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Agent Moose on March 10, 2010, 10:30:24 pm
Which is correct.  The system had so many different ways to cheat.  There was a way where you could give yourself money from the bank.  All you had to do was deposit a negative number, and whatever you set, it would give you that money.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: slayer766 on March 10, 2010, 10:40:42 pm
If you guys want the files they are here: http://209.85.62.24/171/8/0/p296921/SMF.rar

There are no sql files though, I deleted my database tables and didn't export the tables...so you'll need to figure out the table names and everything yourself, which if you ask me would take a lot of time. But anyone can re-write the whole thing if you wanted to or make your own table names etc.
Title: Re: [CODE] SMF For Free Store Mod v1
Post by: Jntg4 on March 11, 2010, 06:08:45 am
Thanks, I should be able to figure this out. (referring to the database tables)