seanybob Posted September 20, 2006 Author Share Posted September 20, 2006 adding a crime panel in admin panel DougK and tranz_fusion, you guys mind if i add ur changes to my first post with the mods? ill add ur guys names to that post too if its ok Quote Link to comment Share on other sites More sharing options...
Astra Posted September 20, 2006 Share Posted September 20, 2006 adding a crime panel in admin panel I think I did it right but I get this :hmmm: Unknown column 'crimeITEM' in 'field list' Quote Link to comment Share on other sites More sharing options...
seanybob Posted September 20, 2006 Author Share Posted September 20, 2006 adding a crime panel in admin panel o, this only works if u have my crimeITEM mod installed too... its in these mod forums somewhere Quote Link to comment Share on other sites More sharing options...
Astra Posted September 20, 2006 Share Posted September 20, 2006 adding a crime panel in admin panel Thanks it works great now. Quote Link to comment Share on other sites More sharing options...
seanybob Posted September 20, 2006 Author Share Posted September 20, 2006 adding a crime panel in admin panel ok i made a crimegroup panel... but for some reason, adding a new crimegroup doesnt work. i prolly left off an s somewhere... admin.php add this somewhere with all the other functions You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. after it add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. after it add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. so... any ideas where i went wrong? i havent even tested the edit crimegroups yet, since i couldnt make a new one lol Quote Link to comment Share on other sites More sharing options...
DougK Posted September 21, 2006 Share Posted September 21, 2006 adding a crime panel in admin panel Sean, go ahead. Any ideas on how to strip the quotes from the Textbox Value pulled from the DB? Also I am not sure how to go about making it so SQL doesn't treat information in the text areas as part of an SQL command..... Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted September 21, 2006 Share Posted September 21, 2006 adding a crime panel in admin panel you can use escapeshellcmd() and addslashes() and htmlspecialchars() on your inputs (dunno bout #3 but i sometimes use it when stuff doesn't work) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. to remove the backslashes Quote Link to comment Share on other sites More sharing options...
bored292 Posted September 21, 2006 Share Posted September 21, 2006 adding a crime panel in admin panel okay so after quite a few smacks of the screen i finally sorted the add new crimegroup thing the mysql query needs to be changed from 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 it worked for me okay but i can't get delete crimegroup to work it just stays on my admin panel and don't actually switch to anything to delete any idea's? Quote Link to comment Share on other sites More sharing options...
tranz_fusion Posted September 22, 2006 Share Posted September 22, 2006 adding a crime panel in admin panel DougK and tranz_fusion' date=' you guys mind if i add ur changes to my first post with the mods? ill add ur guys names to that post too if its ok[/quote'] no prob man. Quote Link to comment Share on other sites More sharing options...
seanybob Posted September 22, 2006 Author Share Posted September 22, 2006 adding a crime panel in admin panel k guys, updated my first post with just about everything posted here, and fixed crime groups. it all should be working now Quote Link to comment Share on other sites More sharing options...
tranz_fusion Posted November 25, 2006 Share Posted November 25, 2006 Re: adding a crime panel in admin panel k guys, updated my first post with just about everything posted here, and fixed crime groups. it all should be working now So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP. After looking over the code again, I found that you didn't even add an option for EXP. Just FYI. :o Quote Link to comment Share on other sites More sharing options...
seanybob Posted November 25, 2006 Author Share Posted November 25, 2006 Re: adding a crime panel in admin panel So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP. After looking over the code again, I found that you didn't even add an option for EXP. Just FYI. :o lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2? in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D Quote Link to comment Share on other sites More sharing options...
tranz_fusion Posted November 30, 2006 Share Posted November 30, 2006 Re: adding a crime panel in admin panel So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP. After looking over the code again, I found that you didn't even add an option for EXP. Just FYI. :o lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2? in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D i'm using lite. i've had this same install for about 5 months. Quote Link to comment Share on other sites More sharing options...
iseeyou94056 Posted June 1, 2007 Share Posted June 1, 2007 Re: [mccode] adding a crime panel in admin panel do you think you could make that for school to add a course Quote Link to comment Share on other sites More sharing options...
sikkjinn Posted June 5, 2007 Share Posted June 5, 2007 Re: adding a crime panel in admin panel o, this only works if u have my crimeITEM mod installed too... its in these mod forums somewhere where can i have a look at this script? Quote Link to comment Share on other sites More sharing options...
i need mccodes Posted June 16, 2007 Share Posted June 16, 2007 Re: [mccode] adding a crime panel in admin panel wen i go to edit a crime it says Unknown column 'crimeITEM' in 'field list' any ideas ???? plz help Quote Link to comment Share on other sites More sharing options...
i need mccodes Posted June 17, 2007 Share Posted June 17, 2007 Re: [mccode] adding a crime panel in admin panel DOES ANY1 NO WERE I CAN FIND THE MOD crimeITEM ??? Quote Link to comment Share on other sites More sharing options...
Jesse60905 Posted June 18, 2007 Share Posted June 18, 2007 Re: [mccode] adding a crime panel in admin panel Nobody knows, as far as I can tell it does not exist. I looked through all 17 pages of Seanybob's posts and found only 1 regarding a CRIMEitem mod nad this was the only 1 =/ I hope Seanybob will tell us where it really is sooner or later =/ Seanybob and clues? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 17, 2007 Share Posted July 17, 2007 Re: [mccode] adding a crime panel in admin panel So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP. After looking over the code again, I found that you didn't even add an option for EXP. Just FYI. :o lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2? in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D i'm using lite. i've had this same install for about 5 months. QUOTE!!! Sorry I just wanted to make a big quote box... I'll stay out of this topic now! *Goes back into the corner and stares at everyone O_O* Quote Link to comment Share on other sites More sharing options...
Jesse60905 Posted July 17, 2007 Share Posted July 17, 2007 Re: adding a crime panel in admin panel okay so after quite a few smacks of the screen i finally sorted the add new crimegroup thing the mysql query needs to be changed from 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 it worked for me okay but i can't get delete crimegroup to work it just stays on my admin panel and don't actually switch to anything to delete any idea's? Try checking your cases and func names. I always get tht problem with coding... If that doesn't work then idk wat to do then lol. Ok I gtg an hour ago so I can get at least 4 hours of sleep. Cyall Quote Link to comment Share on other sites More sharing options...
Absolute Zero Posted August 7, 2007 Share Posted August 7, 2007 Re: [mccode] adding a crime panel in admin panel Can someone re-do this all? I would be so happy :P Quote Link to comment Share on other sites More sharing options...
Absolute Zero Posted August 9, 2007 Share Posted August 9, 2007 Re: [mccode] adding a crime panel in admin panel Can anyone atleast get the item crime mod that is needed to run this? I would be very grateful. Quote Link to comment Share on other sites More sharing options...
Absolute Zero Posted August 10, 2007 Share Posted August 10, 2007 Re: [mccode] adding a crime panel in admin panel Sorry for all the posts but I believe I found the crime item mod which is needed to continue this mod: http://criminalexistence.com/ceforums/i ... pic=9692.0 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.