Advertise Here

Author Topic: SMF For Free Money & Store System  (Read 6647 times)

0 Members and 1 Guest are viewing this topic.

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
« Last Edit: July 31, 2009, 11:50:30 am by slayer766 »

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #1 on: July 16, 2009, 10:09:43 pm »
*Update:

I have basically the money system complete...the only thing you can't do is get money for posting with the quick reply, because of the ajax instant reply on that.

But I have all of this completed:

Money Features:
  • Money per post, topic, poll
  • Donate to other users
No donating messages yet
  • Money increase/decrease in real time right on the same page
  • Info displayed next to your posts and in your profile

Offline Andrew

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

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: SMF For Free Money & Store System
« Reply #2 on: July 17, 2009, 12:11:00 am »
This is something I have most definitally been looking for Slayer! Best of luck with it! It looks like it will be fun, and for lots of people to enjoy! :)

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #3 on: July 17, 2009, 12:16:02 am »
Thanks. All that needs to be done is the shop, and then this can be open for testing, and shortly after that it can be released. :)

While I do appreciate your comment, do you have anything to add to this?

Offline Andrew

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

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: SMF For Free Money & Store System
« Reply #4 on: July 17, 2009, 12:26:34 am »
Im guessing this is gonna be like Agent Moose's shop code, except with a lot more?

Also, that may be a big problem, not being able to get posts because of Quick Reply, thats most weird.

Really dont have any suggestions, this is about all there is to a shop. ;)

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #5 on: July 17, 2009, 08:50:52 am »
This isn't going to be like Mooses' shop at all I believe...

You can get posts by quick reply...just not money. How is the ajax instant quick reply on SMF For Free? Is it on there by default all the time or can you turn it off somewhere for your board?

You don't know what items could be added to the shop?

Offline Andrew

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

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: SMF For Free Money & Store System
« Reply #6 on: July 17, 2009, 10:11:14 am »
This isn't going to be like Mooses' shop at all I believe...

You can get posts by quick reply...just not money. How is the ajax instant quick reply on SMF For Free? Is it on there by default all the time or can you turn it off somewhere for your board?

You don't know what items could be added to the shop?

On my forum, its set to off by default, so we can toggle it off and on.

Um, heh, I was hoping we could add our own items..

How exactly are the items set up, will it have the name of the item and the price? Or something else?

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #7 on: July 17, 2009, 01:08:17 pm »
Oh, so you can turn the AJAX instant quick reply on/off? Moose said you couldn't.


The items, yeah you can add your own items. It's going to have:

Name, Price, Description, Stock

Offline simply sibyl

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

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: SMF For Free Money & Store System
« Reply #8 on: July 17, 2009, 01:10:01 pm »
I think there is some confusion about this.
Ajax Quick Reply is a modification and was added to the forums.
It changes how the normal Quick reply that is part of the forum software works.

You can, members can,  disable or enable Quick Reply via your Profile > Look and Layout Preferences
Quick Reply cannot be turned off and made unaccessable forum wide though.
« Last Edit: July 17, 2009, 01:16:01 pm by simply sibyl »

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #9 on: July 17, 2009, 05:11:35 pm »
Oh...so in that case then, for this system you won't be able to get money for a quick reply. No worries though, and thanks simply sibyl. :)

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #10 on: July 20, 2009, 11:10:49 am »
First post updated with screenshots for the money system.

Offline Andrew

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

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: SMF For Free Money & Store System
« Reply #11 on: July 20, 2009, 11:34:00 am »
Well Slayer, this looks so awesome, and Im really anxious for the release
* Andrew taps his foot

So the only "bug" that is in this is that it doesnt work with quick reply?

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #12 on: July 20, 2009, 12:17:25 pm »
Yup, and that's because onsubmit the post function is taken by the ajax function, I would do onclick but then users could keep clicking it over and over and over to get free money.

Also, the donate panels slide up/down when you click the donate image. :P

Offline Agent Moose

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

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: SMF For Free Money & Store System
« Reply #13 on: July 21, 2009, 06:29:18 pm »
Yup, and that's because onsubmit the post function is taken by the ajax function, I would do onclick but then users could keep clicking it over and over and over to get free money.

There a thing you can do you know :P

Put an onclick function for the Post button.  To make sure they will not be getting free money, make it so you have to have text in the post box.

So it would look something like this:

Code: [Select]
var area = document.getElementsByTagName("textarea");
for(i=0;i<area.length;i++){
if(area[i].className == "editor" && area[i].parentNode.parentNode.arentNode.parentNode.parentNode.parentNode.id == "quickReplyOptions" && area[i].value != ""){
GiveMoney();
};
};

function GiveMoney(){
var reply = document.getElementsByTagName("input");
for(x=0;x<reply.length;x++){
if(reply[x].value == "Post"){

//Give Money

};
};
};

Thats just a quick code though :P

Check out Revolution X's Brand new Code Index!

Offline slayer766

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: SMF For Free Money & Store System
« Reply #14 on: July 21, 2009, 08:16:23 pm »
Code: [Select]
document.forms.postmodify.onclick=function(){
if(document.forms.postmodify.message.value.length > 0){
//Give Money
}
}
Might just do that.

But I'll worry about posting for money later, thanks moose. :)

 

Related Topics

  Subject / Started by Replies Last post
17 Replies
4665 Views
Last post August 07, 2009, 10:57:07 pm
by zeph
301 Replies
81678 Views
Last post March 11, 2010, 06:08:45 am
by Jntg4
2 Replies
1253 Views
Last post October 08, 2009, 07:46:34 pm
by InsertName
17 Replies
8619 Views
Last post March 27, 2010, 10:59:14 am
by Andrew
0 Replies
3985 Views
Last post April 10, 2016, 08:49:32 am
by SMF For Free