Halo Posted April 5, 2008 Share 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 Link to comment Share on other sites More sharing options...
juelpatwary Posted April 5, 2008 Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Wow, Great mod thanks 8-) Quote Link to comment Share on other sites More sharing options...
-Matt- Posted April 5, 2008 Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Just give's you spam in your forum's really :oops: Quote Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Klikoka Posted April 5, 2008 Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Cool Nice Addon Quote Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Cool Nice Addon Thanks Quote Link to comment Share on other sites More sharing options...
-Matt- Posted April 5, 2008 Share 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 Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] True, well its your choice really Quote Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
-Matt- Posted April 5, 2008 Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] Yea but still get spam :-o But nice addition. Quote Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Halo Posted April 5, 2008 Author Share Posted April 5, 2008 Re: [v2]Forum Credits w/ exchange[v2] If anyone got any updates please post! Cya :-D Quote Link to comment Share on other sites More sharing options...
Richard Posted April 6, 2008 Share Posted April 6, 2008 Re: [v2]Forum Credits w/ exchange[v2] Very nice mod, I'll definately use this :) Quote Link to comment Share on other sites More sharing options...
Halo Posted April 6, 2008 Author Share Posted April 6, 2008 Re: [v2]Forum Credits w/ exchange[v2] Very nice mod, I'll definately use this :) Thanks Quote Link to comment Share on other sites More sharing options...
John1 Posted April 13, 2008 Share 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 Link to comment Share on other sites More sharing options...
Halo Posted April 13, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
John1 Posted April 13, 2008 Share 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 Link to comment Share on other sites More sharing options...
Danny696 Posted December 25, 2010 Share Posted December 25, 2010 I like it, encourages people to use the forum Quote Link to comment Share on other sites More sharing options...
raynard Posted December 30, 2010 Share 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 Link to comment Share on other sites More sharing options...
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.