Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,701
  • Joined

  • Last visited

  • Days Won

    88

Everything posted by Uridium

  1. Re: [mccode v2] Shop Picture oh my god how crazy is that being commented for a simple html... Even ths staff are getting pathetic time for a change of scenery i think....
  2. Re: [V2] Shop Picture shouldnt <td>{$r['shopPIC']}</td> be <td></td>
  3. Re: [mccode v2] House Images KEV Either you want help or we can send messages back and forth on here all day just create a test account for me on your site. and pm me the details
  4. Re: [mccode v2] House Images right click on the blank image and goto Properties does it give the correct folder for the houses to go into
  5. Re: [mccode v2] House Images send me your game link and i'll have a look
  6. Re: [mccode v2] PJIRC Chat Mod   Sounds like youve got an over excited Anti Virus programe some AV's are a pain in a way that they detect even a safe file and say its a virus...
  7. Re: [mccode v2] Themecreator 100% Completed Working Copy remember when adding a ID and the theme DATA they need to be the same value you dont need to add 1.css to the theme DATA just add 1...
  8. Re: [mccode V2] Item Descryption. My old 32explore page used the same hing whereby if you hover over a link it would give the image Pic... however i did lose that when my host closed i may have it burried somewhere on the pc though will dig it out..
  9. Re: [mccodes v2] Profile Image Uploader That usually means your using the same instances in 2 files that are calling for the same thing.. Would need to know which files your setting the sessions for
  10. Re: Needed... v2 forums sql queries for the db   Just give him the SQLS dabomstew cant be that bothered about this project or otherwise he would have secured it enough so people coulnt steal it and use it on other sites.... or he would have used PHPSHIELD to protect it..
  11. Re: [mccode V2] Item Descryption. Very nice :) +1
  12. Re: [Mccodes V2] improved schooling works off clicks not days I may have taken on more than i can chew with this one. it wont beat me however the problems im having are.. 1 = if a session is started after a previous session then they both are renewed after an hour.. Example course 1 started at 1:34 and course 2 started at 1:59 soon as 2:34 is up both sessions are renewed.. but the 1:59 shouldnt be available until 2:59. I dont want to use different types of cron sessions for each so how would i get round this...
  13. Re: [Mccodes V2] improved schooling works off clicks not days   yep the idea came from RV i cant deny that :)
  14. Re: [Mccodes V2] improved schooling works off clicks not days   Thats quite true.. But my way of thinking is a user starts a course for say 15 days them goes away comes back and the course they started has finished which doesnt appeal to me in a way where by you can make users more active if they have tobe online in the game to finish the course...
  15. Whats it do ? I was fed up of waiting days to complete a education course and wanted to make it better or improve on it. The old version had the use of DAYS and if they were long it was a pain in the butt,, so i made this version to work off Clicks you can attend upto 5 schooling sessions and you have 25 clicks perday at your disposal one a session has been clicked it cant be clicked again for an hour. You dont have to take 5 courses you can just take 1 and use the 25 clicks per day on that session. ADMIN PANEL... The Schooling via the admin panel Does the usual things the old one did but now includes Clicks per session instead of days. example you can set a course for 50 clicks so that would be 50 hours before the course was over. However if a users doesnt click on a session it will be as it was before there last click which could last longer if they are not active... Ive got a few bugs to attend to and im adding some more stuff the admin section has been done and the tables for the SQL have also been set out... Will repost on this post with working copy
  16. Re: Ravan Game Engine would be nice to campre dabomstews paypal figures to the amount of mcc's sold ;) that would rectify things
  17. Re: [mccode v2] Themecreator 100% Completed Working Copy heres the delete Theme part taken from the staff_users.php file Ive used this part from the staff_users as it also gives you an option to secure themes so they cannot be deleted and also the confirmation to delete... after the very last ) from the staff_themecreator.php add this..   function deltheme() { global $ir,$c,$h,$ThemeID,$db; if($ir['user_level'] != 2) { die("403"); } $undeletable = array('1','2'); // add more Theme IDs here that cannot be deleted switch ($_GET['step']) { default: echo "<h3>Deleteing Theme</h3> Here you can delete a Theme. <form action='staff_themecreator.php?action=deltheme&step=2' method='post'> Theme: ".Theme_dropdown($c,'Theme')." <input type='submit' value='Delete Theme' /></form> OR enter a Theme ID to Delete: <form action='staff_themecreator.php?action=deltheme&step=2' method='post'> Theme: <input type='text' name='Theme' value='0' /> <input type='submit' value='Delete Theme' /></form>"; break; case 2: $target = $_POST['Theme']; if (!is_numeric($target)) exit; if (in_array($target,$undeletable)) { die(' <center><h1><font color=red>! ATTENTION !</center></font></h1> <center><h2>You have Requested that this theme Cannot be deleted.</h2></center> <h2>Edit the ID number in your staff_themecreator file in order to delete this theme.</h2>'); } $d=$db->query("SELECT ThemeDATA FROM Theme WHERE ThemeID='$target'"); $itemi=$db->fetch_row($d); print "<h3>Confirm</h3> Delete Theme ".$itemi["Theme"]."? <form action='staff_themecreator.php?action=deltheme&step=3' method='post'> <input type='hidden' name='ThemeID' value='$target' /> <input type='submit' name='yesorno' value='Yes' /> <input type='submit' name='yesorno' value='No' onclick=\"window.location='staff_themecreator.php?action=deltheme';\" /></form>"; break; case 3: $target = $_POST['ThemeID']; if (!is_numeric($target)) exit; if (in_array($target,$undeletable)) { die('You cannot delete this Theme.'); } if($_POST['yesorno']=='No') { die("Theme not deleted. [url='staff_themecreator.php?action=deltheme']>Back to main Delete Theme page.[/url]"); } if ($_POST['yesorno'] != ("No" || "Yes")) die('Eh'); $d=$db->query("SELECT ThemeDATA FROM Theme WHERE ThemeID='$target'"); $itemi=$db->fetch_row($d); $db->query("DELETE FROM Theme WHERE ThemeID='$target'"); $db->query("UPDATE users SET ThemeID = '1' where ThemeID='$target'"); echo "Theme {$itemi['Theme']} Deleted. [url='staff_themecreator.php?action=deltheme']>Back to main Delete Theme page.[/url]"; stafflog_add("Deleted Theme {$itemi['Theme']} [{$_POST['ThemeID']}]"); } }   in the above you will notice,,, $undeletable = array('1','2'); // add more Theme IDs here that cannot be deleted you can add the theme ID's that you want to secure... Just underneath   case 'editthemesub': edit_theme_sub(); break;   ADD   case 'deltheme': deltheme(); break;   Now open up smenu.php and add this with the other theme links...   > [url='staff_themecreator.php?action=deltheme']Delete A Theme[/url]   Just to Note this part $db->query("UPDATE users SET ThemeID = '1' WHERE ThemeID='$target'"); Will ensure that when you delete a theme that a user is currently using they will be reset to the Default theme...
  18. Re: [MOD] V2 Drag n Drop User and Admin System... I have released it.. http://criminalexistence.com/ceforums/i ... ic=27161.0
  19. Re: [mccode v2] Banner image selector In the Banner DATA field put the number of the jpg your wanting to use... Example Banner ID = 1 Banner Name = Main image Banner DATA = 1
  20. Re: [mccodes V2] Drag n Drop User Menu + Staff Menus [WORKING COPY] Thanks for that pog but i had issues adding any " after the print statement so reluctantly left it as it was. I also removed your addition to our site IE the youtube posting.
  21. Re: [mccodes V2] Drag n Drop User Menu + Staff Mens   DEMO www.slave-traders.net the NAVIGATION menu is drag n droppable
  22. Re: [mccodes V2] Drag n Drop User Menu + Staff Mens PART 2 Whilst still in mainmenu or smenu add this insdie the first PRINT " statement,   <div id='buttonsStatus' class='statusbox' valign='top'> </div> <ul id='buttons' class='sortable boxy clickable'>   Now usually your menu links woud look like this   > [url='index.php']Back To Game[/url]   but from now on whilst adding a link they will need to be changed,,,   <li itemID='indexpage'>[url='index.php']Home[/url]   NOTE the itemID will need to be altered for each link where the return true; si you can turn your links off by setting it to false.. Your members can now drag and drop their links into any Preference they want. Also as it works of cookies they will stay there until a user decides to alter them..
  23. lets get the cod out of the way first :) Create a folder on your FTP called common call this file lists.css and upload to your common folder,,   ul.sortable li { position: relative; } ul.boxy { list-style-type: none; padding: 0px; margin: 0px; width: 10em; font-size: 13px; font-family: Arial, sans-serif; } ul.boxy li { cursor:move; padding: 2px 2px; border: 1px solid #ccc; background-color: #eee; } .clickable a { display: block; text-decoration: none; cursor: pointer; cursor: hand; } .clickable li:hover { background-color: #f6f6f6; }   Download this ZIP and when unzipped just send the whole folder to your FTP http://www.slave-traders.net/javascript.zip Now open up mainmenu.php or smenu.php and after the first global command add this   echo <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"> <html> <head> <link rel="stylesheet" type="text/css" href="common/lists.css"/> <style type="text/css"> </style> <script language="JavaScript" type="text/javascript" src="javascript/core.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/events.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/css.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/coordinates.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/drag.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/dragsort.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/cookies.js"></script> <script language="JavaScript" type="text/javascript"><!-- var dragsort = ToolMan.dragsort() var junkdrawer = ToolMan.junkdrawer() window.onload = function() { junkdrawer.restoreListOrder("buttons") //junkdrawer.restoreListOrder("twolists1") //junkdrawer.restoreListOrder("twolists2") dragsort.makeListSortable(document.getElementById("buttons"), saveOrder) /* dragsort.makeListSortable(document.getElementById("twolists1"), saveOrder) dragsort.makeListSortable(document.getElementById("twolists2"), saveOrder) */ } function verticalOnly(item) { item.toolManDragGroup.verticalOnly() } function speak(id, what) { var element = document.getElementById(id); //element.innerHTML = 'Clicked ' + what; } function saveOrder(item) { var group = item.toolManDragGroup var list = group.element.parentNode var id = list.getAttribute("id") if (id == null) return group.register('dragend', function() { ToolMan.cookies().set("list-" + id, junkdrawer.serializeList(list), 365) }) } //--> </script> </head> <body> <ul id="numeric"> [/list] </p> <table id="phonetics"> <tr> <td> <ul id="phonetic1" class="boxy"> [/list] </td> <td> <ul id="phonetic2" class="boxy"> [/list] </td> <td> <ul id="phonetic3" class="boxy"> [/list] </td> </tr> </table> <ul id="phoneticlong" class="boxy"> [/list] <ul id="boxes"> [/list] EOF;   Now that youve done that i'll start PART 2
  24. Re: [MOD] V2 Banner image selector   Okies will do
  25. Re: [MOD] V2 Banner image selector FOOTNOTE At the moment only JPG is allowed however you can only use one or the other and you will need to change   [img=banner/{$b['bannerID']}.jpg]   So that it reads gif or png at moment default is JPG. When adding a new banner upload a image as a number example 1.jpg In the creator menu the top and bottom need to be the number of the image youve selected and the center is the title for you image...
×
×
  • Create New...