Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. Re: [MOD] Item Market Auction Ok long speech YAWN and bollox QUESTION was are the codes on here SAFE or NOT so a simple YES or NO would suffice. ?
  2. Re: [MOD] Item Market Auction   So what your saying is LostOnes script is more secure and yet this one is a paid mod and by the reading on Nynas Post is the most unsecure Mod made for the mccodes purchasers....   That doesnt make me feel good about purchasing any Paid script off here then Few quotes...   But apparently the scripts already in cirulation here ?   So the basics to that is NO SCRIPT on here is secure ?   which is basically the same as itemmarkets and crystal markets. So to catagorise all the above info we find that MCCODES is insecure, people are charging others to have their websites hacked. and CriminalExistance is allowing this.. HMMMM time to find a better solution
  3. I may not be great with mccodes, but with other formats of php im fine so heres one ive taken from my audio video site and implemented it into the mccodes. You can add the script to any page of your coding It works like an Iframe except you dont get all the mess. $location=$_GET['location']; if (empty($location)) { $location='index'; } changelocation($location); function changelocation($location) { include ('fairlight.html'); echo '<table cols="2" border="0" cellpadding="10" cellspacing="0" align="center" width="100%">'; echo '<tr>'; } Heres a brief Demo http://www.nightdreamer2000.com/zenellion/fairlight.html AND what it looks like when its all put together..
  4. Re: [MOD] Item Market Auction Im hoping this one will solve the solution if not i will remove the post until i can make it safe.. Place below the include "globals.php"; on each page   function escapeString($string) { if (get_magic_quotes_gpc()) $string = stripslashes($string); return mysql_real_escape_string($string); }
  5. Re: [MOD] Item Market Auction Hmm okies how can it be made more secure im not up on the sql injections.
  6. << SCRIPT REMOVED >> Due to reading on the issue below ive decided to withdraw this post. Sory to those that wanted to use the script but i dont want to be the person who was responsible for your sites getting hacked so for everyones sake its been removed.
  7. we cant always tell if crons are working but heres a simple solution   This should only be done before launching your site to the public.   ** NOTE ** Before you test any crons bare in mind that doing so will reset the time scale or increase the time scale firstly open a blank webpage in the url type http://www.yourdomain.com/cron_minute.php?XXXXXXXXX The XXXXXXXX denotes the code used from your setup you can find this by looking at your config.php file so just overwrite the x's with the code from that file.. TEST RESULTS Blank Screen when you press enter or the cron means all is working fine..... However if it fails it will tell you on which line to look at when you have fixed the error repeat the process for that failed file until its correct. repeat the process for day 5 minute hour or any other crons you have... The cron number will always be the same so you dont have to keep going back to config to find out what it is just alter the text from cron_minute to cron_hour and vice versa
  8. It seems that this has already been done as can be seen on justin-cook.com and my remark that it may not have been has been proven wrong. So appologise's. for the similarity of scripts and to keep this fair i will be using justin-cooks script for this post.. call the file calc.php <?php include "globals.php"; //* Justin-cook.com // print "<h1>FairLight Calculator</h1> "; print "For those moments when you go brain dead "; ?> <form name="Calc" id="Calc"> <table border="4"> <tr> <td> <input type="text" name="Input" size="16" /> </td> </tr> <tr> <td> <input type="button" name="one" value=" 1 " onclick="Calc.Input.value += '1'" /> <input type="button" name="two" value=" 2 " onclick="Calc.Input.value += '2'" /> <input type="button" name="three" value=" 3 " onclick="Calc.Input.value += '3'" /> <input type="button" name="plus" value=" + " onclick="Calc.Input.value += ' + '" /> <input type="button" name="four" value=" 4 " onclick="Calc.Input.value += '4'" /> <input type="button" name="five" value=" 5 " onclick="Calc.Input.value += '5'" /> <input type="button" name="six" value=" 6 " onclick="Calc.Input.value += '6'" /> <input type="button" name="minus" value=" - " onclick="Calc.Input.value += ' - '" /> <input type="button" name="seven" value=" 7 " onclick="Calc.Input.value += '7'" /> <input type="button" name="eight" value=" 8 " onclick="Calc.Input.value += '8'" /> <input type="button" name="nine" value=" 9 " onclick="Calc.Input.value += '9'" /> <input type="button" name="times" value=" x " onclick="Calc.Input.value += ' * '" /> <input type="button" name="clear" value=" c " onclick="Calc.Input.value = "" /> <input type="button" name="zero" value=" 0 " onclick="Calc.Input.value += '0'" /> <input type="button" name="DoIt" value=" = " onclick="Calc.Input.value = eval(Calc.Input.value)" /> <input type="button" name="div" value=" / " onclick="Calc.Input.value += ' / '" /> </td> </tr> </table> </form> <? $h->endpage(); ?> Then add a link to anypage you want.. Quick Preview The preview image may vary..
  9. Im aware that Mccodes has this function but ive just improved it slightly this mod will allow your users to view the USERES in an order of prefernce. ID USERNAME LEVEL GENDER ONLINE STATUS Open up userlist.php. Overwrite this line print " Order By: [url='userlist.php?st=$st&by=userid&ord=$ord']User ID[/url] | [url='userlist.php?st=$st&by=username&ord=$ord']Username[/url] | [url='userlist.php?st=$st&by=level&ord=$ord']Level[/url] [url='userlist.php?st=$st&by=$by&ord=asc']Ascending[/url] | [url='userlist.php?st=$st&by=$by&ord=desc']Descending[/url] "; with this one print" "; Then find this line print "Showing users $no1 to $no2 by order of $by $ord. <table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>[url='userlist.php?st=$st&by=$by&ord=asc'][img=up.gif][/url] ID [url='userlist.php?st=$st&by=$by&ord=desc'][img=down.gif][/url]</th><th>Name</th><th>Level</th><th>Gender</th><th>Online</th></tr>"; and Overwrite with this one. print "Showing users $no1 to $no2 by order of $by $ord. <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>[url='userlist.php?st=$st&by=userid&ord=asc'][img=up.jpg][/url] ID [url='userlist.php?st=$st&by=userid&ord=desc'][img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=username&ord=asc'][img=up.jpg]Name<a href='userlist.php?st=$st&by=username&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=level&ord=asc'][img=up.jpg]Level<a href='userlist.php?st=$st&by=level&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=gender&ord=asc'][img=up.jpg]Gender<a href='userlist.php?st=$st&by=gender&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=laston&ord=asc'][img=up.jpg]Online<a href='userlist.php?st=$st&by=laston&ord=desc'>[img=down.jpg][/url]</th></tr>"; save these pics to your root or subfolder.. and and your done for those that have more than the above like money and staff then just add these two lines.. FOR MONEY </th><th>[url='userlist.php?st=$st&by=money&ord=asc'][img=up.jpg][/url]Online[url='userlist.php?st=$st&by=money&ord=desc'][img=down.jpg][/url]</th></tr>"; STAFF </th><th>[url='userlist.php?st=$st&by=user_level&ord=asc'][img=up.jpg][/url]Online[url='userlist.php?st=$st&by=user_level&ord=desc'][img=down.jpg][/url]</th></tr>"; The same principal can be Added to your Inventory also.
  10. Re: [v1]Free Users Personal Page[v1] If you want to add your Personal Page to your Profile but not as a linked version. DONT create a file called personalpage.php just add this code before the $h->endpage() EDIT it woul help if i told you which file to put the code in.. open viewusers.php and place the code in there also if you already have this on your game remove the links on your viewusers.php that point to personalpage.php V2 Versions print " <table style='margin: 0 auto 0 auto; border: solid #929292 0px; width: 550px;'><tr style='background-color: #500001;'><td><p style='margin: 0 0 0 0; padding: 2px; text-align: center; font-weight: bold; color: #ffffff;'>You are viewing {$r['username']}s Profile Signature</p></td></tr> <tr style='background-color: #ececec;'><td><p style='text-align: center; margin: 0 0 0 0;'>{$r['ppage']} </tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $r=$db->fetch_row($q); if(!$r['ppage']) V1 version print " <table style='margin: 0 auto 0 auto; border: solid #929292 0px; width: 550px;'><tr style='background-color: #500001;'><td><p style='margin: 0 0 0 0; padding: 2px; text-align: center; font-weight: bold; color: #ffffff;'>You are viewing {$r['username']}s Profile Signature</p></td></tr> <tr style='background-color: #ececec;'><td><p style='text-align: center; margin: 0 0 0 0;'>{$r['ppage']} </tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $r=mysql_fetch_array($q); if(!$r['ppage']) $h->endpage(); Your users can now see your newly added profile from the profile page instead of clicking a link..... SCREEN SHOT
  11. Re: Strip Club   And as for all the Post moaning thread stealing LEMMINGS Read the above and take note,Then read the below note, Then ask yourself one Question is the blind leading the blind.  
  12. Re: Strip Club Hmm nice to see all the LEMMINGS have come out to play.   haha     or he is a 12 year old geek
  13. Re: A Donator Pack System all Mccoders will want....   THEN DONT USE IT ZERO!! But for those that do want to use it. The whole thing is Free the scripting from tufat is FREE the coding i did is FREE. when its all installed and set up how you want it you can have as many pages of grids as you like for all Dontaor Pack types. You add the Links to your game That correspond to the Correct Donator Priced Grid. When users have created an Account on the site and purchase a Donator Pack they can pay by any means possible not just the standard Paypal option... Users are more in control of their purchasing. You can send Multiple emails to Customers without using the games Emailbox.or making an announcement If you decide to make a Donator pack price higher or lower You dont have to keep editing any Coding on your games site. it can all be done Via the Admin Panel. The system lets you know instantly when Items were Purchased so you dont have to keep Checking any Staff logs for expirey dates. You can keep check of all payment transactions if a member has a problem with anything about a payment. Yes agreed you still have to send Donator packs out Manually via the staff panel. But im sure one day some bright spark will decide to make the mccodes script enable Donator Packs to be placed directly into your games Inventory.....
  14. Re: A Donator Pack System all Mccoders will want....   Deception thats quite true you got me its useless lets take it down... Then again Is it ?
  15. Re: A Donator Pack System all Mccoders will want....   put the 51 files in a zipped folder and share that? if you scroll up a few posts you will see i did add a zip for the file... incase ya missed it here it is again << ZIP REMOVED >>
  16. Re: Strip Club Nice Mod Dj although i dont us this type of thing i uploaded the script and its nice to see i dont have to alter anything worked well 1st attempt. :)
  17. Re: A Donator Pack System all Mccoders will want....   At 51 files i dont thnk people would want to see that many files to copy and paste...   QUICK NOTE In my rush to get these files sorted i left my URL in the footer.inc.tpl file just add your own url to it sorry about that
  18. Re: A Donator Pack System all Mccoders will want.... You will need to have GPIX installed from tufat.com before this Mod will work.. its Free once you have the gpix installed or what ever you have named it on your site then.. Download this templates.zip file Unpack it and send all the files from it to your templates/ folder on your FTP only send the files and NOT the folder... <<< ZIP REMOVED >>
  19. Re: A Donator Pack System all Mccoders will want.... you can download the file at tufat.com its called Gpix but that version is setup for Adverts so download the Gpix and i will Upload the files ive altered for the Donator Packs to work,,,, And regards the Explore page i have seen it running and helped to make it run on various sites. I'll be the first to admit my coding is just remnents of other peoples but i dont take nothing from them and if i use them i make sure i Comment the person in question to who developed it.. in my posts.. The Idea behind this Post was because the Payment system for Donator Packs was boring as hell. And the new system here will give Staff more control over the game rather than trying to find Mis payments from members And errors that may occur ina transaction.. Once you download the Gpix and set it up you will understand why my idea to convert this was a decent one
  20. I was on my travels on the net from the comfort of my chair. When i came across a Pixel site Created by Alex Tew not saying the name of the site but it gave me an idea if people buy Pixels why cant i implement the same idea for Game players to buy Donator Packs. So i did and here it is. << LINK REMOVED TOO MUCH NEGATIVE FEEDBACK TO BOTHER CONTINUING >> The script itself is from another site that is GPL all ive done is recoded it so it works for buying Donator Packs instead of advertising Pixels.. What does it do ? Your game members simply look for the Donator pack they want to buy on the site, When theyve found one they simply create or upload an image to say thats their spot, when they have filled in the Necessary details. and payment has been received Their status becomes active and you send out the correct Donator pack to the user... The users are informed of Expirey 5 days before the Donator Pack Runs out and they can just refresh their payment on the link sent to them. ( Admins are also sent an email of expiry and any updates ) Admin Features ? From the Admin panel you can add new types of donator packs that you are selling in the game increase prices of any donator packs that are sold. Users can pay by offline method, Paypal, 2dcheckout, Authorise.net Creditcard, Egold and many more.. You can choose to make a Donator pack Pending until you receive payment then activate it when your ready. Ive created a site to view and Its FREE payment option so you can test its features...... Ive Disabled the SIGNUP function so at the minute its a free for all..
  21. Re: Tournaments mod For V2 After a lot of editing on this script Iv'e finally got it working..   <?php /** * @author canibal * @copyright 2007 */ include "sglobals.php"; switch($_GET['action']) { case 'tornycreate': tornycreate(); break; case 'tornysub': torny_sub(); break; case 'tornyeditform': tornyeditform(); break; case 'tornyedit': tornyedit(); break; case 'tornyesub': torny_esub(); break; case 'deltorny': torny_del(); break; case 'tornydelsub': torny_del_sub(); break; default: print "this script requires an action!!!"; break; } function tornycreate() { global $db,$ir,$c,$h,$userid; print" <form action='tornystaff.php?action=tornysub' method='post'> Tornament Image: <input type='text' name='tornyimg' /> Tornament Cost: <input type='text' name='tornycost' /> Tornament Active(1=yes 0=no): <input type='text' name='tornyactive' /> Tornament Country: <input type='text' name='tornycountry' /> Tornament Name: <input type='text' name='tornyname' /> Tornament Description: <input type='text' name='tornydesc' /> Tornament currency (1=money 2=crystals 3=Coins): <input type='text' name='tornycur' /> Tornament Time: <input type='text' name='entrytime' /> Tornament ID (1-3): <input type='text' name='tornyid' /> <input type='submit' value='Create Tornament' /></form>"; } function torny_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 0) { $p=mysql_query("INSERT INTO torny VALUES('','{$_POST['tornyimg']}','{$_POST['tornycost']}','{$_POST['tornyactive']}','{$_POST['tornycountry']}','{$_POST['tornyname']}','{$_POST['tornydesc']}','{$_POST['tornycur']}','0','0','0','','{$_POST['entrytime']}','{$_POST['tornyid']}','0','0','0','0')"); print"<font size='4'>Created {$_POST['tornyname']} Tornament</font>"; } else { die("ERROR!"); } } function tornyeditform() { global $db,$ir,$c,$h,$userid; print "Select the tornament you want to edit. <form action='tornystaff.php?action=tornyedit' method='post'> Tourny ID: ".torny_dropdownall($c,'torny')." <input type='submit' value='Edit Tornament' /></form>"; } function tornyedit() { global $db,$ir,$c,$h,$userid; $p=mysql_query("SELECT * FROM torny WHERE tid={$_POST['torny']}"); while($t=$db->fetch_row($p)) { print"<form action='tornystaff.php?action=tornyesub' method='post'> Tornament Image: <input type='text' name='tornyimg' value='{$t['timg']}' /> Tornament Cost: <input type='text' name='tornycost' value='{$t['tcost']}' /> Tornament Active(1=yes 0=no): <input type='text' name='tornyactive' value='{$t['tactive']}' /> Tornament Country: <input type='text' name='tornycountry' value='{$t['tcountry']}'/> Name of Tornament: <input type='text' name='tornyname' value='{$t['ttorny']}' /> Tornament Description: <input type='text' name='tornydesc' value='{$t['tcontent']}' /> Tornament currency (1=money 2=crystals 3=Coins): <input type='text' name='tornycur' value='{$t['tcur']}' /> Tornament Entry Time (Hours): <input type='text' name='entrytime' value='{$t['entrytime']}' /> Tornament ID (1-3): <input type='text' name='tornyid' value='{$t['torny']}'/> <input type='submit' value='Edit Tornament' /></form>"; } } function torny_esub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 0) { if($_POST['tornyimg'] == ''){die("ERROR TORNAMENT IMAGE ERROR!!!!!");} if($_POST['tornycost'] == ''){die("ERROR TORNAMENT COST ERROR!!!!!");} if($_POST['tornyactive'] == ''){die("ERROR TORNAMENT ACTIVE ERROR!!!!!");} if($_POST['tornycountry'] == ''){die("ERROR TORNAMENT COUNTRY ERROR!!!!!");} if($_POST['tornyname'] == ''){die("ERROR TORNAMENT NAME ERROR!!!!!");} if($_POST['tornydesc'] == ''){die("ERROR TORNAMENT DESC ERROR!!!!!");} if($_POST['tornycur'] == ''){die("ERROR TORNAMENT CURRENCY ERROR!!!!!");} if($_POST['entrytime'] == ''){die("ERROR TORNAMENT ENTRY TIME ERROR!!!!!");} if($_POST['tornyid'] == ''){die("ERROR TORNAMENT ID ERROR!!!!!");} else { $p=mysql_query("UPDATE torny SET timg={$_POST['tornyimg']}, tcost={$_POST['tornycost']}, tactive={$_POST['tornyactive']}, tcountry={$_POST['tornycountry']}, ttorny={$_POST['tornyname']}, tcontent={$_POST['tornydesc']}, tcur={$_POST['tornycur']}, torny={$_POST['tornyid']}, entrytime={$_POST['entrytime']} WHERE tid={$_POST['torny']},'0','0','0','0')"); PRINT <<<OUT <font size='4'>Successfully Updated {$_POST['tornyname']} Tornament!!!!!! OUT; } } else{die("ERROR!!!!!");} } function torny_del() { global $db,$ir,$c,$h,$userid; print "Select the tornament you want to Delete. <form action='tornystaff.php?action=tornydelsub' method='post'> User: ".torny_dropdownall($c,'torny')." <input type='submit' value='Delete Tornament' /></form>"; } function torny_del_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 0) { $p=mysql_query("DELETE FROM torny WHERE tid={$_POST['torny']}"); PRINT <<<OUT <font size='4'>Successfully Deleted Tournament ID {$_POST['torny']} </font> OUT; } } ?>   As this workd from the sglobals you will need to add 3 links to your smenu those being..   [url='tornystaff.php?action=tornycreate']Create Tournament[/url] [url='tornystaff.php?action=tornyeditform']Edit Tournament[/url] [url='tornystaff.php?action=deltorny']Delete Tournament[/url]   As HALO Pointed out above there were two mentions of tournysub ive ammended these and also added the Missing SQL for the Tournament start time...
  22. Re: Tournaments mod For V2 This Script wont beat me ;) Ive managed to be able to Create Tournaments and Delete tournamnets from the script. Still having issuse with Editing tournaments When i click on the Edit Tournament i just get a blank page.. However if i enter the tournament ID in manullaly i am able to Edit that way but the drop down for the Edit isnt working... Any help would be appreciated on this..
  23. Re: Explore your streets.php as an image Imagine a grid 10x10 with clickable blocks thats your screen shot :)
  24. Re: Blow members minds with the ULTIMATE explore page This can be done a number of ways an imagemap generator is the easiest if you dont have one you can use Microsoft Paint..... Microsoft Paint has Co-Ords on the bottom Right of screen.. so for a box shape choose a point on your picture and note down the Co-ords on the right. The move down and across right with your mouse to another point on the picture and note that number down... That will Create a full grid with 4 Co-ords....
  25. Re: [MOD] CashCard. Send Cash Via Credit Card + Admin Xfer Logs if you have done everything step by step it should work go back over what you have done to make sure you havent missed anything.....
×
×
  • Create New...