-
Posts
2,667 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
[mccode v2] Themecreator 100% Completed Working Copy
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] Themecreator 100% Completed Working Copy Thats True POG but the fact it works and is ready to addon saves those from having to redo it if you get what i mean... -
[mccode v2] Themecreator 100% Completed Working Copy
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] Themecreator 100% Completed Working Copy choose.php needs a slight amendment to tell users that images can be clicked on and view in full... <?php /* Big Thanks to KILLAH for this Script /* 2008 KILLAH & ILLUSIONS /* Mccodes V2 Theme Change */ include("globals.php"); switch($_GET['action']) { case 'accept': accept_theme_begin(); break; default: print "Error: This script requires an action."; break; } function accept_theme_begin() { global $ir,$h; if($_POST['Theme']) { $theme = abs(@intval($_POST['Theme'])); $rows = mysql_num_rows(mysql_query("SELECT ThemeID FROM Theme WHERE ThemeID=".$theme)); if($rows == 0) { echo 'This theme does not exist. Go AWAY!'; $h->endpage(); exit; } mysql_query("UPDATE users SET ThemeID=".$theme." WHERE userid=".$ir['userid']); echo ' <h2>Theme Updated </h2> <a href=index.php>[REFRESH THEME]</a>'; $h->endpage(); exit; } $q = mysql_query("SELECT ThemeID FROM Theme"); $r = mysql_fetch_assoc($q); echo ' <h3>Choose Your Theme</h3> <h3>You can view a larger image of the Theme you wish to view by clicking on it <form action="choose.php?action=accept" method="post"> Theme: '.Theme_dropdown($r,'Theme').' <input type="submit" value="Choose Theme"> </form>'; } $h->endpage(); ?> -
[mccode v2] Themecreator 100% Completed Working Copy
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] Themecreator 100% Completed Working Copy I'll post what ive done so far... SQL ALTER TABLE `Theme` ADD `ThemeIMAGE` VARCHAR( 255 ) NOT NULL DEFAULT 'default.jpg' ; call this file staff_themecreator.php <?php //* V2 Theme Creator //* Illusions 2008 this notice must stay intact //* Free for to those Members of Criminal Existance Forums //* All we ask is that you keep this Notice intact *// include "sglobals.php"; //This contains user stuffs switch($_GET['action']) { case 'newtheme': new_theme_form(); break; case 'newthemesub': new_theme_submit(); break; case 'edittheme': edit_theme_begin(); break; case 'editthemeform': edit_theme_form(); break; case 'editthemesub': edit_theme_sub(); break; default: print "Error: This script requires an action."; break; } function htmlspcl($in) { return str_replace("'", "'", htmlspecialchars($in)); } function new_theme_form() { global $db,$ir,$c,$ThemeID; if($ir['user_level'] != 2) { die("403"); } $oq=$db->query("SELECT * FROM Theme WHERE ThemeTITLE='{$_POST['ThemeTITLE']}' and ThemeID='{$_POST['ThemeID']}' and ThemeLOCK='{$_POST['ThemeLOCK']}' and ThemeIMAGE='{$_POST['ThemeIMAGE']}'"); $rm=$db->fetch_row($oq); print "<h1>Adding a new Theme</h1> <form action='staff_themecreator.php?action=newthemesub' method='post'> Theme ID: <input type='text' name='ThemeID' /> Theme Title: <input type='text' name='ThemeTITLE' /> Theme CSS Name: <input type='text' name='ThemeDATA' /> Donator: <input type='radio' name='ThemeLOCK' value='0' />NO <input type='radio' name='ThemeLOCK' value='1' />YES Thumbnail Image: <input type='text' name='ThemeIMAGE' /> <input type='submit' value='Create New Theme' /> Theme ID's already in use are {$_POST['ThemeID']} </form>"; } function new_theme_submit() { global $db,$ir,$c,$ThemeID; if($ir['user_level'] != 2) { die("403"); } if(!isset($_POST['ThemeID']) || !isset($_POST['ThemeTITLE']) || !isset($_POST['ThemeDATA'])) { print "You missed one or more of the required fields. Please go back and try again. [url='staff_themecreator.php?action=newtheme']> Back[/url]"; $h->endpage(); exit; } $db->query("INSERT INTO Theme (ThemeID, ThemeTITLE, ThemeDATA, ThemeLOCK, ThemeIMAGE) VALUES( '{$_POST['ThemeID']}', '{$_POST['ThemeTITLE']}', '{$_POST['ThemeDATA']}', '{$_POST['ThemeLOCK']}', '{$_POST['ThemeIMAGE']}')"); //$i=mysql_insert_Themeid($c); print " <font size=3>Successfully Created Theme {$_POST['ThemeTITLE']}</font>"; stafflog_add("Created Theme {$_POST['ThemeTITLE']} "); } function edit_theme_begin() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } print "<h3>Editing Theme</h3> <form action='staff_themecreator.php?action=editthemeform' method='post'> Theme: ".Theme_dropdown($c,'Theme')." <input type='submit' value='Edit Theme' /></form> OR enter a Theme ID to edit: <form action='staff_themecreator.php?action=editthemeform' method='post'> Theme: <input type='text' name='Theme' value='0' /> <input type='submit' value='Edit Theme' /></form>"; } function edit_theme_form() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $q = $db->query("SELECT * FROM Theme WHERE ThemeDATA='{$_POST['Theme']}'"); $r = $db->fetch_row($q); print "<h3>Theme Editing System</h3> <form action='staff_themecreator.php?action=editthemesub' method='post'> Theme ID: <input type='text' name='ThemeID' value='{$r['ThemeID']}' /> Theme Title: <input type='text' name='ThemeTITLE' value='{$r['ThemeTITLE']}' /> Theme CSS: <input type='text' name='ThemeDATA' value='{$r['ThemeDATA']}' /> Donator <input type='radio' name='ThemeLOCK' value='0' />NO <input type='radio' name='ThemeLOCK' value='1' />YES Thumbnail Image: <input type='text' name='ThemeIMAGE' value='{$r['ThemeIMAGE']}'/> <input type='submit' value='Edit Theme' /></form>"; } function edit_theme_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $go=0; if(!isset($_POST['ThemeID'])) { $go=1; } if(!isset($_POST['ThemeTITLE'])) { $go=1; } if(!isset($_POST['ThemeDATA'])) { $go=1; } if(!isset($_POST['ThemeLOCK'])) { $go=1; } if(!isset($_POST['ThemeIMAGE'])) { $go=1; } if($go) { print "You did not fully fill out the form."; $_POST['Theme']=$_POST['ThemeID']; edit_theme_form(); } $oq=$db->query("SELECT * FROM Theme WHERE ThemeTITLE='{$_POST['ThemeTITLE']}' and ThemeID='{$_POST['ThemeID']}'"); $rm=$db->fetch_row($oq); $db->query("UPDATE Theme SET ThemeTITLE='{$_POST['ThemeTITLE']}', ThemeDATA='{$_POST['ThemeDATA']}', ThemeLOCK='{$_POST['ThemeLOCK']}', ThemeIMAGE='{$_POST['ThemeIMAGE']}' WHERE ThemeID={$_POST['ThemeID']}"); stafflog_add("Edited Theme {$_POST['ThemeTITLE']} [{$_POST['ThemeID']}]"); print " <h1>Theme</h1><h3><font color='yellow'> {$_POST['ThemeTITLE']}</h3></font><h1> edited.... Successfully</h1>"; } $h->endpage(); ?> New Additions to this are Donator only theme ON or OFF and an Image for the Theme which you should create a folder on your FTP called themeshots this is where you put your images... now open up global_func.php and overwrite the old function that was posted earlier with this one.. function Theme_dropdown($connection,$ddname="Theme",$selected=-1) { global $db; $ret="<select name='$ddname' type='dropdown'>"; $q=$db->query("SELECT * FROM Theme ORDER BY ThemeDATA ASC"); if($selected == -1) { $first=0; } else { $first=1; } while($r=$db->fetch_row($q)) { $ret.="\n<option value='{$r['ThemeDATA']}'"; if ($selected == $r['ThemeDATA'] || $first == 0) { $ret.=" selected='selected'";$first=1; } $ret.= ">{$r['ThemeTITLE']}</option>"; print"<Valign=LEFT>[url='themeshots/{$r['][img=themeshots/{$r[][/url] "; } $ret.="\n</select>"; return $ret; } For those already using the older version of themecreator you will not lose any data by adding this updated version.. -
[mccode v2] Themecreator 100% Completed Working Copy
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] Themecreator 100% Completed Working Copy Quick update.. now added ability to View before you choose still working on the donator only theme should be ready for this afternoon -
[mccode v2] Themecreator 100% Completed Working Copy
Uridium replied to Uridium's topic in Free Modifications
Re: [mccode v2] Themecreator 100% Completed Working Copy [uPDATE] I wanted to add to the Theme-Creator where by your Paying members can benfit by viewing themes non-paying members cant see. its a work in progress at moment and ill try sort out some of the older issues raised from the original Script.. + let Users view a themeshot before they decide to use it. The old version although it works fine lacks what i initailly had wanted it to do. -
This will allow staff to send Secret messages to any user. It can only be read by the user who receives it... Call this file staff_secretmess.php <?php require "globals.php"; ?> <head> <STYLE type="text/css"> <!-- BODY { scrollbar-face-color: #000000; scrollbar-highlight-color: #00FF00; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #00FF00; scrollbar-shadow-color: #000000; scrollbar-arrow-color: #FF3300; scrollbar-track-color: #000000; } --> </STYLE> <body bgcolor="#000000"> <center> <html> <head> <script language="JavaScript"> len=0; function CalcKey() { len=0; var temp=document.Encrypt.Key.value; for(i=0;i<temp.length;i++) { len=len+temp.charCodeAt(i); } if(len==0) { alert('Please Enter the Players ID #'); document.Encrypt.Key.focus(); } return len; } function Encryption() { CalcKey(); document.Encrypt.Encrypted.value=""; var txt=document.Encrypt.normal.value; var net=""; var fin=0; if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i++) { fin=txt.charCodeAt(i)+len; if(fin>99) { net=net+fin; } else { net=net+'0'+fin; } } document.Encrypt.Encrypted.value=net; document.Encrypt.normal.value=""; } else { alert('Please Enter the Text to be Encrypted'); document.Encrypt.normal.focus(); } } } function Decryption() { var txt=document.Encrypt.Encrypted.value; var j=3; var temp1; var res=""; CalcKey(); if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i+=3) { var temp=txt.substring(i,j); temp1=(parseInt(temp)-len); var t=unescape('%'+temp1.toString(16)); if(t=='%d' || t=='%a') { res=res+' '; } else { res=res+t } j+=3; } document.Encrypt.normal.value=res; document.Encrypt.Encrypted.value=""; } else { alert('Please Enter the Encrypted Text'); document.Encrypt.Encrypted.focus(); } } } </script> </head> <body> <form name="Encrypt"> <p align="center"><font color="yellow"> [b]Enter Players ID # Below: that you want this message to be read by[/b] <input type="text" name="Key" size="20" maxlength="5"> <p align="center"> [b]Enter The Text Below and click on ENCRYPT:[/b]<font color="lightgreen"> <textarea rows="9" name="normal" cols="69">Enter here the Text to be Encrypted </textarea> <p align="center">[b]Copy the Below code when ENCRYPTED and send to the USER [/b]</p> <textarea rows="10" name="Encrypted" cols="69">Enter here the Code to be Decrypted.</textarea> <p align="center"> <input type="button" value="Encrypt" onclick="Encryption()"> <input type="button" value="Decrypt Message Now" onclick="Decryption()"> <input type="reset" value="Reset All"> </form> </body> </html> <? $h->endpage(); ?> Now call this file secretmess.php <?php require "globals.php"; ?> <head> <title>Message Decryption</title> <STYLE type="text/css"> <!-- BODY { scrollbar-face-color: #000000; scrollbar-highlight-color: #00FF00; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #00FF00; scrollbar-shadow-color: #000000; scrollbar-arrow-color: #FF3300; scrollbar-track-color: #000000; } --> </STYLE> <body bgcolor="#000000"> <center> <html> <head> <script language="JavaScript"> len=0; function CalcKey() { len=0; var temp=document.Encrypt.Key.value; for(i=0;i<temp.length;i++) { len=len+temp.charCodeAt(i); } if(len==0) { alert('The ID # You Entered Doesnt respond to the ID # Stored'); document.Encrypt.Key.focus(); } return len; } function Encryption() { CalcKey(); document.Encrypt.Encrypted.value=""; var txt=document.Encrypt.normal.value; var net=""; var fin=0; if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i++) { fin=txt.charCodeAt(i)+len; if(fin>99) { net=net+fin; } else { net=net+'0'+fin; } } document.Encrypt.Encrypted.value=net; document.Encrypt.normal.value=""; } else { alert('Please Enter the Text to be Encrypted'); document.Encrypt.normal.focus(); } } } function Decryption() { var txt=document.Encrypt.Encrypted.value; var j=3; var temp1; var res=""; CalcKey(); if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i+=3) { var temp=txt.substring(i,j); temp1=(parseInt(temp)-len); var t=unescape('%'+temp1.toString(16)); if(t=='%d' || t=='%a') { res=res+' '; } else { res=res+t } j+=3; } document.Encrypt.normal.value=res; document.Encrypt.Encrypted.value=""; } else { alert('Wrong window copy and paste your Code in the bottom window then click on Decrypt Message'); document.Encrypt.Encrypted.focus(); } } } </script> </head> <body> <form name="Encrypt"> <p align="center"><font color="yellow"> [b]Enter Your ID #: Below[/b] <input type="text" name="Key" size="20" maxlength="5"> <p align="center"> [b]Your Encrypted message will be visible here:[/b]<font color="lightgreen"> If the message Appears Garbled then you have either entered wrong ID #. <textarea rows="6" name="normal" cols="69">This Window will Show the Encrypted Message </textarea> <p align="center">[b]Place the Coding I sent to your Inbox here: and click on REVEAL MESSAGE [/b]</p> <textarea rows="6" name="Encrypted" cols="69">Copy & Paste message sent to your inbox Here.</textarea> <p align="center"> <input type="button" value="Reveal Message" onclick="Decryption()"> </form> </body> </html> <? $h->endpage(); ?> now add to smenu.php > [url='staff_secretmess.php']Secret Message[/url] Staff can create the secret messages but users can only read them
-
Re: So many of one? I gotta say ;) i havent seen a site yet that comes close to what CE has achieved be it a free or paid mod.. I personally like the idea of remakes from the same scripts added over and over gives you the opportunity to mix n match. an example of my scripts is that they are ALL related to one sort of a script already done by MCC The staff_users script has to be one of the most re-modded scripts on here.
-
Ever wanted to expand your game or even make a Tournament system. this addon will let you do just that you can invite other MCC websites to your site to Participate in Tournaments. from your game... Download... http://kmleague.net/ set it up and start inviting others for competitions... This has got to be better than just having a normal game ;)
-
[MOD] V2 Theme Changer as Promised 96% completed
Uridium replied to Uridium's topic in Free Modifications
Re: [MOD] V2 Theme Changer as Promised 96% completed I was hoping i wouldnt have to go as far as contacting his host and that this could be settled amicably i will how ever give grace of 24 hours before i decide what to do. -
[MOD] V2 Theme Changer as Promised 96% completed
Uridium replied to Uridium's topic in Free Modifications
Re: [MOD] V2 Theme Changer as Promised 96% completed I visited your website and found that your selling my attack image and theme creator although this was a free mod i must stress that it was NOT intended to be SOLD. the theme creator also has exerts from KILLAH aswell as script work from myself..... I want all my Mods that your are selling from your ste to be REMOVED from any package... -
Re: MCcodes V2 status mod nice one :) +1 from meeeeeeeeeeeeeeeeeeeeeeeeeee :)
-
Re: [mccode v2] Anolog Clock Why do you have to get involved everytime... didn't you leave? need more attention or something? JOG ON mate But i though us 3 were in love ?? Youve shot me down in flames now im taking back the dress lol
-
Re: [mccode v2] Anolog Clock the sooner them two get married the better we will all be ;)
-
Re: [mccodes v2] Magic 8 Ball Stupid comments like this are what stop Scripters from progressing. regardless of what you think of it keep it to yourself..... +1 for the script from me though.. He's shown he can use initiative and invent ideas of his own.. Weldone :)
-
Re: Time to Guess Nynas Age ;) Damn thats a better way of thinking of a solution ;)
-
List or Characters.... Betty Wont Bety Will Major Asburn Herb Avore Dawson DeTowel E. Nuff Justin Case Kenny Doitt Yin Pain Kitt N. Caboodle Alfredo Heights Smart E. Pants Kay O'Pectate Saul E. Terry Justin Time Adam Muhway May T. Surprise Sid Downe Allan Sundry Ann Thrax Farrah Mones Sue Prize Beau N. Arrow Robin Banks Polly Ester Andy Gravity Rocco Gibraltar Eva Ready Hazel Nutt Jacques Strap Clara Nett Terry Bull Eileen Dover Suppose i'll start the story you have to use at least one or more names from the list above in your story and most continue from where the last postee ended... amke sure you BOLD any names used for easy referemce The story begins Betty Wont was a very timid female although she was short sighted she could tell Robin Banks was up to no good.............................
-
Re: Time to Guess Nynas Age ;) Did she pay you too type that ;)
-
Re: Time to Guess Nynas Age ;) Think man Think lol
-
Re: Time to Guess Nynas Age ;) well she mentioned some time ago she coded duriing the early 80s so im kinda flucuating at about 45
-
Re: DJ Control Center That is quite true regards the Pass the Parcel script but i think you can understand that in comparrison to the DJcenter the Pass The Parcel was a lot more difficult and aquired alot more functions than the DJcenter.. The Djcenter uses a totally different approach And i quite Basic...
-
Re: DJ Control Center $25.00 Full Package includes any Updates i make or $35.00 if you want me too install it for you... contact me on [email protected] Paypal Addy [email protected]
-
Re: DJ Control Center DJ chat system is now working and added to the zip will install link for those that wish to test it when they login in via the test I will launch this MOD once im happy everything is running correctly and that ive added updates that are needed.... you can use these links to check the members view from ingame www.slave-traders.net/trackrequests.php www.slave-traders.net/timetable.php
-
Re: DJ Control Center Ok ive created a test site for you to try it out http://www.slave-traders.net/DJcenter/ use dropdown to select test password : test Admin Functions have been disabled on this test site....
-
Re: DJ Control Center View from ingame Request page From from Admin Center for Booking Slots View from Users ingame for DJ time tables...