It is currently Wed Aug 20, 2014 9:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How do I make a cash/point, system on my website?
PostPosted: Thu Nov 05, 2009 2:04 am 
Offline
User avatar
.: Level II :.

Joined: Tue Sep 29, 2009 2:36 am
Posts: 272
iTrader:
Gender: None specified
Cash:40
Reputation point: 10
LukasTheCheater will become famous soon enough
I have a freewebs, and was wondering how to create a cash/point system for it? Does anybody know?

_________________
Image


Top
 Profile  
 
 Post subject: Re: How do I make a cash/point, system on my website?
PostPosted: Thu Nov 05, 2009 2:40 am 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 3003
Location: Home sweet home
iTrader:
Gender: Male
Cash:3460
Reputation point: 519
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

Well. If you're running a forum you'll have to find a cash/point mod for it. Otherwise you can implement one using PHP along with a SQL database.

So essentially you'll have to either use a pre-made system or learn how to use PHP/SQL.

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: How do I make a cash/point, system on my website?
PostPosted: Thu Nov 05, 2009 3:55 am 
Offline
User avatar
.: Level II :.

Joined: Tue Sep 29, 2009 2:36 am
Posts: 272
iTrader:
Gender: None specified
Cash:40
Reputation point: 10
LukasTheCheater will become famous soon enough
OK, So anyone have a premade one? It would also be very helpful if someone wanted to mentor me. for neofriend cash or what ever.

_________________
Image


Top
 Profile  
 
 Post subject: Re: How do I make a cash/point, system on my website?
PostPosted: Thu Nov 05, 2009 4:52 am 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 3003
Location: Home sweet home
iTrader:
Gender: Male
Cash:3460
Reputation point: 519
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

LukasTheCheater wrote:
OK, So anyone have a premade one? It would also be very helpful if someone wanted to mentor me. for neofriend cash or what ever.

Well, it depends on whether you're running a forum or not. If you are, then there will probably one premade for you. Just search in the forum software's mod database.

Otherwise, you're out of luck. You'll have to program it yourself which will require you to learn at the very least some minimal PHP and SQL. Google up some tutorials, there are plenty of them out there.

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: How do I make a cash/point, system on my website?
PostPosted: Thu Nov 05, 2009 5:10 am 
Offline
User avatar
.: Level II :.

Joined: Tue Sep 29, 2009 2:36 am
Posts: 272
iTrader:
Gender: None specified
Cash:40
Reputation point: 10
LukasTheCheater will become famous soon enough
Ok, I guess its gonna be complicated, I kinda figured out how, I'm trying to make a game/point system.

_________________
Image


Top
 Profile  
 
 Post subject: Re: How do I make a cash/point, system on my website?
PostPosted: Tue Aug 31, 2010 4:41 am 
Offline
User avatar
.: Newbie :.

Joined: Tue Aug 31, 2010 4:26 am
Posts: 13
iTrader:
Gender: None specified
Cash:19
Reputation point: 0
HeartLess is an unknown quantity at this point



Its really not that complicated... Do you have access to the sql stuff for your website?

in your table for users, add a column labeled "money"

ALTER TABLE users
ADD money INT(11) NULL DEFAULT '0'

then, in your php files, you can basically go like this...

$query = "SELECT * FROM ".$prefix."users WHERE username = '".$loggedinname."'";
$result = mysql_query($query);
$num = mysql_numrows($result);
$i=0;
while ($i < 1) {
$money=@mysql_result($result,$i,"money");
$i++;
}

and get your money variable... after that, you can add money, subtract money, do whatever you want with the variable and save it to variable $newmoney

then...

$query = "UPDATE ".$prefix."users SET money='".$newmoney."' WHERE username = '"(name of user)"'";
mysql_query($query);

not too bad... just adding a couple simple lines of code...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
* FAQ

Powered by phpBB © 2000- phpBB Group
NEOPETS, characters, logos, names and all related indicia are trademarks of Neopets, Inc., © 1999-. © denotes Reg. US Pat. & TM Office. All rights reserved.
Website © neofriends.net - this site is in no way affiliated with Neopets, Inc or Viacom International, Inc.

phpBB SEO