Jump to content
MakeWebGames

vinyl

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Everything posted by vinyl

  1. Re: Proxy Deny Script[free] are $page and $nowtime defined somewher??....before you start getting "this doesn't work" posts $nowtime= date('h:i:s A'); or something to avoid seeing unix_timestamps?
  2. Re: Register Page if I am failing to understand the posts, forgive me.... the order is strict if the columns are NOT named, if they are then the values will be INSERTED in the order scripted by the column list value1->column1 of "INSERT into (column1, etc...) VALUES(value1, etc... also users.gender is type 'Enum' and as such can only be 'Male' or 'Female' and is case-sensitive I believe. (somebody correct me here if I'm wrong) if none of this relates to the problem, or I'm looking at something covered/checked/known already....sorry.
  3. Re: [mccode] Streets for v2.0 mcdeath: my post above(and quoted) was simply showing a line of the code which pointed to a filed which needed to be added to the users table. Fagan: could be you don't have any turns to use because you haven't installed the cron to give everyone 'turns' each day. (how you do this can be simply turns=turns+50(or some number), turns=50(they would never accumulate), etc etc. you may want to get the crons and databse ALTER line from this post which was retreived with a simple search for "bugget", or "streets" http://criminalexistence.com/ceforums/http://makewebgames.io/phpBB3/viewtopic.php?p=7438#p7438
  4. vinyl

    Happy Birthday

    Re: Happy Birthday the candles can be seen for miles huh??? Happy Birthday!
  5. Re: [mccode] Streets for v2.0   $db->query("UPDATE users SET turns=turns-1 where userid=$userid",$c);   so add a field called 'turns' to 'users' table and make it INT(11), (just in case you want a whole bunch of turns) nothing more looks to be required.
  6. Re: [mccode] Annoucement Mod does line 86 look exactly like this:   $q=mysql_query("SELECT * FROM `annoucements` ORDER BY `time` DESC LIMIT $st,5");
  7. Re: Phaos Game Engine   you may want to insert a row into phaos_admin and copy/paste your password from your mccode game.or try 'raist' as the password if you have loaded the data from the file contained in the kallen version.
  8. vinyl

    Help Please (Take 2)

    Re: Help Please (Take 2) Your implementation of Spellbyte's smilies lives on in yet another form. --and it appears correct. Your problem is likely in the display, (ann.php) find this about 15-20 lines from the bottom: print "[b]Views[/b] : ".number_format($r['views'])." [b]Date Posted[/b] : ".date("F j, Y",$r['time'])." </td><td>$r[topic]</td><td><font size=-1>".str_replace('<', '', $r['annoucement'])."</font></td><td>";   replace it with: print "[b]Views[/b] : ".number_format($r['views'])." [b]Date Posted[/b] : ".date("F j, Y",$r['time'])." </td><td>{$r[topic]}</td><td><font size=-1>{$r['annoucement']}</font></td><td>";   the string_replace '<' being the real killer here for ya.
  9. Re: [mccode] Annoucement Mod looks great...I'll give ya +1 before I even look closely at it
  10. Re: voting.php Pimped Out (Free) about a week ago I altered my VOTE links under my header to turn red when someone had not voted, seems to help a bit, and I actually finally made the postbacks from the sites trigger the rewards. Nice work Genocide
  11. Re: Developing locally on your own local PHP/MySQL/Apache server otherwise you may want to paste the query and the following IF NUM_ROWS statements here to be viewed and considered.
  12. Re: Developing locally on your own local PHP/MySQL/Apache server well, IF you are using an unmodified authenticate.php script... AND if you don't get an error like "You did not fill in the login form!" THEN you have POST'ed the name and pass as something other than "" or "" I still suspect the mysql.php info, but I make mistakes everyday. the script only has the ONE query.
  13. Re: Developing locally on your own local PHP/MySQL/Apache server does mysql.php have your database info,name,pass,location correctly entered?
  14. Re: easy question i hope if you mean as in Strength: 10,805,714 [Ranked: 13]<--this.... that's in global_func.php, as function get_rank($stat, $mykey) you may want to look up COUNT(*) in your sql references in the query that is performed, -if you need to.
  15. Re: !!**Whore House Mod FREE**!! +1 karma for "kreativity" lmao. :-D
  16. Re: Got any Ideas? just go export your 'gang' table and print of view the fields, compare them to the INSERT from creategang. put values or 2 single-quotes for each of the added fields(are all three at the end/bottom of the table???) you get the drift
  17. Re: !!2 Free Updates!! http://criminalexistence.com/forum/http://makewebgames.io/phpBB3/viewtopic.php?p=16909#p16909 see?...I used "a" instead of "q", darn my eyes!
  18. Re: Got any Ideas? sounds like you may have added a field to 'gangs' , -but never added an 'initial' value to creategang.php for the INSERT statement.. did you try add pictures or something?? export the 'gangs' structure and copy the mysql_query("INSERT INTO gangs VALUES('','$name','$desc',''........... line from creategang.php and maybe 'we' can be of more help if you don't find it looking for the above mentioned possibility.
  19. Re: Donator correct, the links only get "printed" IF the user's donator days are GREATER than 0 (as originally scripted)
  20. Re: Donator lemon's answer works fine, I think that's what I had said(but remove the closing brace as well from the section I was mentioning that he pasted) the donator days are stored in that field of the user's table, like 30 days, etc, they go down by one each day, via a cron. so IF you are a donor, your donator days are more than ZERO. therfore, in the original scripts, those links won't print without the field being MORE THAN 0 in the case of friends and enemies lists...wel the scripts associated, you'd need to remove some additional code which checks to see if they are donors IF those two are wanted to be available to all. I was simply trying to explain why it shows, hence my statement"IF I understand what you're asking"   in friendslist.php it also has:   if($ir['donatordays'] == 0) { die("This feature is for donators only."); } so, if this script is to be used by all, that needs to go as well. http://www.w3schools.com/php/php_operators.asp check that link for help with php
  21. Re: Donator IF I understand your question as being 'why does it show'?? then it's the 'donatordays' field being greater than 0 like....   if($ir['donatordays'] > 0) { print " [[url='friendslist.php?action=add&ID={$r[']Add Friends[/url]] [[url='blacklist.php?action=add&ID={$r[']Add Enemies[/url]] [[url='mailblock.php?action=add&ID={$r[']Add Mail Block[/url]] "; }   the if donatordays being the key, comment out the IF and braces, or remove, or move one of the a href's out of the IF I hope that's the answer to what I think you're asking.
  22. Re: Crime Formula have you looked at this???? [iurl=#]Removed[/iurl]
  23. Re: Rewards for voting I remember when I did these I left a colon out or put a space in the following line..... -so here it is in case you have made the same error as I made things like this are sometimes tooo obvious to spot when frustrated.(for me) it gave me the error you are receiving:   header("Location:http://www.some_volting_site.com/in.asp?id=####"); exit; } ?>
  24. Re: Multi Account Problem. well...this won't get people who use proxies, AOL dialup, and a hundred other reasons -but it'll get you started. I would think another table as an array would be another good step to work on. under the multireferral section of register.php I suppose:   // multi IP trap .. test $a=mysql_query("SELECT * FROM users WHERE lastip='$ip'",$c); if(mysql_num_rows($a) > 0) { event_add(1,"{$ip}:{$_POST['username']} attempted to register under an existing IP.",$c); die("Accounts playing from the same IP address must be approved and set-up by a game admin. Please contact [email][email protected][/email] via non-game-mail, or ID #1 via in-game mail from the other account(s) on this IP. Multi accounts are frowned upon, tell us why you deserve one."); } // end multi IP trap .. test   that's a step, -it should really be taken further if you are serious about this. Good Luck.
  25. Re: Medical items add mysql_query("UPDATE users SET hospital=0 where hospital<0");
×
×
  • Create New...