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
-
Moderator Edit: This code no longer works
Name: Store Mod v1
Description: A Store Mod complete with Buying, Selling, Trading, and so much more! See for yourself!
Features:
Money Features
- Money per quick reply, full reply, topic, and poll
- Donate to other users
- Money increase/decrease in real time right on the same page
- Info displayed next to your posts and in your profile
- 5 Items listed from your inventory
Store Features
- Bank
- Withdraw
- Deposit
- Interest
- Top 5 Richest Members
- Buy Items
- Random Money
- Steal Money
- Burglary Detector
- Inventory
- Use Item
- Sell Item
- Delete Item
- Automatic Stock Replenishment
- Users browsing shop
- Pagination
- Trade Center
Admin CP Features
- Automatic Installation
- Store Settings
- Edit User
- Edit Item(s)
- Delete Item(s)
- Item Modification
- Create Item
- Edit Item
- Delete Item
- Configure Store CSS
A complete list of features, news and updates will be in your Store Admin CP. :)
Preview: Preview (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
<script src="/jquery.js"></script>
In your Footers, place this in there:
<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:
<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. ;)
-
Good job... and easy to follow installation instructions...
-
This code is a whole lot better than my shop code, its faster too :)
I would recommend you to use this on your forum.
-
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.
-
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 ;)
-
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
-
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
-
This is OUTSTANDING!!! GREAT GREAT work!!!
-
Just discovered a bug, (about donate money)
When I donated money I tried to donate $5 and it gave him $505 instead ???
-
No kidding? What page were you on when you donated?
-
No kidding? What page were you on when you donated?
I was on page 1
-
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. :-\
-
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:
<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:
<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?
-
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?
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?
-
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...
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
-
Re-read my above post.
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.
-
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?
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.
-
Re-read my above post.
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?
-
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?
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...
-
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
-
I didn't say anything about any x's...
-
I didn't say anything about any x's...
Huh? you said:
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.
-
I was talking about the X for the Close window.
-
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
-
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:
-
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.
-
I have Firefox and I don't know why it doesn't auto close. :( But I did update the instructions.
-
could be a browser setting ... java up to date on your pc? using the newest version of fox? (3.52)
-
I don't know about the up to date java and I have FF v3.0.12
-
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!
-
I'll check on that. :)
I'm just wondering, but could I get your thoughts on the Store Mod?
-
I'll check on that. :)
Good.. do so.. it really is important (windows updates frequently too)
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
-
Ah, I see - thanks sibyl . ^_^
EDIT: After updating my Firefox to the current version it did close automatically after update. :P
-
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?
-
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.
-
You have to create a webpage to use a code ;) That's how the users BUY the items.
-
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?
-
yea.
Admin CP > Webpage Editor > Add Webpage > HTML (button on toolbar in editor) > Paste code there
-
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. ;)
-
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
-
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
-
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? ???
-
You basically just answered your question. ;)
It's being written.
-
You basically just answered your question. ;)
It's being written.
Lol
-
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. :)
-
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
-
Ok, no worries. Should be fixed now.
-
Ok, no worries. Should be fixed now.
Works now thanks! :)
Phew! for a sec I thought all my items were erased :buck2:
-
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.
-
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.
-
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:
-
There never was one until I just wrote it. :P
-
Good job the green theme doesn't change it stays default in preview, just letting you know.
-DzinestaR
-
Sorry for the double post, but is there a way to set a custom theme as the default for all member now?
-DzinestaR
-
Default theme will stay at the stores actual default css. I'll have to find a way for what you are asking.
-
Ok hope to see that soon.
-DzinestaR
-
:)
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.
-
:)
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. :)
-
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?
-
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.
-
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
-
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.
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.
-
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
-
Ah, that could be the reason then. :)
-
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!
-
Yup, it says in the instructions
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.
;)
-
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.
-
Did you forget a step in the instructions or something?
-
No, it works now, must have just been my computer.
-
Hey slayer, do you think you can fix the trade bugs? It's causing alot of problems.
Thanks
-
And those would be...?
-
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.
-
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.
-
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...
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.
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.
-
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...
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.
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 ;)
-
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?
-
I could write that, but it's not very safe to do at all.
-
OK, I guess I don't need that.
-
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?
-
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.
-
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?
-
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?
-
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.
-
<_< 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
-
Hm...Alright, i'm still trying to figure out how this whole SQL Database/php works. Thanks slayer. Much luck with the store.
-
It says: Ok then, go be stupid somewhere else...
-
Correct. Do not open any of the links in the store in a new window.
-
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.
-
That wouldn't be caused by the code ;)
Do you still get that error when trying to use the admin panel?
-
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
-
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.
-
eh, I had no clue about that. Well, I'm uninstalling it now, but thanks for the code, and good luck with it
-
Now I won't be able use the shop code :(
-
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.
-
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
-
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.
-
thank you slayer and co :D great code
-
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.
-
You don't unban yourself, slayer has to.
-
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.
-
what i mean as Co. was if anyone else helped in making this :D
-
No there wasn't. The only help I received was Moose making the posting in the quick reply add money.
-
So quick replieas count now?
-
They have since the release.
-
OK. Thank you.
-
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
-
Edit your theme(For the Store) and add this to it:
#global_members
{
display: none;
}
-
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
-
What items do you have already?
-
Mr. Slayers Beer Mug
Steal Money
Random Item
Burglary Detector
Random Money
Test Item 3
Bag of air
-
: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.
-
o right lol.. could you do it so you lose 1 hour on total time logged in or lose post counts??
-
Impossible. I don't, or nobody else but SMF For Free has access to the database.
-
okie
so what sort of items can i do for it that would be fun?
and #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???
-
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.
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.
-
okie last question.. some of my items have rand out of stock..
how do i re stock?
-
It's automatic. Each night at midnight stock increases on all items everywhere by 1.
-
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?
???
-
.......ugh, it's to stop people from cheating.
-
.......ugh, it's to stop people from cheating.
appears to work :2funny:
-
.......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.
-
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/
-
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.
-
Thank you so much you the best :)
-
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"
-
Brilliant brilliant work as always Slayer!
-
*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.
-
Nice job slayer!
Will the code be different for v2?
-
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.
-
when you create V2 you should add more auto-items..and more styles =)
-
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.
-
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!
-
Um... I am pretty sure I am missing something.... I have the Store Admin CP, but there is no Store page...
-
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?
-
Now I did. I forgot to make another post and say I got it right.
-
It won't work on MySMF or any other SMF For Free-run site besides smfforfree.com, smfforfree2, smfforfree3, and smfforfree4.
-
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
-
When I click on shop test it shows:
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.
-
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
-
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. ;)
-
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.
-
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.
-
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.
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.
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.
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. :)
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.
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.
-
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
-
For now the item have a warning on my forums
Same 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.
-
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.
-
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:
#global_members
{
display: none;
}
If you have multiple themes, that needs to be in all of them
-
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?
-
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?
~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.
-
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.
-
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?
~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
-
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.
-
Slayer can you please stop deleting our money, it's getting really annoying thanks.
-
im going to see if this works on simplemachines' global headers and footers.
EDIT:
-
It doesn't.
-
This code only works on SMF For Free.
@Max Zealot: What was your edit? You left it blank.
-
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
-
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?
-
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)
-
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.
-
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?
-
when r u going to start V2
-
I have nothing planned for v2(Except member registration). I need suggestions(Not items) on what I could add into this.
-
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:
-
Did you give up on the Request An Item part Slayer? Or was it just not working...?
-
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
-
Just fixed up the Store Chat so it would work properly now, and I removed the Top 10 Richest Members Global.
-
Did you give up on the Request An Item feature Slayer?
-
Just fixed up the Store Chat so it would work properly now, and I removed the Top 10 Richest Members Global.
Thanks.
-
I guess you can say that Andrew.
-
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
<script src="/jquery.js"></script>
In your Footers, place this in there:
<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:
<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. ;)
-
??? ???
-
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
-
Giggler, that idea isn't good, people's forums will be ruined, posts will be gone, it just is a really big security risk.
-
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.
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.
Great job with the store, wish I could design like this!!!!
Thank you. :)
-
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! :)
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.
-
I'm glad you like it. :)
-
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?
-
Did your item have a single quote in it? Also, could you post your board url?
-
??? 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
-
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.
-
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?
-
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.
-
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. :) ;)
-
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?
-
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?
-
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?
-
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?
-
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?
-
yes... it shows the items...then I hit delete and it gives me the other message?? ???
-
Alrighty, I've found the problem and that should be fixed now. :)
-
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.
-
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?
-
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. :)
-
HOLY SHI!!!!!!!!!!!!!! Best CODE Ever!!!!! Thanks!
-
Thanks Lucas. :)
-
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 ??
-
As soon as a member visits any part of your site they are automatically registered in your Store.
-
Oh ok, thanks slayer766
-
;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? ???
-
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.
-
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
-
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.
-
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?
-
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.
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.
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?
-
Hmm, so you sorta want to "ban" the shop display details in the posts for certain individuals then?
For all members.
-
Ah, alright then. :) I can add that option to the settings as well with the default amount. :)
-
Ah, alright then. :) I can add that option to the settings as well with the default amount. :)
Thank you so much :)
-
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.
-
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.
-
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 :)
-
You should be able to change the posting amount to 0 now. :)
-
You should be able to change the posting amount to 0 now. :)
Thank you kindly sir!
-
How do i put a Styles for the shop in ?
-
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
-
Ok Thanks, i will be coming back to you
-
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
-
Good. :)
THEWIZARD, did you get it all sorted?
-
Good. :)
THEWIZARD, did you get it all sorted?
yes i did slaver thanks
-
wow really nice :o
-
Hi need a little help. Found this message left for me today.
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!
-
Put in 100 instead of $100 and it should work fine.
-
Yup Andrew is right, you don't need to include the dollar sign. ^_^
-
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
-
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 :)
-
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. ;)
-
Do you have JavaScript enabled?
-
How do i enable it ?
-
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
-
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.
-
Im usingI Internet Explorer
-
Alright.
Tools > Internet Options > Security
Click Custom Level
Scroll to the Scripting section of the list. Click Disable
Close and restart your browser.
-
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
-
Yeah you can't have single quotes in your item name. :(
-
what u mean by single quotes?
more specific?
i know im dum i ask to many questions... but i want to learn too...
-
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)
-
YAY now i have 5 king tuts crown!!! wohoooo tanks andrew and slayer x.x
Andrew is da man (he helped me alot!!)
-
:) Or you could call it an Apostrophe.
-
:P Slayer, so technical. ;D
It's a support forum, aren't I supposed to help? o_o
-
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? ;)
-
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??
-
Your not supposed to have apotraphies in the names of items.
I beleive slayer can fix this for ya.
-
Thanks moose, shall i wait for slayer or message him/her ???
-
Thanks moose, shall i wait for slayer or message him/her ???
him. ;)
-
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.
-
Thanks Slayer
-
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. :)
-
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?
-
Lottery sounds awesome Slayer.
Maybe an admin permission so that stock doesnt replenish?
-
I am not really looking in the direction of small additions, but more of major additions to make this much more larger.
-
Thanks!!!!!!!!!!
-
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.
-
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.
-
Haha, something like RPG would be fantastic Slayer!
-
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.
-
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.
-
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.
-
: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.
-
Thanks for these codes mate, I am working on a project forums. ;) For a promotion forums.
-
I might do something special for you guys Andrew, but it won't be anytime soon though.
Palace, thanks - glad you like it. :D
-
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)
-
:)
1. It's possible, and I plan to write that in tonight actually.
2. I could think of something.
-
:)
1. It's possible, and I plan to write that in tonight actually.
2. I could think of something.
Alright mate :)
-
Aaaand number one is completed. :)
-
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
-
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.
-
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.
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.
-
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
-
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
-
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?
-
yes, tried that and nothing happened.
-
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?
-
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 :-)
-
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 ;)
-
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. :)
-
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.
-
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?
-
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
-
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.
-
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?
-
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.
-
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
-
This is totally awesome. Great going out there!
Regards,
KrazY.
-
This is working good for me :)
-
how come when i go to the tab and click shop theres nothing in there and i added stuff
-
That doesn't give us any help at all :P
Could you please post your forum URL and the code you used?
-
Me thinks slayer took this too far, his account has been suspended. :o
-
Apparently so. This isn't good at all. This means that the RX code index is down.
-
/me sighs in relief
The store is now back online!
-
its down again
-
Nah it's not down, I removed it.
-
For good?
-
Slayer!! :o why would you do such a thing????? Our members on Partners In Crime were absolutely loving it. D:
-
Is the IPB one down too?
Why'd you take it down? And are you still making V2?
-
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
-
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.
-
Thank you Slayer it was fun while it lasted! ;D
-
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.
-
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.
-
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.
-
Thanks, I should be able to figure this out. (referring to the database tables)