Haunted Dawg Posted April 11, 2008 Posted April 11, 2008 Hey all... I coded a brand new mailbox from scratch. The others were untidy and hard to understand the mailbox. It was to pushed up together. Here is my mailbox very easy readable and same as the code. :wink: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Hope you like. EDIT: Please use this updated one. It has the bugs idealed out and now showing the emoticons that can be used. Quote
shaved92bravada Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. awesome free mod, looks great, you wanna throw in the images of the smileys in compose?? lol I can do it just being lazy. Also gonna add some new smileys in eventually Quote
Haunted Dawg Posted April 11, 2008 Author Posted April 11, 2008 Re: New improved mailbox. You can download them all at http://www.killah-city.com/images/smileys/ Quote
HITMAN 17 Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. You can download them all at http://www.killah-city.com/images/smileys/ theres more than that needed Quote
Paddy Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. You can download them all at http://www.killah-city.com/images/smileys/ theres more than that needed http://www.killah-city.com/images/ Quote
Paddy Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. dont know if this will work but i tried since in killah`s mod you cant preview the smileys i tried adding them my self :| please comment anything wrong PS I never did any PHP so better back up any files just in case :lol: thanks You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Haunted Dawg Posted April 11, 2008 Author Posted April 11, 2008 Re: New improved mailbox. Yes that should work but unfortunatly makes my codes look bad :roll: Quote
Paddy Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Yes that should work but unfortunatly makes my codes look bad :roll: ahh oppss well if someone can delete then, i didnt do on purpose :-) but at the same time it works so :-P Quote
Guest Anonymous Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. If it works, that's always a bonus, but personally I don't feel his "codes" (why do people insist on using that word...?) look good to start with. There's obviously a misunderstanding about protecting input variables: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Incorrectly checking the 'act' element and no need to escape. Plus mixing the display with code -- always messy, however I am guilty of that in some of the source files I have presented, so I'll forgive that one. I've not had a chance to test it as yet, but a quick scan of the source, it looks a reasonable extension. Quote
Haunted Dawg Posted April 11, 2008 Author Posted April 11, 2008 Re: New improved mailbox. If it works, that's always a bonus, but personally I don't feel his "codes" (why do people insist on using that word...?) look good to start with. There's obviously a misunderstanding about protecting input variables: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Incorrectly checking the 'act' element and no need to escape. Plus mixing the display with code -- always messy, however I am guilty of that in some of the source files I have presented, so I'll forgive that one. I've not had a chance to test it as yet, but a quick scan of the source, it looks a reasonable extension. Its just for security that im checking the $_GET['act']. Quote
Guest Anonymous Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Misguided security - There is no need to escape that, as all you are doing with ,act, is a simple string matching in a switch statement. KISS - aka Keep It Simple Stupid... Minimalistic code is easier to debug, easier to understand and will run faster. Quote
HITMAN 17 Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Unknown column 'new_mail' in 'field list' Quote
Paddy Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. only problem i found with this is that it doesnt show you that you recived a msg (1) Quote
Halo Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. This is a good re-make of Richard mail box, Nice one Killah Quote
Halo Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Here is a rapidshare link for the smiles, saves you time from saving them one by one http://rapidshare.de/files/39086815/mai ... s.zip.html Quote
Halo Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. only problem i found with this is that it doesnt show you that you recived a msg (1) Yeah, when you send a mail it doesn't show that they got a mail [Mail (1)] Don't know what's wrong tried to fix it but still no alert when they get a message? Quote
Zero-Affect Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. http://criminalexistence.com/ceforums/i ... c=17855.75 ^works perfect just doesn't have the smiley option which i think is a little stupid anyway Hey all... I coded a brand new mailbox from scratch. are you sure about that kyle the code looks very similar to the edited version of the one on here... weird huh? anyone else think thats a little weird? Quote
Haunted Dawg Posted April 11, 2008 Author Posted April 11, 2008 Re: New improved mailbox. http://criminalexistence.com/ceforums/i ... c=17855.75 ^works perfect just doesn't have the smiley option which i think is a little stupid anyway Hey all... I coded a brand new mailbox from scratch. are you sure about that kyle the code looks very similar to the edited version of the one on here... weird huh? anyone else think thats a little weird? Like i said befor!! i did code this from scratch read over the coding! now after this message your going to be banned from all my posts if i can still do that. This is a good re-make of Richard mail box, Nice one Killah Funny how you say re-made of richards mail box but please read over the code befor you say stupid shit? Unknown column 'new_mail' in 'field list' You using v1? because this is scripted for v2.! Quote
Criminal Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Killah ignore others this is a good mod not bad Quote
Miniman Posted April 11, 2008 Posted April 11, 2008 Re: New improved mailbox. Good Mod, I did use it, But it got annoying as it wasn't showing the Mail's :-P I tried adding the ("UPDATE users SET new_mail=new_mail+1 WHERE userid={$to}") But It's already there :lol: Quote
Haunted Dawg Posted April 11, 2008 Author Posted April 11, 2008 Re: New improved mailbox. Well all i know that this mod works for my game because my main menu is coded from scratch. Quote
Zero-Affect Posted April 12, 2008 Posted April 12, 2008 Re: New improved mailbox. yeah actually i looked at coding some similarities but not the same but you commented on mine without even looking so why can't i? karma sucks dun it;) Quote
fkd08 Posted April 12, 2008 Posted April 12, 2008 Re: New improved mailbox. Good Mod, I did use it, But it got annoying as it wasn't showing the Mail's :-P I tried adding the ("UPDATE users SET new_mail=new_mail+1 WHERE userid={$to}") But It's already there :lol: Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. on or around line 293 and remove the apostrophe's from either side of {$who} Do the same on or around line 174 and remove them from {$ir['userid']} on or around line 183 and {$id} on the line after. Quote
Haunted Dawg Posted April 12, 2008 Author Posted April 12, 2008 Re: New improved mailbox. Adding the ' ' would be better tho. 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.