Jump to content
MakeWebGames

CraigF

Members
  • Posts

    597
  • Joined

  • Last visited

    Never

Everything posted by CraigF

  1. Re: Pages! ARRRGH! what so just do the } thing? because that didnt work
  2. when i click on explore.php it says "You begin to explore the city" and then i have to scroll down and the explore page is at the bottom left!!! also all my pages are at the RIGHT of the screen, so when i go on Mailbox for example, its not at the left of the screen where it should be, its at the right!! :x Please help! Thanks!
  3. Re: [v1][FREE] Gang Welcome Message thanks, its been edited
  4. 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
  5. Re: [v1][FREE] Gang Welcome Message haha thanks guys! tell me if you use this!
  6. 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:   case "desc": gang_staff_desc(); break;   add under: case "wmsg": gang_staff_wmsg(); break;   then find: [url='yourgang.php?action=staff&act2=massmailer']Mass Mail Gang[/url]   add after [url='yourgang.php?action=staff&act2=wmsg']Welcome Message[/url]   then find: event_add($appdata['appUSER'],"Your application to join the {$gangdata['gangNAME']} gang was accepted, Congrats!",$c);   replace with event_add($appdata['appUSER'],"{$gangdata['gangWMSG']}",$c);   then find function gang_staff_desc() { global $ir,$c,$userid,$gangdata; if($gangdata['gangPRESIDENT'] == $userid || $userid==1) { if(isset($_POST['subm'])) { $_POST['vp']=str_replace(array("<", ">", "\n"), array("<", ">", " "), $_POST['vp']); mysql_query("UPDATE gangs SET gangDESC='{$_POST['vp']}' WHERE gangID={$gangdata['gangID']}",$c); print "Gang description changed! [url='yourgang.php?action=staff']> Back[/url]"; } else { print "Current Description: {$gangdata['gangDESC']} Enter the new description. Desc: "; } } }   add under: function gang_staff_wmsg() { global $ir,$c,$userid,$gangdata; if($gangdata['gangPRESIDENT'] == $userid || $userid==1) { if(isset($_POST['subm'])) { $_POST['vp']=str_replace(array("<", ">", "\n"), array("<", ">", " "), $_POST['vp']); mysql_query("UPDATE gangs SET gangWMSG='{$_POST['vp']}' WHERE gangID={$gangdata['gangID']}",$c); print "Gang Welcome Message Changed! [url='yourgang.php?action=staff']> Back[/url]"; } else { print "Current Welcome Message: {$gangdata['gangWMSG']} Enter the new message. Desc: "; } } }   then in creategang.php find: mysql_query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'')",$c);   and replace with: mysql_query("INSERT INTO gangs VALUES('','$name','$desc','','','',0,0,100,$userid,$userid,5,0,0,'')",$c);   Do this SQL ALTER TABLE `gangs` ADD `gangWMSG` TEXT NOT NULL AFTER `gangDESC`   Please give me +1 Karma as for some reason i have -100! - Im not a bad guy! why do i have this!!!
  7. Re: !FREE ****Buy Items with Crystals****** FREE! No ;)
  8. Re: !FREE ****Buy Items with Crystals****** FREE! BUMP fix it? i need it lol
  9. Re: !FREE ****Buy Items with Crystals****** FREE!   I get that when making the item
  10. Re: No Database Selected no lol, i have it working but with lite sql :x i need new v1 sql! mine is a bit errored as i added some and i forgot to save it and it is broken!
  11. Re: No Database Selected BUMP
  12. Re: No Database Selected what? the mysql.php? i said i tried it lol and its just the same
  13. Re: No Database Selected i dont think so, my host is oxidati0n is it a problem with my sql? can you send me v1 sql? as mine must be weird as i have added a few things ¬¬
  14. Re: No Database Selected it is just the same
  15. Re: No Database Selected lol: MySQL Account Maintenance Add User to Database Add Database Add User Add Access Host PHP MyAdmin Databases: fallen_fallen DELETE CHECK REPAIR THEN UNDER IT IS: Add User to Database (STUFF) Add Database: (STUFF) Add User (STUFF) Add Access Host (STUFF) PhP My admin
  16. Re: No Database Selected yeah well the register page says it has no errors but i believe it is not working anyway lol. :) Deathstar, what do you mean, if i go to "MySql Databases" in my cPanel i dont see any connection script
  17. Re: No Database Selected ALSO: i have put the origional register.php file in and it doesnt work either
  18. Re: No Database Selected still says incorrect. and if i sign up and try log in it still doesnt work, i dont think that the register file is working, because i can sign up with the same username loads of times
  19. Re: No Database Selected Guys please stop arguing, you both tried. but i can sign up and everything but if i try log in it doesnt work :s I have checked my password is correct
  20. Re: No Database Selected done workss nearly: " Incorrect Username or Password." but it should work
  21. Re: No Database Selected now it is back to: No database selected
  22. Re: No Database Selected im using v1 lol, thanks :)
  23. Re: No Database Selected mysql.php?
  24. Re: No Database Selected SELECT command denied to user 'USER'@'localhost' for table 'users' Now what lol. Thanks for that one step over
  25. Re: No Database Selected in authenticate.php: $uq=mysql_query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')",$c) or die(mysql_error()); changed that to mysql_query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')",$c) or die(mysql_error());   it doesnt work i dont know what you mean and where to put it
×
×
  • Create New...