shedh
Members-
Posts
437 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by shedh
-
Re: .htaccess or php help needed well am not using this for mccode game engine, am going to use it in my own game engine, which i wont be releasing.
-
Re: [v2] Killing Users how do you even imagine of running your game, you will need to pay for hosting, and you may start looking at dedicated hosting how do you expect to pay for these things?
-
Re: Contact Staff Through Email what about this does this work: <span class="syntaxhtml"> <span class="syntaxdefault"><?php </span><span class="syntaxkeyword">include </span><span class="syntaxstring">'globals.php'</span><span class="syntaxkeyword">; </span><span class="syntaxcomment">/* -- Mobz Productions -- -- A Product of Mobz Productions -- -- For contacting game -- -- Created by M0B2 -- -- Contact.php -- --Fixed by Eternal-- */ </span><span class="syntaxkeyword">print </span><span class="syntaxstring">"Staff Contact form: "</span><span class="syntaxkeyword">; if(</span><span class="syntaxdefault">$_POST</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'mes'</span><span class="syntaxkeyword">]!=</span><span class="syntaxstring">''</span><span class="syntaxkeyword">) { </span><span class="syntaxdefault">$to</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"Your Email Here"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$subj </span><span class="syntaxkeyword">= </span><span class="syntaxstring">"Your Game Name Contact Form"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$mess </span><span class="syntaxkeyword">=</span><span class="syntaxdefault">$_POST</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'mes'</span><span class="syntaxkeyword">]; </span><span class="syntaxdefault">$from </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">$_POST</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'email'</span><span class="syntaxkeyword">]; </span><span class="syntaxdefault">$headers </span><span class="syntaxkeyword">=</span><span class="syntaxstring">"From: $from"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">mail</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$to</span><span class="syntaxkeyword">,</span><span class="syntaxdefault">$subj</span><span class="syntaxkeyword">,</span><span class="syntaxdefault">$mess</span><span class="syntaxkeyword">,</span><span class="syntaxdefault">$headers</span><span class="syntaxkeyword">); } print </span><span class="syntaxstring">"Your message has been sent to $to You will get a reply as soon as posible. <a href='index.php>Back to game...</a>"</span><span class="syntaxkeyword">; } else { print </span><span class="syntaxstring">"You are contacting "</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">$set</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'game_name'</span><span class="syntaxkeyword">].</span><span class="syntaxstring">" Via email. "</span><span class="syntaxkeyword">; echo</span><span class="syntaxstring">' <form action="contact.php" method="post"> <input name="email" type="hidden" value="'</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">$ir</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'email'</span><span class="syntaxkeyword">].</span><span class="syntaxstring">'"> <textarea cols=30 rows=15 name="mes"> </textarea> <input type="submit" value="Send!"></form>'</span><span class="syntaxkeyword">; } </span><span class="syntaxdefault">$h</span><span class="syntaxkeyword">-></span><span class="syntaxdefault">endpage</span><span class="syntaxkeyword">(); </span><span class="syntaxdefault">?> </span></span>
-
Re: .htaccess or php help needed thanks everyone for their help, Floyds solutions has completly worked :)
-
Re: Spoilt crons config.php
-
Re: BB Code forums imo i think SMF is one of the best forum system you can get, it is very secure and you don't have to update it every couple of weeks becuase of faults in the code. other than SMF (if you want to pay) i recommend Burning Board from WoltLab again this hardly needs updating, its also used on Amazon Survival i think
-
Re: BB Code forums SMF forums
-
right i don't know what to use for this problem i am having basically i have a index.php file which includes data from other files from a folder, all pages in that folder only work by using the index.php file what i need to do is block people from directly accessing the files in the folder what should i do if you don't understand what i mean here's a pic of what should and shouldn't happen:
-
Re: 3 Word Game spread it around
-
Re: [REVIEW] Korporate Thugz! Well heres my review.... Internal Login Looks the background imo doesn't look good but the rest of it does, nice use of typography and gfx Register The content is not aligned properly (small css fix will help) there is no place on the external side of the game that says anything about what the storyline is and what the game is about Internal First impressions were good, internally the navigation is easy and well spaced out, but looking at your Energy, Will, Nerve, EXP and Health bars i can see each bar only has one colour, like other mccodes games it might look better with two diff colours the main area doesn't match the rest of the content, i think you should change the background colour of that area to fit the rest of the content, and keep the main background color black, also the content is not centred on the page which looks a bit weired on a bigger screen, just checked it out on my bigger screen (1440 x 900) and the content looks like its being pushed to left just a few changes needed imo
-
Re: template engine right on another page i have this: <span class="syntaxdefault"> $title </span><span class="syntaxkeyword">= </span><span class="syntaxstring">"Page Title"</span><span class="syntaxkeyword">; echo</span><span class="syntaxstring">"lorem ipsum, blah blah blah"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault"></span> it replaces [+]title[+] with "Page title", but it still outputs "lorem ipsum, blah blah blah" before the "<!DOCTYPE"
-
Re: template engine i have modified the code above to what i want it to do, but i am having some problems, this is what my code looks like: <span class="syntaxdefault"><?php </span><span class="syntaxkeyword">function </span><span class="syntaxdefault">template</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$page</span><span class="syntaxkeyword">){ include(</span><span class="syntaxstring">"./mods/$page.php"</span><span class="syntaxkeyword">); if (!</span><span class="syntaxdefault">$title</span><span class="syntaxkeyword">){ </span><span class="syntaxdefault">$title </span><span class="syntaxkeyword">= </span><span class="syntaxstring">'CrimsonVille'</span><span class="syntaxkeyword">; } &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; if(!</span><span class="syntaxdefault">$page</span><span class="syntaxkeyword">){ &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$page </span><span class="syntaxkeyword">= </span><span class="syntaxstring">"index"</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; } </span><span class="syntaxdefault">$content </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">file_get_contents</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"mods/" </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$page </span><span class="syntaxkeyword">. </span><span class="syntaxstring">".php"</span><span class="syntaxkeyword">); echo </span><span class="syntaxdefault">str_replace</span><span class="syntaxkeyword">(array(</span><span class="syntaxstring">"[+]title[+]"</span><span class="syntaxkeyword">, </span><span class="syntaxstring">"[+]main_content[+]"</span><span class="syntaxkeyword">), array(</span><span class="syntaxdefault">$title</span><span class="syntaxkeyword">, </span><span class="syntaxdefault">$content</span><span class="syntaxkeyword">), </span><span class="syntaxdefault">file_get_contents</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'templates/default/header.html'</span><span class="syntaxkeyword">)); } </span><span class="syntaxdefault">template</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"index"</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">?> </span> what it is doing is that it echo's the content required before the "<!DOCTYPE " tag, and only shows on the output page if i don't use php codes like echo"blah"; can anyone help?
-
Re: [V2] Current Status - What's going on? i think you put it in header.php correct me if am wrong
-
Re: [V2] Will Refill! don't look like it works, well from what i see looking at your image it shows that you ask to spen 5 point on will which equals 5% will you get 57.5% will just tell me if i said that wrong Edit: /* Just realised that Killah already said that */
-
Re: Just realized I never introduced myself Welcome to the Criminal Existence Forums Annie
-
Re: Can someone help me? Answer the questions. [*] Alot of money will be needed, a good graphics designer. [*] Yes. [*] Yes. [*] Don't know [*] Don't think you will find tutorials that will show everything you need, you will need to use your skills to do that sorry if you don't like my answers but its my opinion
-
Re: [All versions] Mailbox clickable bbcode and smilies looking at your mod on the demo site i realised one thing you can improve on would be that if you highlight a piece of text and then click on a button then it should add the bbcode to the entire piece of text highlighted for example: highlighted text on CE forums this automatically added a [ b] at the beginning of the text and a [/b] at the end [ b]on your test site it does this[/b]
-
Re: FLASH MENU ($30) hmmm so for people to edit this they will need a flash editor right?
-
Re: Some help with jobs.php error line 105 delete the } might do the trick
-
Re: [any version] Removal of 1 minute crons yeah, so the server will not be doing unessery things like updating all users stats and it will spend more time loading pages faster
-
Re: User Levels [v2] i don't use mccodes v2 but am thinking global_func.php(or what ever its called)?
-
Re: 3 Word Game Pile of dirty
-
Re: mccodes v1 lite fixes lol i thought someone would have it, buh oh well might as well start
-
right am looking for a mccodes v1 lite without the exploits. can anyone help me out? am not looking to buy a mccodes v1 lite game ATM
-
Re: 3 Word Game on the floor