Jump to content
MakeWebGames

peterisgb

Members
  • Posts

    727
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by peterisgb

  1. i'm still learning this, but could i just have a pointer, i want to add a third collum into header, this is what i have   '; } function endpage() { global $db,$ir,$set,$c,$userid,$h; if($ir['chatactive'] == 0) { require_once('chat_globals.php'); } else { print ""; } print <<<OUT </center> </td> </tr> </table> </td> <td width='0%' bgcolor='' valign='top'> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="dgradl"> </td> <td class="dgrad"> </td> <td class="dgradr"> </tr> </table> </td> </tr> </table> <i><center>World-Wars. Game Copyright ©2011-2012 Peter Greenacre.({$db->num_queries}) queries. </center></i></body> </html> OUT; } } ?>   Could someone just put a line or a test or somthing of where abouts i need to place the third collum, thanks.
  2. sure no probs, This is Firefox http://www.world-wars.co.uk/aaa/firefox.bmp the Iframe interactive menu works and the chat works now this is IE http://www.world-wars.co.uk/aaa/IE.bmp The iframe hardly works and the chat is all over the place.
  3. i've tired to emulate it already, it dont work.
  4. i tried the compatibility mod and its still the same :(
  5. hey again guys/girls I'm having this problem with layout, chat and iframes in internet explorer. on firefox and chrome the site loads fine and great but when it comes to internet explorer the game becomes really crap and not worth playing, Alot of people wont change to firefox or chrome and are stubborn to stay with IE, If there any code or fix to sort out the Ie problems with layouts and that?
  6. iron bronze silver copper tin crystals
  7. well file changes, well none, i made the mining seperate, i need these 2 pages to complete it and the meterials are iron bronze silver copper tin and crystals
  8. my my budget at the very minute is $10 but this will go up depending on if anyone will charge more, but the cheaper the better really lol
  9. well it depends on how much the person who makes it wants really.
  10. my knowlegde isnt upto doing that :s i'm still a learner, i learn by people doing it, basically, pay someone to make it and then edit it to suit my needs and learn from reading it
  11. i got someting like that, i got the workshop by cronus, but neither of them can do this, the meterials are like the money in the game, you collect them from the mines which i've made, both of them are items to make items, this is currency made into bars to upgrade weapons which are already in the game and in the players inventory, this mod is so that these items can be upgraded over time,
  12. hello, i am looking for a mod that can upgrade weapons, i've done the first half which is the meterials Iron, Bronze, Silver, Copper, Tin and crystals ( gold in my case now). The part i am looking for is 2 pages, Page 1 is: Options to Merge Iron, Bronze, Silver, Copper, Tin and Gold into bars, E.G. Iron and Copper = Iron bar or something. Page 2 is: using the bars which have been made in page 1 to upgrade the players Weapons and armour to make them better. For more information please mail me here or e-mail me at [email protected] with your price on how much you would do this for. Thanks.
  13. hense why i originally ask if anyone has done an update for this, in return for this i'll post a mod i have done,
  14. works a charm now, thanks so much
  15. i done those steps, its comes up that the table does not exsist when it does.
  16. well there is a forum database but its seprate from the main game database and the code on here trys and place the code into the same database as the game which its in another database......
  17. er,,, well there is no db structure like that in the main one, i donknot how to get it to work in a seprate datbase
  18. erm..... all i need is the game register.php database code bit for auto making account for the forums like step 3.
  19. if you google this this is the only thing that comes up.
  20. i been trying to get this to work with SMF 2.0.2 with a few changes but i cant get it to work, has anyone done this yet, thanks
  21. thanks, i dont mind doing some work, which i did quite alot of it, but thanks for the point in the right direction, i think i should be able to do the rest. (i Hope) i used the code above, i know where to put it, but paypal chucks back this query The link you have used to enter the PayPal system contains an incorrectly formatted item amount. and this was using $('input[name=amount]').val(sum.toFixed(2));
  22.   Not bad, still one of the problems i have is the price from the total on the table dont show up when you click the donate button
  23. so can anyone help with this, if not i'll just remove it,
  24. one thing i do need help with tho is that ipn donated page, link would i put into the paypal button as a completed and failed return from paypal link /ipn_donator.php?action=Completed=pack=1 etc. < thats not right of course, some help would be good, thanks
  25. I havent seen anything like this before so i tried to make my own donation page where the users choose what they want in the donations packs, The table and the sums work fine, but i cant figure out how to transport the info into the paypal donations link, If some-one could help me with this so i can then post it in the free modifcations aswell, thanks.   <?php include "globals.php"; print " <br /> <h2>Custom Donator Packs</h2> <br /> This Page is Still under work, PLEASE DO NOT USE THIS UNTIL I GIVE THE GO-AHEAD. Thanks<br /> If you Enter 1 on the Points Section, You will not Get the Point, you have to put min of 10 in, thanks<br /> <br /><br /> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> </head> <body> <table width='450px' border='1' style='border-collapse:collapse;background-color:#E8DCFF'> <tr> <td width='40px'>1</td> <td>Dollars</td> <td><input class='txt' type='text' name='txt'/></td> <td>1 = $100,000,000</td> </tr> <tr> <td>2</td> <td>Gold</td> <td><input class='txt' type='text' name='txt'/></td> <td>1 = 100,000 Gold</td> </tr> <tr> <td>3</td> <td>Turns</td> <td><input class='txt' type='text' name='txt'/></td> <td>1 = 500 Turns</td> </tr> <tr> <td>4</td> <td>Points</td> <td><input class='txt' type='text' name='txt'/></td> <td>10 = 1 Points</td> </tr> <tr> <td>5</td> <td>Donator Days</td> <td><input class='txt' type='text' name='txt'/></td> <td>1 = 10 Donator Days</td> </tr> <tr> <td>6</td> <td>Smoking Levels</td> <td><input class='txt' type='text' name='txt'/></td> <td>1 = 1,000 Smoking Levels</td> </tr> <tr id='summation'> <td> </td> <td align='right'>Total to Pay :</td> <td align='center'>$<span id='sum'>0</span></td> </tr> </table> <script> $(document).ready(function(){ //iterate through each textboxes and add keyup //handler to trigger sum event $('.txt').each(function() { $(this).keyup(function(){ calculateSum(); }); }); }); function calculateSum() { var sum = 0; //iterate through each textboxes and add the values $('.txt').each(function() { //add only if the value is number if(!isNaN(this.value) && this.value.length!=0) { sum += parseFloat(this.value); } }); //.toFixed() method will roundoff the final sum to 2 decimal places $('#sum').html(sum.toFixed(2)); } </script> <br /><br /><br /><br /> <form action='https://www.paypal.com/cgi-bin/webscr' method='post' target='_blank'> <input type=hidden name=cmd value=_xclick> <input type='hidden' name='business' value='{$set['paypal']}'> <input type='hidden' name='item_name' value='{$domain}|Custom|M=|G=|T=|P=|DD=|SL=|{$userid}'> <input type='hidden' name='amount' value='0'> <input type='hidden' name='no_shipping' value='1'> <input type='hidden' name='return' value='http://{$domain}/donatordone.php?action=done&type=special'> <input type='hidden' name='cancel_return' value='http://{$domain}/donatordone.php?action=cancel'> <input type='hidden' name='notify_url' value='http://{$domain}/ipn_donator.php'> <input type='hidden' name='cn' value='Your Player ID'> <input type='hidden' name='currency_code' value='USD'> <input type='hidden' name='tax' value='0'> <input type='image' src='https://www.paypal.com/en_US/i/btn/x-click-but21.gif' border='0' name='submit' alt='Make payments with PayPal - it's fast, free and secure!'> </form> "; $h->endpage(); ?>
×
×
  • Create New...