Jump to content
MakeWebGames

Script47

Members
  • Posts

    1,150
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Script47

  1. Script47

    Modular Layout

    May sound like a newbie question but how would one make a website modular? So separate it all in to different modules? Where could one learn about it?
  2. Then he would have to change most of the "Mafia" based things inside the game too then.
  3.   I thought he made that quite clear, no?
  4. No problem, glad I can do something for the community again.
  5. Exactly so they can prepare right, to get medicine and stuff so they can leave hospital early.
  6. Script47

    How To?

    Off Topic: (Sorry! :p ) Woah, not going to lie that theme looks decent.
  7.   $i=('globals.php'); include "$i";   You do know you could this is one line?   include 'globals.php';   $_GET['LID'] = abs((int) $_GET['LID']); $_GET['DID'] = abs((int) $_GET['DID']);   Don't use MCCode security ways.   $LID = $_GET['LID']; // Add your security. $DID = $_GET['DID']; // Add your security.   Do this instead of typing $_* each time. So what you are saying is: I want the value of $_GET['LID']; to be stored in $LID. It's shorter to type out and easier. Security: htmlspecialchars() Escaping Data   That's what I was told and he explained it and it makes perfect sense. Validation: ctype_digit() empty() isset() Logical Steps:   Forum Column - Add a row to the users table called vote_limit or what ever you wish to name it. Give it default 0. 0 = Not voted. 1 = Voted. Cron - Day cron which runs and updates that row and changes it to 0. Now you need to check the main file where they vote to see IF they have 0 or 1 in their row. Make sure you update their row when they vote to 1. If they have 0 let them vote else give them error message.   Personal Opinion: Before I actually start making a mod I have a vague idea what I'm doing. Then I plan out the SQL's I'm going to need. So before I write any code I do the SQL's first as I find it's easier to then finish making the script. This is just me personally, I mean everyone is different. ;) If you need any more help don't hesitate to ask. :)
  8. I will alert you when modules have been accepted. Key: Available Completed Pending Cancelled   50/50 - You can guess number between 1-200 win or lose double what you guessed. Users Online List - You can view the users online, there last hit and there user level. Search - Allows you to search for player specific player. Suggestion Box - Allows users to post suggestions, improvements or new features they want. View Profile - Will be linked with the search module, allows you to view the users profile.
  9. Tiny update:   You can't resize textareas now
  10. So I'm thinking of making some modules again, shoot me some ideas and I'll see what I can do. I will alert you when modules have been accepted. Key: Available Completed Pending Cancelled   50/50 - You can guess number between 1-200 win or lose double what you guessed. Users Online List - You can view the users online, there last hit and there user level. Search - Allows you to search for player specific player. Suggestion Box - Allows users to post suggestions, improvements or new features they want. View Profile - Will be linked with the search module, allows you to view the users profile.
  11. That looks a lot better, in the central region of the page you could have like site updates or site news? All in all it looks quite good, keep it up!
  12. I believe it looks quite nice, I like how you've used Bootstrap. Two things I would suggest it that empty area under the text, fill that up with something also change the colour of the background area for them links.
  13. Nowadays its more about the simplicity and elegance of a site/program. People like a simple, clear UI unlike before where it used to be a lot more flashy.
  14. It is very neat, clear and the colours have been used nicely. Maybe add something near the bottom?
  15. Who is actually in charge of the site? So who's got control over the CPanel?
  16. Brilliant the jousting tournament thing! You can buy an compete, that's great. Thanks mate. :)
  17. CubicVerse CubicVerse Forum CubicVerse Blog Have fun! :)
  18. Right, so what features would you have in like a Medieval type game, I could always change it but just curious?   Very interesting answer, I get what you mean and yes, just today in the morning I was looking in to NEAB again. Thanks for this Dom.
  19. Is there any alternatives to an attacking system in a game, so something different?
  20.   Useful Advice Constructive criticism.   There, a place to start.     I think you should check what "Retro" means.
  21. This actually looks decent, I like this type of theme. Good job. :)
  22. Script47

    Random Spam

    Erm, not sure if anyone has noticed the random spam threads made. But if they could be removed that would be cool. :)
  23. He is correct, as PHP is a server side scripting language, it gets the server time, not the clients time. If you wish to show the clients time then use Javascript.
  24.   You call him a liar. You then by mistake on purpose you write the typo he made. Then you apologise when you realise you are quite desperate. Finally you ask for help again. That's not the way to do it mate. No offence but you can't expect people to help you after things like that.
  25. Function strtotime() Function date()
×
×
  • Create New...