Uridium Posted May 5, 2009 Posted May 5, 2009 Still finishing this off but i thought id let you have a sneak preview before its made public..... DEMO GO TO SCHOOL LINK FIXED ADMIN FEATURES Whats it got then ? Admins no longer have to set the amount of days a course will finish it now works of Percentages. So for example.. You can set your Schooling to say 0.5% and each time the user clicks the educate link it will go up by 0.5% each time until it reaches 100% then the course has been finished. Aswell as setting a description for the Module you can now set up Other text events such as whats happening whilst your being educated + the final outcome text once the course is completed. You can still set up the usual abilities as with the old Course system but now you can decide wether to give an item as a reward or give cash as a reward for finshing the tuition. User End When your user starts a course they must be on your site for the education to finish rather than wait for the days to run out. They will receive 18 clicks per day to educate their given subject and as before this depends on what percentage you set the tuition up from the admin panel. Users have to wait 1 hour before they can click again and the info screen will tell them what their current status is. Quote
E-Studios Posted May 5, 2009 Posted May 5, 2009 Re: [MCCODES V2] New Schooling Advanced Hmm it look's good man. Well done :-) +1 Quote
MDK666 Posted May 5, 2009 Posted May 5, 2009 Re: [MCCODES V2] New Schooling Advanced nice like always illusions Quote
F4R1D Posted May 5, 2009 Posted May 5, 2009 Re: [MCCODES V2] New Schooling Advanced well done illusions +1 For you Quote
Uridium Posted May 6, 2009 Author Posted May 6, 2009 Re: [MCCODES V2] New Schooling Advanced Quick update im about 90% done on this now still some silly fiddley bits to add. That are driving me mental if i see another ELSE error im going to stab Dabomstew in the nose ;) Quote
MDK666 Posted May 6, 2009 Posted May 6, 2009 Re: [MCCODES V2] New Schooling Advanced yay lol and have fun on the ELSE i hate those damn things there annoying. Quote
Uridium Posted May 7, 2009 Author Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced Ok time to say im having a few problems I cant get the stupid thing to update the SQLS when a course has reached 100% it just wants to carry on doing the course even though its exceeded 100%. Quote
Miniman Posted May 7, 2009 Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced Paste part of the code here and we can help :) Quote
Uridium Posted May 7, 2009 Author Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced I'll post the whole thing for now which includes the admin section. for those that want to try remedy the problem.... SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. call this staff_courses.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And call this education.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Uridium Posted May 7, 2009 Author Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced Ok i havent added the section that should Finish a course as my version just isnt working but the idea is when the Percent reaches that set by the set it should update and finish the course. FOOTNOTE This doesnt require a cron so the cron will need to be taken from cron_day.php and inserted into the education.php all mentions of cday should be called cpercent. minus_clicks SQL has no form at the moment but it should be that the admin sets the amount of clicks a user can use per session before they have to wait for they time out.. example 18 clicks are a daily total so the admin can set the minus clicks to say 3 so after 3 clicks they have to wait an hour to gain an extra 3 clicks.... Once the section has been completed for the Courses to update and finish that particular course i can start adding more features as promised. Quote
Lithium Posted May 7, 2009 Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced On education.php right after this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add something along these lines... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted May 7, 2009 Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced sounds like the team are coders are gettin back to help each other out :-o its been awhile congrats everyone. Quote
Miniman Posted May 7, 2009 Posted May 7, 2009 Re: [MCCODES V2] New Schooling Advanced This won't update in decimals, this is only updating the percent by 1 each time, but you seem to be able to set the percent gained in decimals. Set 'cpercent' in users to DECIMAL 3,1 and Set 'crPERCENT' in courses to DECIMAL 3,1. Now find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And change it to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That should work for that issue. 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.