legendarysk8er
06-06-2003, 11:59 PM
Yeah, I'm pretty sure this is out thre, and I'm not talking about the one for the store, I want one for my rpg players at my forums so when new users register I can give them points. Or actually, where I can just pm all users like donating to them or something.
Erwin
06-07-2003, 12:29 AM
Not a good idea since old members can register multiple new accounts to get points and donate it to themselves.
legendarysk8er
06-07-2003, 01:26 AM
No, we just check the IP's and if they do, oh well..
EvilLS1
10-02-2003, 10:17 PM
In register.php find:
$DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield."parentemail,coppauser,homepage,icq,aim,yahoo,signa ture,adminemail,showemail,invisible,usertitle,join date,cookieuser,daysprune,lastvisit,lastactivity,u sergroupid,timezoneoffset,emailnotification,receiv epm,emailonpm,options,birthday,maxposts,startofwee k,ipaddress,pmpopup,referrerid,nosessionhash,avata rid) VALUES (NULL,'".addslashes(htmlspecialchars($username))."','".addslashes(md5($password))."','".addslashes(htmlspecialchars($email))."',".$newstyleval."'".addslashes(htmlspecialchars($parentemail))."','$coppauser','".addslashes(htmlspecialchars($homepage))."','".addslashes(htmlspecialchars($icq))."','".addslashes(htmlspecialchars($aim))."','".addslashes(htmlspecialchars($yahoo))."','".addslashes($signature)."','$adminemail','$showemail','$invisible','".addslashes($usertitle)."','".time()."','$cookieuser','".addslashes($prunedays)."','".time()."','".time()."','$newusergroupid','".addslashes($timezoneoffset)."','$emailnotification','$receivepm','$emailonpm',' $options','".addslashes($birthday)."','".addslashes($umaxposts)."','".addslashes($startofweek)."','".addslashes($ipaddress)."','$pmpopup','".addslashes($testreferrerid['userid'])."','$nosessionhash','$avatarid')");
$userid=$DB_site->insert_id();
In that section of code find:
coppauser,homepage,
Replace it with:
coppauser,homepage,storep,
Still in that section of code find:
'".addslashes(htmlspecialchars($homepage))."',
Replace it with:
'".addslashes(htmlspecialchars($homepage))."','25',
Then in the code above just replace the 25 with whatever amount of points that you want to give new members.
EvilLS1
10-02-2003, 10:21 PM
Oops. Nevermind. I thought you were talking about Lesanes store hack.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.