cody4camp Posted December 26, 2009 Posted December 26, 2009 [align=center]SuperVoting 9 Topsites Included Tokens for voting Token Redemption Easy to integrate SQL[mysql]ALTER TABLE `users` ADD `votetoken` INT( 11 ) NOT NULL DEFAULT '0'[/mysql] 2. Code apexwebgaming.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. brpg.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. cetopwebgames.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. mmorpg100.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. oz.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. toprpggames.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. twg.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. voting.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. [/php] votingredeptionceter.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. xtremetop100.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 3.Edit the files When you sign-up for your top-site accounts you get your link, for example 1141. At the end of each topsite php file we made, it has a line like: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You will take your id like so: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You may also want to edit redemptioncenter.php, it contains premade prizes, but you need to change them to balance your game. Add a link in explore, or mainmenu or even header.php to get users to vote! Thanks, Cody4camp [/align] Quote
cody4camp Posted December 26, 2009 Author Posted December 26, 2009 remove You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. remove it from every single item in the switch. if you get an error. Quote
rulerofzu Posted December 26, 2009 Posted December 26, 2009 Why put this into the users table? Why are you calling userstats?? Quote
Monkey644 Posted December 26, 2009 Posted December 26, 2009 Screenie? Looks good to me so far. Hes calling userstats because you redeem your voting tokens for stats... <- Hope that answers it :) Quote
cody4camp Posted December 26, 2009 Author Posted December 26, 2009 It is a rough code but i made it before i tested it. Hopefully someone can enjoy it though, it works. Ill be posting an updated version using the incentives feature. Quote
rulerofzu Posted December 26, 2009 Posted December 26, 2009 Screenie? Looks good to me so far. Hes calling userstats because you redeem your voting tokens for stats... <- Hope that answers it :) I hadnt looked at the redemption file tbh. Quote
J_StrauD Posted December 27, 2009 Posted December 27, 2009 Looks nice, but the topwebgames and voting.php are the same :S Quote
cody4camp Posted December 27, 2009 Author Posted December 27, 2009 voting.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
CrazyT Posted December 27, 2009 Posted December 27, 2009 This could be done in 3 files. CAN be done in ONE file. Quote
J_StrauD Posted December 27, 2009 Posted December 27, 2009 alright, cool thanks :D I think the voting tokens is a nice idea Quote
cody4camp Posted December 27, 2009 Author Posted December 27, 2009 This could be done in 3 files. CAN be done in ONE file. Really what does it matter? I give a free mod to the community... Quote
CrazyT Posted December 27, 2009 Posted December 27, 2009 This could be done in 3 files. CAN be done in ONE file. Really what does it matter? I give a free mod to the community... lol. - I was just replying to his post. Quote
Danny696 Posted December 27, 2009 Posted December 27, 2009 Good point Lazy, but i would prefer it at most in two, Voteing(vote table, with vote shop) and vote, where you get the moneyz Quote
Zero-Affect Posted December 29, 2009 Posted December 29, 2009 this could be done in no files, simply don't do it... lol I seem to have seen this before somewhere just can't place where... Reminds me of Advanced Voting script - same sql and similar files... Quote
jds137 Posted December 29, 2009 Posted December 29, 2009 Fatal error: Cannot redeclare item_add() (previously declared in /home/church/ml/public/global_func.php:561) in /home/church/ml/public/global_func.php on line 561 Is what I keep getting Quote
cody4camp Posted December 30, 2009 Author Posted December 30, 2009 Fatal error: Cannot redeclare item_add() (previously declared in /home/church/ml/public/global_func.php:561) in /home/church/ml/public/global_func.php on line 561 Is what I keep getting Only for V2 buddy... Quote
Uridium Posted December 30, 2009 Posted December 30, 2009 remove require "globals.php"; from all the voting pages its not needed if global_func is being called..... Will also cure the error JDS is havng 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.