CraigF Posted May 21, 2007 Posted May 21, 2007 Basicly, When someone joins the gang they get sent the welcome message that the gang PRESIDENT can make, so enjoy! I made it this morning for my game but i decided you all should have it as i think its a nice little add on! (it should work, it works 100% for me but i have had to re-do it as i couldnt remember what i did) Find in yourgang.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add under: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add after You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add under: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then in creategang.php find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Do this SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Please give me +1 Karma as for some reason i have -100! - Im not a bad guy! why do i have this!!! Quote
Ghetto Posted May 21, 2007 Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message Very bad -1 :-P lol only jokin +1 from me :wink: Quote
N00b Posted May 21, 2007 Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message ill give you +1 for no reason :-) Quote
CraigF Posted May 21, 2007 Author Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message haha thanks guys! tell me if you use this! Quote
N00b Posted May 21, 2007 Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message i aint gna use it cuz i aint bothered to edit all those things lol Quote
CraigF Posted May 21, 2007 Author Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message you only need to edit 4 things and they are all in the same file! QUICK and EASY lol, and then put the QUICK 2 second sql in Quote
Ghetto Posted May 21, 2007 Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message I would but im selling my game :-( I would if i start another game in the future tho :-P Quote
Decepti0n Posted May 21, 2007 Posted May 21, 2007 Re: [v1][FREE] Gang Welcome Message Woah, no need to make the column text! Text allows up to 65,000ish characters.. which is way more space than you'll ever need for a welcome message Try lipsum.org, typing in 65,000 and select 'bytes', it's the closest you'll get to seeing how much you'll store in a text field, and you'll realise it's overkill Just use varchar or char, with a max of maybe 150 150 characters: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas elit. Aliquam iaculis porttitor risus. Aenean sit amet neque ut justo orci aliquam. Unless you have a long-winded president, then set it to maybe 200-255 Point is text is overkill :P Quote
hamster01 Posted May 22, 2007 Posted May 22, 2007 Re: [v1][FREE] Gang Welcome Message Good Work, Kraig. The normal value for varchar is 255. I suggest using: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
boggl Posted May 22, 2007 Posted May 22, 2007 Re: [v1][FREE] Gang Welcome Message One other thing you'll need to do is edit your creategang.php file You need to add an extra '' like so after the '$desc', or you'll get a column count doesn't match error when trying to create a gang :) Old You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. New You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
CraigF Posted May 22, 2007 Author Posted May 22, 2007 Re: [v1][FREE] Gang Welcome Message thanks, its been edited Quote
03laceys Posted May 28, 2007 Posted May 28, 2007 Re: [v1][FREE] Gang Welcome Message Parse error: syntax error, unexpected T_STRING in /home/game/public_html/yourgang.php on line 1539 line 1539--> { wtf??? Quote
hamster01 Posted May 28, 2007 Posted May 28, 2007 Re: [v1][FREE] Gang Welcome Message 0_o T_STRING = unclosed tag. example: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you must have made a mistake :| Quote
03laceys Posted May 28, 2007 Posted May 28, 2007 Re: [v1][FREE] Gang Welcome Message my yourgang.php is very different to all of yours but i done the same thing so it should of worked Quote
03laceys Posted May 28, 2007 Posted May 28, 2007 Re: [v1][FREE] Gang Welcome Message fixed the start of the function said funcfunction instead of function Quote
iseeyou94056 Posted June 2, 2007 Posted June 2, 2007 Re: [v1][FREE] Gang Welcome Message i like thiis idea but it dont work it will not work for me Quote
~Spooky~ Posted June 2, 2007 Posted June 2, 2007 Re: [v1][FREE] Gang Welcome Message sweet good job kraig. Works great. whoever cant get it holler!! LOL!! I give you +1 kraig Quote
CraigF Posted June 2, 2007 Author Posted June 2, 2007 Re: [v1][FREE] Gang Welcome Message it works for v1, are you trying for lite or v2? and thanks mate Quote
~Spooky~ Posted June 2, 2007 Posted June 2, 2007 Re: [v1][FREE] Gang Welcome Message well iseeyou I got your Welcome Gang Message working. Be nice to get a force for it...... Quote
CraigF Posted June 3, 2007 Author Posted June 3, 2007 Re: [v1][FREE] Gang Welcome Message well iseeyou I got your Welcome Gang Message working. Be nice to get a force for it...... are you saying you got it working? as i had it working with no errors from the start Quote
~Spooky~ Posted June 3, 2007 Posted June 3, 2007 Re: [v1][FREE] Gang Welcome Message he had errors in his. Wasent working right, and it didnt in mine either. We just had same bug in it Quote
iseeyou94056 Posted June 18, 2007 Posted June 18, 2007 Re: [v1][FREE] Gang Welcome Message do you think u could make a gang decline mess Quote
CraigF Posted June 18, 2007 Author Posted June 18, 2007 Re: [v1][FREE] Gang Welcome Message do you think u could make a gang decline mess lol, well that would be easy if you just change it a little, im sure you can do it Quote
iseeyou94056 Posted June 19, 2007 Posted June 19, 2007 Re: [v1][FREE] Gang Welcome Message i cant i am new im not sre want 2 change welcomemesg to i tryed changeing it to declinemesg but it did not work Quote
Redeye Posted June 23, 2007 Posted June 23, 2007 Re: [v1][FREE] Gang Welcome Message Well done kraig, nice, +1 karma to you ,however I do it :?, can anyone help me give him +1 karma,I am a noob :-o lol :mrgreen: 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.