Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. Tysoon go therough the script and any bbocde mentiones take them out of all the scripts and add the relevant url system IE <a href="
  2. Uridium

    game creator

    Actually this made more sense than some of the usual posts and they used keyboards ;) lol
  3. The reason you were getting these errors is due to how the forums display links on older posts so for example all the links would have been displayed like [*url=gamelayout.php?action=layout]Back[*/url] added the * so you can see how it has changed in the script all you need to do is recode to make then <a href statements
  4. gamelayout.php Updated   <?php include "sglobals.php"; //This contains data for game layout option switch($_GET['action']) { case 'layout': gamelayout(); break; default: index(); break; } function gamelayout() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("<h1>Access Denied</h1>"); } if($_POST['submit']) { unset($_POST['submit']); foreach($_POST as $k => $v) { $db->query("UPDATE `settings` SET conf_value='$v' WHERE conf_name='$k'"); } print "Layout updated! <a href='?action=layout'>Back</a>"; stafflog_add("Updated the Game Layout Settings"); } else { print "<h3>Game Layout Settings</h3><hr /> <form action='?action=layout' method='post'> <input type='hidden' name='submit' value='1' /> Header Image: <input type='text' name='header_image' value='{$set['header_image']}' /> Center Panel Width: <input type='text' name='centerpane_width' value='{$set['centerpane_width']}' /> Center Panel Colour: <input type='text' name='centerpane_colour' value='{$set['centerpane_colour']}' /><a href='colours.html'> Colour Chart Viewer</a> Center Panel Image: <input type='text' name='centerpane_image' value='{$set['centerpane_image']}' /> <h2><center>MENU OPTIONS</center></h2> Menu Colour: <input type='text' name='menu_colour' value='{$set['menu_colour']}' /><a href='colours.html'> Colour Chart Viewer</a> Menu Image: <input type='text' name='menu_image' value='{$set['menu_image']}' /> Menu Position: <input type='text' name='menu_position' value='{$set['menu_position']}' /> Menu Width: <input type='text' name='menu_width' value='{$set['menu_width']}' /> <h2><center>TEXT OPTIONS</center></h2> Font Type ( STATIC ): <input type='text' name='text_font' value='{$set['text_font']}' /> Font Colour ( STATIC ): <input type='text' name='text_fontcolour' value='{$set['text_fontcolour']}' /><a href='colours.html'> Colour Chart Viewer</a> Font Type ( HOVER ): <input type='text' name='text_font1' value='{$set['text_font1']}' /> Font Colour ( HOVER ): <input type='text' name='text_font1colour' value='{$set['text_font1colour']}' /><a href='colours.html'> Colour Chart Viewer</a> Font Size ( STATIC ): <input type='text' name='text_fontsize' value='{$set['text_fontsize']}' /> Font Size ( HOVER ): <input type='text' name='text_fontsize1' value='{$set['text_fontsize1']}' /> <h2><center>EXTRA OPTIONS</center></h2> Drop Header Position: <input type='text' name='droptop_position' value='{$set['droptop_position']}' /> Scroller Message: <input type='text' name='game_message' value='{$set['game_message']}' /> <input type='submit' value='Update Settings' /></form>"; } } $h->endpage(); ?>
  5. Tufz if your familiar with live sites use your pc as a server this will allow you to test your work or at least get aqauinted with how the coding works... xammp is a free which you can download from google there are others but i use xampp..
  6. ok look at the SQL that grabs the select and if its a JOIN ask it to grab username aswell
  7. Peter you will need too show us some lines of how users are called for and if its a fetch_array
  8. Happy new year to everyone and for those too young to drink HA HA HA HA lol
  9. Edited your post Mixmaster
  10. None of these methods actually show 4% i did a test of this script and 100 + 4% is >> 104 yet when i ran your queries SomeRandomBastard i ended up with this value >> 756824 as the total
  11. Uridium

    Danny Hanson

    Thread Closed due to being SOLVED....
  12. Uridium

    Danny Hanson

    yep I have to say im also receiving bogus mails from Danny and have had no choice but to block + delete him until he fixes the problem...
  13. merry chrimbo Danger boy and too everyone else on MWG
  14. Dont get too drunk theres nothing worse than a drunk Bert at xmas time lol
  15. Well said BERT Pul proved he can give the goods granted it wasnt his fault it had an unopen reception
  16. Will be around $10
  17. Thanks for helping him out Lucky :)
  18. on your flash coding when inserting a url dont forget to add either target="_parent" this should stop it opening in a nwe page if the url has target="_blank" change that to _parent
  19. << topic resolved closed >>
  20. whats the error your getting
  21. Even though i dont run a game ive found myself doing some strange things to keep a game ( if i owned one ) up to speed and running smoothly SPREADSHEETS: I use spreadsheets when ever possible to keep my knowledge of a game at an advantage. so how does a Spreadsheet help ? well if i was to Categorise my Spreadsheet usage and show how it works maybe it could help others with their game plan.... 1 = create a spreadsheet for weapons and items listing their cost and usage also add how many people use certain weapons items this will help you understand which items/wepaons are not being used and ones that er beig used more than others and will give you a better response on which items/weapons need asjusting for game play.. 2 = Create a speadsheet for your users which displays how many days they spend on your game which page they visit more than others and more than anything if the player is able to help another player with a forum question. you may find this daunting but doing so will give you a better idea of new potential staff too employ. 3 = create a spreadsheet for every area in your game this will enable you to understand which pages are being used more than others and how long a user stays on any particular page. 4 = create a spreadsheet for all mods youve applied to your game and where possible allow the script to inform you of user activity. If a mod in a game isnt being used as much as another then maybe that mod is in need of an update and where pages are being used more than others this doesnt mean that page is doing well but maybe a money spinner for players...
  22. http://www.flashbuttons.com/ should help ya :)
  23. I notice on the gomining.php if un-successful it deducts 4 brave. you really need to think about how youve done this statement as your users could find themselves going into minus values always make sure they have enough to deduct or tell the statement to only deduct 4 if 4 is available
  24. Why does the poor user table get so many fields why not create a new table called mining and have it grab userid from users table instead of cluttering up the users table
×
×
  • Create New...