Uridium Posted February 14, 2011 Author Share Posted February 14, 2011 Steve keep me informed after youve added the nw page and tell me if your still having issues.. Quote Link to comment Share on other sites More sharing options...
Steve Posted February 15, 2011 Share Posted February 15, 2011 I am still having a few issues and am now trying to install the mod on a fresh copy. I would gladly let you take a look if you have time. I am sure it is something simple that I am missing. Quote Link to comment Share on other sites More sharing options...
Teckna Posted June 8, 2011 Share Posted June 8, 2011 Nice work :) Now add to Rar and ur PRO Quote Link to comment Share on other sites More sharing options...
Smokey Posted July 3, 2011 Share Posted July 3, 2011 its odd...when i add the bit to global_func I get a white page on any file i try to access on my site, and if i take that function back out, I can access it, except schooling, i get a white page on that no matter what. On staff_courses.php I was getting a white page so I replaced "http:// with ' and replaced " target="_blank" with ' as well, i dont know why but sometimes that will cause a file to work that wouldnt work, and it did with staff_courses.php but not with schooling..so in short, the schooling.php and global_func i cannot get to work. I know I'm new at this and its probably something simple lol. Quote Link to comment Share on other sites More sharing options...
twison Posted August 19, 2011 Share Posted August 19, 2011 (edited) I'm not sure if anyone else has had this problem at all but I keep getting this error on the schooling.php page Fatal error: Call to a member function query() on a non-object in /home2/beyondle/public_html/schooling.php on line 271 which is this line $times=$db->query("SELECT lastcourse FROM schoolhomework WHERE userid=$userid AND lastcourse='{$coud['course']}'"); I have done everything that was required by the creator of this mod to run it but since I'm using LITE I have to alter certain parts of the scripts such as the hyper links and set globals.php and sglobals.php to global_func.php Other then that I have not made any other alterations. Can anyone help me figure out why I'm getting this error and how to correct it? Edit: It turns out that my site didn't like some of the $db-> queries that was being used, I had to convert them to mysql queries. Edited August 19, 2011 by twison Quote Link to comment Share on other sites More sharing options...
Anonymous Posted August 19, 2011 Share Posted August 19, 2011 Tried replacing $db->query with mysql_query ? Quote Link to comment Share on other sites More sharing options...
Smokey Posted September 18, 2011 Share Posted September 18, 2011 (edited) I'm having an issue, which is an error on this line: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The error: QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO schoolhomework VALUES(1,4, crtimes=crtimes+1) It isnt counting lastcourse in that so i get an error, but when i add lastcourse to it, it takes the error away, but it inserts into schoolhomework 11 times so it credits the user 11 times when finishing a course lol. But only stats..... the money, crystals and items are crediting correctly. IF i were to leave it so that the error shows up upon completion, then it actually credits like it should, just have the error, but if i add in any value for lastcourse, it does the multiple crediting. Edited September 18, 2011 by Smokey Quote Link to comment Share on other sites More sharing options...
Uridium Posted September 20, 2011 Author Share Posted September 20, 2011 I did rebuild this to do this a lot more you can see the new version in action at http://www.magical-myth.com under Academy Quote Link to comment Share on other sites More sharing options...
Smokey Posted September 25, 2011 Share Posted September 25, 2011 (edited) Overall nice mod, my users seem to enjoy it, though i changed a few things, users can use so many clicks per hour, i took out the daily limit, and upon completion of some give special items that can be combined to make special weapons, thanks to a combine mod i got from here. here is a small addon i made if anyone wants it, it is a guide to show users exactly what they're getting when they complete a course and the costs. Though as you see you'll have to change some things as its made for my game. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. It's not much but then I'm not a qualified coder...yet :P Edited September 25, 2011 by Smokey Quote Link to comment Share on other sites More sharing options...
Apocalyptical Posted October 10, 2011 Share Posted October 10, 2011 I did rebuild this to do this a lot more you can see the new version in action at http://www.magical-myth.com under Academy Hey illusions, I'm actually trying to do something similar to what you have there, having basic education and then an academy separate, but for a donator only feature. I have the staff side of it working but schooling.php and edureset.php are a no go. I guess it was made as a replacement for regular education and so trying to combine it has clashed. I changed all the table prefixes in the database to be separate and changed all the corresponding parts in the codes. Been messing around with the schooling.php and edureset.php for a bit now and can't seem to get either pages to even load let alone getting an error. I know it can't be that difficult, considering this is how I made the staff codes all work, but for some reason I'm missing something here. Anyway you could shoot me yours? Or perhaps have a look over mine? Whichever you feel will be easier. I would appreciate your help here, this is definitely a mod worth using. :) Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 12, 2011 Author Share Posted October 12, 2011 Too be honest I made this ages ago and cant really remember what I amended or added I dont currently have a backup either due to a Hard drive crash which i lost ALL of my work. The only exsisting work i have is what is on magical-myth.com but that is a paid mod.... Quote Link to comment Share on other sites More sharing options...
Apocalyptical Posted October 12, 2011 Share Posted October 12, 2011 Ok well I have it basically all the way done, there's just something I must be missing in the schooling.php and the edureset.php. The pages are just not loading, the staff side is fine, have the separate database for courses, everythings good. Just the display of those 2 pages. Would you mind taking a quick look for me? I'm thinking I'm just missing one little thing, just been staring at it for hours and can't think of anything else. Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 5, 2013 Share Posted March 5, 2013 Fixed Just thought I would let everyone know that its fixed now :D schooling.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. staff_courses.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. :) thanks in advance for the plus ones :D 1 Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 5, 2013 Author Share Posted March 5, 2013 Nicely done thank you AnonymousUser + 1000 :) Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 5, 2013 Share Posted March 5, 2013 your welcome i always liked your mods and now that im working on games more i figure i might as well share Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 5, 2013 Share Posted March 5, 2013 heres what im using.... and its sending multiple events this is my schooling.php (pretty much the same just a few edits to fit the layout a bit...) 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...
InternalExpertCoding Posted March 8, 2013 Share Posted March 8, 2013 Very Nice. Good work :) Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted March 8, 2013 Share Posted March 8, 2013 lol its sending double events... any ideas? Quote Link to comment Share on other sites More sharing options...
InternalExpertCoding Posted March 8, 2013 Share Posted March 8, 2013 How many events is it sending? 3 Maybe? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted March 8, 2013 Share Posted March 8, 2013 (edited) Nicely done. For those of us who don't like the error_log filling up: Add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. above (line 7): You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. above (line 106): You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change (line 210): 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. There are multiple other things that may throw errors, but you can tackle those yourself ;) Great mod illusions, nicely done :) Edited March 8, 2013 by Magictallguy [hr] BBCode was reomved? :O Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted April 30, 2013 Share Posted April 30, 2013 Has anyone got a full working copy of this? Seems a shame to let this go to waste Quote Link to comment Share on other sites More sharing options...
peterisgb Posted May 4, 2013 Share Posted May 4, 2013 agreed, it would be nice, i think Illusions has made this a paid mod now i think. Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted May 4, 2013 Share Posted May 4, 2013 (edited) i was working on it but got sidetracked lol however the updated codes are posted just before your post bennyh i've added the stuff MTG suggested aswell... here they are staff_courses.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. schooling.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited May 4, 2013 by AnonymousUser updated the code as requested by mtg Quote Link to comment Share on other sites More sharing options...
peterisgb Posted May 4, 2013 Share Posted May 4, 2013 Thanks for the post of a working copy. Quote Link to comment Share on other sites More sharing options...
Uridium Posted May 6, 2013 Author Share Posted May 6, 2013 agreed, it would be nice, i think Illusions has made this a paid mod now i think. nah its still a freebie :) 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.