Jump to content
MakeWebGames

Spudinski

Members
  • Posts

    1,731
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Spudinski

  1. That isn't a CMS. Rephrase perhaps, if will you?
  2. Javascript is the de-facto when it comes to making a website these days, because it saves the developer time, and puts less strain on the server. I personally think it should be employed as much as possible. But, I wouldn't say jQuery is needed, I'd say just making a basic javascript framework is enough. If someone wants to extend it, jQuery can help with that... As for styling, as you say beginners should take a liking to it. But I can say for sure that someone with little knowledge would prefer quality over performance, and it's your job as the creator of the product, to balance the two equally. Hints for style: gradients, shadows, rounded-corners. All of these most simplistic things can be done with a few lines of CSS3, and would make the world's difference. Eg. with no "sparkle". [ATTACH=CONFIG]266[/ATTACH] With "sparkle". [ATTACH=CONFIG]267[/ATTACH]
  3. Look good a_b. But just my 2 cents... I mean this in the best possible way... You need to aim more towards (excuse me for saying) "Web 2.0", content needs to look dynamic and interchangeable, currently it looks very static. It might just be the current layout of things, but it needs more... how can I say it, sparkle. I know there is behind the scenes, but you need to visualize it with the front-end as well. /end 2cents Otherwise, it looks pretty good.
  4. Or http://[::1]/phpmyadmin, if IPv6 is setup.
  5. Module: private function log1() { $this->tpl->assign('msg', 'You chopped the normal log down.'); $this->tpl->display('cuttinglog1.tpl'); }   Tpl: {include file="header.tpl" TITLE="Wood Cutting"} <h1>The Woods</h1> {if isset($msg) } <p>{$msg}</p> {/if} <h2>Log Types</h2> <table width="50%" border="1"> <tr> <th>Log Type</th> <th>Level Needed</th> <th>-</th> </tr> <tr> <td>Normal Log</td> <td>1</td> <td><form action='index.php?mod=WoodCutting&act=log1' method='POST'><input type='submit' name='choplog1' value='Chop' /></form></td> </tr> </table> {include file="footer.tpl"}   Ref: http://www.smarty.net/docsv2/en/api.assign.tpl
  6. I read that wrong, too. :facepalm: on the second one.
  7. He's only using Lite because I filed a complaint with his host when he was running an illegal copy of MCCodes V2, which in turn has him suspended.
  8. Learn to spell, dewd. Ps. That last website didn't go so well, hey? Glad you're using Lite now.
  9. Say I create a "item build" for Item 1, consisting of 1xA + 2xB Then, I create a "item build" Item 1, consisting of 2xC When you try to create using second method, it's invalid, meaning it only accept method 1 to create item 1.
  10. Try PHP-CLI, and read $argv. Sample cron: */5 * * * * php /path/to/script your_code   $argv: http://php.net/manual/en/reserved.variables.argv.php
  11. I just realized this, there's no edit feature? + Multiple items, multiple combination, doesn't work.
  12. I didn't know that, but I'll keep in mind when I work on an Oracle database(unlikely, since I dislike Oracle very much these days). Thank you
  13. There's no such data type as "BLOG". @OP: It depends, normally I would suggest LONGTEXT for forum posts, but TEXT type is treated as character set so they have a character set. That's all fine if you plan on using one language throughout the posts, but if you plan on using Eastern languages I'd suggest BLOB, where data is treated as byte-strings.
  14. That's ugly. Rather tell us what you want to do, or what happens when you run Apache with that configuration.
  15. Can't say I've worked with him, but from what I see and hear from him, he's quite talented. I'd recommend him.
  16. Offer no longer available. [modslock]
  17. Three steps: 1. Goto https://developers.facebook.com/docs/reference/plugins/like/, enter URL and click "Get Code". 2. Include the JS SDK, and create two div elements, one ID=fb-root, other class=fb-like & data-parms. 3. Create an on(ready/bind) JS event, and insert code given in step 1. Simple.
  18. Well, books always try to cover a broad range of subjects. Which is normally impossible, so they abbreviate chapters into a summary. I for one, much rather prefer to read a book that is specifically focused on what I need to do later, eg. Code Simplicity by Max Kanat-Alexander.
  19. Logical conditioning statement.
  20. 50 Extremely Useful PHP Tools Zend DevZone RTFM CodeProject GameDev.net PEAR Wotsit OODesign Binary-Dec-Hex Convertor PHP Formatter JS Beautifier Though, I do think that pointing to specific books are inadequate.
  21. Well now, that wasn't very smart, was it? I'd suggest you manually change it in the script itself, a logical conditioning statement should do the trick.
  22. I agree, a swap can be removed even though it's never a good idea(except in extraordinary cases). But that's not what I'm saying, default installation requires a swap to be created. Edit: true/false for CentOS and Ubuntu, a custom disk layout(not default) in installation process would allow for no swap to be configured.   VPS much? It's an unpatched kernel bug on some versions of OpenVZ, I had the same issue some time ago. It's not relevant, see: http://www.lowendbox.com/blog/how-to-tell-your-openvz-vps-is-swapping/   I'm pretty sure bootable CDs will create a swap file, along with many of the required OS files, on the disk. It would be improbable to think that an OS is bootable into memory alone, if it were the case, why would the suggested size for a swap be MEM x 4? (but I'll get back to you on this) Edit: I guess I'm wrong on the last part, LiveCD doesn't always use a swap since there is the possibility that there are no disks. But, there is a writeable filesystem located in RAM. :eek:
  23. Look for this line: $extra_fields = 'crystals,userid'; // Define extra fields you might want to add, they will be displayed everywhere.   And just change "crystals" to something else. Edit: Technical info: The script will use the CSV to add extra fields to the output, but please remember that if the row you want to display is outside of the `users` table, you will need to use a JOIN method to include the table and rows wanted into the original query to the database.
  24. Please continue... Linux CentOS and Ubuntu will error in installation when no swap partition/file is configured. So please, please, tell me you you managed to install CentOS without a swap of any kind. As for GCC(++), true, it's not default on all OS', but is easily installable as it's a small package. As for sync: i]sync[/i] does write disk cache buffer to disk, yes. But seeing as Linux saves file read/write data into memory before committing changes to disk(performance), it does free up memory. Simple test: Try to copy a 1GB file over ftp/sftp/http and run free, and then sync, and then free again. + The link you posted is invalid, it is possible to bypass disk cache reading, at least.
  25. No offence, but I see these posts everyday. It's not realistic, at least not for the likes of you. Even if you are committed enough to actually finish it, by that time you would need to rewrite it just to keep up with further development since your lack of knowledge and experience would not let you have planned for the overhead. Feel free to prove me wrong... Edit: Ok, that's harsh, but it's the truth. I'd suggest you spend more time learning the traits of the language you are going to develop in, as well as the technologies it uses.
×
×
  • Create New...