-
Posts
1,099 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Lithium
-
Re: Reward the active! function reward_the_active_sub() { global $db,$ir,$c,$h; $money=$db->escape($_POST['money']); $crystals=$db->escape($_POST['crystals']); $x = $db->query("SELECT userid FROM users WHERE laston>unix_timestamp-900"); while($y = mysql_fetch_array($x)) { $db->query("UPDATE users SET money=money+$money WHERE userid = {$y['userid']}"); $db->query("UPDATE users SET crystals=crystals+$crystals WHERE userid = {$y['userid']}"); event_add($y['userid'],"message here",$c); } print "The online users have been credited!"; } This is just a quick draw but it might work giving the event to the user
-
Re: [mccode v2] userADS Noob is stating " you must of got it illegally" on something that can be easy copied. Or every single mod in theseforums that resembles any other site has been obtained illegally?
-
Re: [Mccodes v2] Voting System ($15) Bump is lame! @ AlabamaHit, that thingy i wanted you to do with this thingy... is ready to rock ;)
-
Re: Error Reporting... Despite Floydian is right, in this situation, SomeRandomBastard placed the answer correct, placing the ini_set('error_reporting', 0); is far the best situation. I host a few sites on there and for some odd reason, some settings, even if correct on the php.ini, only worked if i used the ini_set() from within the needed file.
-
Re: Config.php *&* Installer.php I subscribe this one, as installer is dummy proof...
-
Re: Monitor your server from PHP I'll give you a few reasons: 1.) GUI 2.) Compatibility with some nifty backend things you dont / cant get with unix / linux 3.) Memory is cheap 2gb DDR2 sticks are like $20 GUI, let's see... windows windows windows... (for Windows) Xwindows, gnome, kde, and that tiny awesome fluxbox, among a few dozen more (for *nix). Backend things you can't do with *nix flavours? name a couple... Memory cheap... well as a_bertrand stated... Server memory is not cheap.
-
Re: Monitor your server from PHP a_bertrand: true enough, but then again there is still people that often use windows hosting instead ;)
-
Re: [v2] Donator Only Shop LOL, seems you didn't changed the items id to suit your needs ;) that is why it shows you like that
-
Re: Houses Lvls Maxed That won't be probably work either... seems to me a limitation on the house add itself
-
Re: [mccodes V2] my verry first log in page LOL, and i dare to say... too many times!
-
Re: Take A Look !!!!!!!!!!!!!!!!!!!!!!!!!!!!1 Faster? only if you need to look at your keyboard while you type. It becomes faster as you don't use half the letters that make the talk pretty much understandable, though i'm pretty much inclined to wonder if you don't write that way to "hide" spelling errors cause it's EASIER to hide them than writing as you should!
-
Re: [mccodes V2] my verry first log in page You know... this is quite funny too, i thought php could have html and html could have php, and php has php in it? wtf... either IS php or HAS php? Either look into the real login page then make your changes or google how to use php AND/OR html :)
-
Re: Monitor your server from PHP Only *nix systems apply here though ;)
-
Is there anyone that can give some examples on how to get and is passed for vote checking on the voted site side? An API demo would be appreciated if any
-
Re: [mccode] Staff Positions Mod Ever heard html tags are faster than echo?
-
Re: Chat in V2 convert to gRPG? what for? at least read the topic TITLE
-
Re: Coder Needed Indeed, that is why my previous post ;)
-
Re: Coder Needed charliemanson: just drop down what you need to be done and let people give you feedback on what each one charges for it
-
Re: Ip check you're making a wrong approach. you should check matching ip addresses upon login (on loggedin.php or whatever file you redirect users upon login)
-
Re: Mccodes sql injection Seems you don't understand sarcasm...
-
change names... crystals, will, brave, ect
Lithium replied to djgringoboy2003's topic in General Discussion
Re: change names... crystals, will, brave, ect As of, i don't use the money_formatter() function as i don't use currency symbols. you could try number_format() and echo the currency symbol just as seen on most of the files. -
Re: How to change link colour 1. Create some css styles and give links different colours. 2. Either you have some routine that places all user tables back to where they started (that is quite generic as each one uses different starting options), or in the worst scenario, if you even want to users to register again (not advisable) you can TRUNCATE a few tables in order to reset the game to the early begining. 3. That is the way to do it... if it didn't worked... then you porlly did something wrong.
-
change names... crystals, will, brave, ect
Lithium replied to djgringoboy2003's topic in General Discussion
Re: change names... crystals, will, brave, ect What killah said, ought to be enough, though a lot of files do not use the money_formatter() function, and the currency is echoed, which means you will need to go over the files making the needed changes as well! -
change names... crystals, will, brave, ect
Lithium replied to djgringoboy2003's topic in General Discussion
Re: change names... crystals, will, brave, ect bash is evil!!! korn shell is better! lol (me and bash don't get along too well)