halo2master Posted August 1, 2008 Share Posted August 1, 2008 Well this is just something i made very very basic so don't go saying whats the point its here if people want it. Its just to say if you have read the rules or not and if someone brakes a rule you can at least go check in the database if they have even read the rules page then maybe the punishment can be bigger for not taking notice :D SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add in header.php where you want it to show up i added near the donate to your game bit: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now go to gamerules.php and add this below "$h->menuarea();" You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. So when someone goes onto the rules page it will count it as them reading the rules and the notice at the top of the page will go. This can be used for v1 or v2 anyway i don't want no arguments i just done this because I'm board :-D. enjoy. Quote Link to comment Share on other sites More sharing options...
zbirc3 Posted August 1, 2008 Share Posted August 1, 2008 Re: ReadRules nice... but use this SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then it works perfect 100% Quote Link to comment Share on other sites More sharing options...
halo2master Posted August 1, 2008 Author Share Posted August 1, 2008 Re: ReadRules Yea i see the problem now ";" lol. Thanks. Quote Link to comment Share on other sites More sharing options...
Joel Posted August 1, 2008 Share Posted August 1, 2008 Re: ReadRules Nice little modification Quote Link to comment Share on other sites More sharing options...
halo2master Posted August 1, 2008 Author Share Posted August 1, 2008 Re: ReadRules Thanks. Quote Link to comment Share on other sites More sharing options...
zbirc3 Posted August 1, 2008 Share Posted August 1, 2008 Re: ReadRules No problemo. :P :D Quote Link to comment Share on other sites More sharing options...
Colonel Posted August 23, 2008 Share Posted August 23, 2008 Re: ReadRules I tried it and the link would never leave. looked good but it just stayed there. Quote Link to comment Share on other sites More sharing options...
zbirc3 Posted August 23, 2008 Share Posted August 23, 2008 Re: ReadRules it left for me.... You probably (not saying you did) installed it incorrectly. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted August 23, 2008 Share Posted August 23, 2008 Re: ReadRules Nice idea Quote Link to comment Share on other sites More sharing options...
John1 Posted October 11, 2008 Share Posted October 11, 2008 Re: [mccode] ReadRules For V2 you need to paste this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. under include "globals.php"; in order for it to work Quote Link to comment Share on other sites More sharing options...
Colonel Posted October 12, 2008 Share Posted October 12, 2008 Re: [mccode] ReadRules Still doesn't work on my site Quote Link to comment Share on other sites More sharing options...
John1 Posted October 12, 2008 Share Posted October 12, 2008 Re: [mccode] ReadRules i take no credit for this mod. For v2, if you used the original post and haven't been able to get it to work change this line in header You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and change the query to in gamerules.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. For those who haven't added this mod yet SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add in header.php where you want it to show up i added near the donate to your game bit: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now go to gamerules.php and add this below "$h->menuarea();" 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...
radio_active Posted October 13, 2008 Share Posted October 13, 2008 Re: [mccode] ReadRules That isnt a very what i would call "effecient" piece of code. SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Id suggest adding this to loggedin.php or authentication.php not exactly sure at the moment as i cannot check. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then on the gamerules.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. or plain and simple. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There is not a real need to use a sprintf there but its still an option. I may be wrong with what i just posted but you can try it if you wish, its for V2! EDIT: Spelt effecient wrong. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 13, 2008 Share Posted October 13, 2008 Re: [mccode] ReadRules this great mod i have put my one at the top before banner Quote Link to comment Share on other sites More sharing options...
John1 Posted October 14, 2008 Share Posted October 14, 2008 Re: [mccode] ReadRules That isn't a very what i would call "effecient" piece of code. SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Id suggest adding this to loggedin.php or authentication.php not exactly sure at the moment as i cannot check. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then on the gamerules.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. or plain and simple. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There is not a real need to use a sprintf there but its still an option. I may be wrong with what i just posted but you can try it if you wish, its for V2! EDIT: Spelt effecient wrong. The code i posted is exactly what i had put in my game which was taken from the original post by halo2master i take no credit for it and i do not wish to take any credit for it but the changes that i made to the mod have not changed the way it works but made it so it does work correctly. Also you still haven't spelt efficient correctly yet . Quote Link to comment Share on other sites More sharing options...
Ishraq Posted October 14, 2008 Share Posted October 14, 2008 Re: [mccode] ReadRules this can still be usefull so that people can read the rules and understand everything before they start playing Quote Link to comment Share on other sites More sharing options...
radio_active Posted October 14, 2008 Share Posted October 14, 2008 Re: [mccode] ReadRules The code i posted is exactly what i had put in my game which was taken from the original post by halo2master i take no credit for it and i do not wish to take any credit for it but the changes that i made to the mod have not changed the way it works but made it so it does work correctly. Also you still haven't spelt efficient correctly yet . I was talking to halo2master. :-) Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 14, 2008 Share Posted October 14, 2008 Re: [mccode] ReadRules hmm i have an idea make this into a voting one where you must vote for all of them for it to disappear Quote Link to comment Share on other sites More sharing options...
John1 Posted October 15, 2008 Share Posted October 15, 2008 Re: [mccode] ReadRules The code i posted is exactly what i had put in my game which was taken from the original post by halo2master i take no credit for it and i do not wish to take any credit for it but the changes that i made to the mod have not changed the way it works but made it so it does work correctly. Also you still haven't spelt efficient correctly yet . I was talking to halo2master. :-) Oh sorry mate didn't realise 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.