seanybob Posted September 20, 2006 Author 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
Astra Posted September 20, 2006 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
seanybob Posted September 20, 2006 Author 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
Astra Posted September 20, 2006 Posted September 20, 2006 adding a crime panel in admin panel Thanks it works great now. Quote
seanybob Posted September 20, 2006 Author 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
DougK Posted September 21, 2006 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
Decepti0n Posted September 21, 2006 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
bored292 Posted September 21, 2006 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
tranz_fusion Posted September 22, 2006 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
seanybob Posted September 22, 2006 Author 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
tranz_fusion Posted November 25, 2006 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
seanybob Posted November 25, 2006 Author 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
tranz_fusion Posted November 30, 2006 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
iseeyou94056 Posted June 1, 2007 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
sikkjinn Posted June 5, 2007 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
i need mccodes Posted June 16, 2007 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
i need mccodes Posted June 17, 2007 Posted June 17, 2007 Re: [mccode] adding a crime panel in admin panel DOES ANY1 NO WERE I CAN FIND THE MOD crimeITEM ??? Quote
Jesse60905 Posted June 18, 2007 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
Magictallguy Posted July 17, 2007 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
Jesse60905 Posted July 17, 2007 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
Absolute Zero Posted August 7, 2007 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
Absolute Zero Posted August 9, 2007 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
Absolute Zero Posted August 10, 2007 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
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.