Halo Posted April 5, 2008 Posted April 5, 2008 Before anyone asks i can't convert this from v2 to v1 because v1 dosn't come with forums.php This is just like CE it gives you credits for every post you do and when you get enough credits you can exchange them for stuff. SQL QUERY You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. First open forums.php Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add underneath: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. (NOTE: you can change the amount of credits they gain) Then find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add underneath: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then create a file called fctemple.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add in veiwuser.php (OPTIONAL): You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
juelpatwary Posted April 5, 2008 Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Wow, Great mod thanks 8-) Quote
-Matt- Posted April 5, 2008 Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Just give's you spam in your forum's really :oops: Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Then just make it so they can post only a few posts per day Quote
Klikoka Posted April 5, 2008 Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Cool Nice Addon Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Cool Nice Addon Thanks Quote
-Matt- Posted April 5, 2008 Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Still you have 1,000 member's active they all want forum point's 1000 topic's/post's per day of rubish :p Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] True, well its your choice really Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Or you can just set it to 1 credit per post or change the SQL into decimal 1,1 and set it to go up by 0.5 with a 10 posts per day limit Quote
-Matt- Posted April 5, 2008 Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Yea but still get spam :-o But nice addition. Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] True, but very little if its 10 posts per day, at least they can't send forum credits or that will lead to a lot of points being totaled up Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] If anyone got any updates please post! Cya :-D Quote
Richard Posted April 6, 2008 Posted April 6, 2008 Re: [v2]Forum Credits w/ exchange[v2] Very nice mod, I'll definately use this :) Quote
Halo Posted April 6, 2008 Author Posted April 6, 2008 Re: [v2]Forum Credits w/ exchange[v2] Very nice mod, I'll definately use this :) Thanks Quote
John1 Posted April 13, 2008 Posted April 13, 2008 Re: [v2]Forum Credits w/ exchange[v2] $db->query("INSERT INTO `inventory` VALUES (NULL, '{$set['willp_item']}', '$userid', '1')"); print "You have traded 2500 forum credits for a will potion."; should be $db->query("UPDATE users SET fcredits=fcredits-2500 WHERE userid=$userid"); $db->query("INSERT INTO `inventory` VALUES (NULL, '{$set['willp_item']}', '$userid', '1')"); print "You have traded 2500 forum credits for a will potion."; Quote
Halo Posted April 13, 2008 Author Posted April 13, 2008 Re: [v2]Forum Credits w/ exchange[v2] $db->query("INSERT INTO `inventory` VALUES (NULL, '{$set['willp_item']}', '$userid', '1')"); print "You have traded 2500 forum credits for a will potion."; should be $db->query("UPDATE users SET fcredits=fcredits-2500 WHERE userid=$userid"); $db->query("INSERT INTO `inventory` VALUES (NULL, '{$set['willp_item']}', '$userid', '1')"); print "You have traded 2500 forum credits for a will potion."; Oh yeah, thanks John1 for the fix. :) UPDATED FIRST POST Quote
John1 Posted April 13, 2008 Posted April 13, 2008 Re: [v2]Forum Credits w/ exchange[v2] no problem, just doing my part to keep ppls mods and games exploit free Quote
Danny696 Posted December 25, 2010 Posted December 25, 2010 I like it, encourages people to use the forum Quote
raynard Posted December 30, 2010 Posted December 30, 2010 Good Mod Works well My Forums are being used properly for the first time in a long while +1 from me Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.