
POG1
Members-
Posts
1,419 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by POG1
-
Re: [mccode] Buy A House With Level Requirements ! The answer is to use TINYINT right? A signed TINYINT can go from -127 to +127 which is more than enough needed. If i am correct the number in brackets (e.g INT(11)) or "display width" is for returning the value, therefore the display width wouldn't restrict data held in the field.
-
Re: Opacity in IE Browser's Here is the opacity for webkit.. -moz-opacity:0.5;
-
Re: [Any Mccodes] Mailbox UPDATE! That is a lot of code for something so simple and if you want to change the color for the whole site it takes 2 seconds. Here is how i do it.. Before the loop create a variable; $currentRow = 0; In the loop change the variable.. $currentRow = 1 - $currentRow; Then for the markup; <tr class="row'.$currentRow.'">... Add these classes to the CSS section in your site. tr.row1 td {background:#ccc} tr.row0 td{background:#aaa;} tr.row1 td:hover, tr.row0 td:hover {background:#fff;} /* additional */
-
Re: *special* McCodes v3 BETA Release u got a demo?
-
mccode-v2 Shops item stock - as requested (Not Tested)
POG1 replied to radio_active's topic in Free Modifications
Re: [MCcode v2] Shops item stock - as requested (Not Tested) It seems your getting too big for your boots zero! I was trying to explain in simple words. My explanation was good enough because thats what the function does! -
Re: Opacity in IE Browser's what about webkit?
-
Re: <li> in Internet Explorer. Thats kinda defeating the object of using lists for menus.
-
Re: Basic XHTML/CSS Framework These are very useful and i have created a few "blanks" so it is faster that writing a lot of lines from scratch. Many people here are yet to learn CSS and table less layouts so this would help to show how its done.
-
mccode-v2 Shops item stock - as requested (Not Tested)
POG1 replied to radio_active's topic in Free Modifications
Re: [MCcode v2] Shops item stock - as requested (Not Tested) Its an if else function; ( condition ) ? 'true' : 'false' ; So the condition first checks if the GET['ID'] is set, then it checks if the value of GET['ID'] is numerical. -
Re: [mccode v2] Preferences Kyle ... how long have you been coding? show me a simple sprintf command using alpha digit and decimal's echo would be acceptable but printf would also be acceptable... i have been coding for just over 7 months... im sure you have been for about 2.5 - 3.5 years pog1 consider the repercussions of your actions before prompting a idiotic opinion covering your immaturity with idiotic jokes does not shield you from what you really are would either of you like to borrow a dictionary? or maybe a php manual... just so there is no hard feelings + 1 for both of you although neither of you deserve it. EDITED: Kyle did need a manual lol I think you need to chill out a bit. You think you're pro! Your head is a bit too big for my liking.
-
Re: Referal in HOF print "$refwin"; its still gona be the same lol You need.. $refwin = mysql_num_rows(mysql_query("SELECT * FROM referals WHERE refREFER={$r['userid']}")); Lol, I didn't take a look at the code, and assumed he had it right, just glanced at the echo and noticed the single quotes :P But in that case your still gonna try and print a query, not really gonna work.
-
Re: Code for capped EXP? $expFromAttacking <-- this is set in the attack script somewhere, cant remember the name. $maxExp = $ir['exp_needed'] * 0.75; $expFromAttacking = ($expFromAttacking > $maxExp) ? $maxExp : $expFromAttacking; something like that i think
-
Re: Referal in HOF print "$refwin"; its still gona be the same lol You need.. $refwin = mysql_num_rows(mysql_query("SELECT * FROM referals WHERE refREFER={$r['userid']}"));
-
Re: Prob with max stats think about it... Whats the difference between a integer and decimal? If you don't know it would be wise to learn.
-
Re: McCodes - Banners for 3 Pounds - PAYPAL ONLY Yellow outer glow is ghastly! Cant any body change it from the default?
-
Re: Prob with max stats 65 lol
-
Re: How to use sprintf? It's just good practice to space coding. But there are some people who have some wild spacing in their mods, sometimes less is more...
-
Re: Code for capped EXP? change the leveling algorithm then.
-
Re: McCodes - Banners for 3 Pounds - PAYPAL ONLY only save as PNG is you have to. PNG = very large file size. GIF = low file size (but less colors) :-D
-
Re: Prob with max stats it seems like the field value is limited to 7 place values, change it to 8.
-
Re: New banner I like the silhouette character, although it is a bit pixilated on the edges.
-
Re: [mccode v2] Annoucements Upgrade! Why do a simple queries take 6 or 7 lines?
-
Re: How to use sprintf? What do you mean "less space". Instead of running 1 extra function you are declaring and assigning 2 additional variables..
-
Re: Include or Require? What would the full path be? /usr/share/blah/blah.... globals.php is in the same directory as the file viewed,therefore there is no need for any extra functions
-
Re: Include or Require? Very interesting i never knew this i have only every simply used, include "file.extension"; or require "file.extension"; Although i prefer to use the require, but now with this new information i'm going to edit my codes to require with the full path. whats the full path then? /? just use a relative file path, it will work just fine