
Isomerizer
Members-
Posts
1,170 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Isomerizer
-
I got it from Sainsbury's when it was £26. I think the cheapest you'll get it now is from £38-£45
-
Looking to create / join a COD4 MW2 clan (ps3), preferably with headsets and in UK (GMT+0) timezone. Anyone playing?
-
Piracy will allways be an issue in software distribution, I know of several people selling my mods without permission. I will not name these guys as their petit rep on here is worth more then their own life.
-
Damn, how time flys! Been here almost 3 and a half years. ^^
-
New pack added, Prices slightly reduced!
-
RE: factions I'll give it a shot, please PM me with your contact details and the pay if the job is still open.
-
Good luck, looking forward to seeing the re-opening of Amazon-Survival ! :)
-
How long did you apply pressure? And what did you use, your fingertip?
-
I have recently purchased a 22" ViewSonic monitor, as soon as I turned it on I noticed a broken bright lime green pixel. I've tried various software such as JPixel and UDPixel, both unfortunately failed after running for 2 hours+. I've also tried such methods as applying pressure, screen reset, tapping, yet again none work. Has anyone ran into the problem before, and has anyone succeeded in restoring a broken (not dead) pixel? Any tips/methods would be appreciated.
-
Re: Best Band Fast Food Rockers.
-
Re: [V1][V2] 50/50 Chance Mod. Free Version Old as hell topic... I posted a free version of the 50 50 about a year ago, this one should be bug free: http://criminalexistence.com/ceforums/i ... ic=25439.0
-
Re: Cock Fight [$10] Sent to both of you guys, thanks for the purchase.
-
Re: Cock Fight [$10] Sent to your email. :-)
-
Re: Magazine Cover Spot on, and yeah I agree with you, didn't enjoy the graphics unit too much.
-
Re: [mccodes] Board Game [$15] Thanks for the purchase & bump firecamp. Never had this problem before, but oh wait, the guys i've sold this too, can actually manage uploading files to a server without getting confused :? . Oh and don't post my mods on here, you fail, enjoy ya post ban.
-
Re: Magazine Cover With new iPod photos being taken and edited, I managed to pass my graphics unit with this piece of work. :D
-
Re: Class Problem Not 100% sure on this, but couldn't you try extending the user class to include database class... So something like this... class User extends DatabaseClass { protected $id; public function getDetails() { $this->id = (int) $_SESSION['user_id']; $query = 'SELECT `Username` FROM `' . DBPREFIX . 'users` WHERE `ID` = ' . $this->qstr ( $id ) ; $this->username = "dave"; return true; } }
-
Re: [mccodes v2] Poll Modificaton Well, it all comes down to security... Public - Can be used anywhere, any class, anywhere on the server. Private - Can only be used / viewed in the class its defined in. Protected - Limited access can only be used by class its defined in or parent class. Basically, If you try to use a function / var outside the class that's private or protected, your gonna error. Unless it's defined in a function inside the class. I'm not 100% sure if I'm correct however, as I'm fairly new to PHP OOP.
-
Re: [mccodes v2] Poll Modificaton It's just a function in the class that's public (can be used anywhere), they're 3 types. Public, private, protected. More info here: http://uk3.php.net/manual/en/language.o ... bility.php Using public before the function is not required, as it will be defined as public if nothing is declared. But it's my personal preference. :P
-
Haven't created a free mod in a while, so his my contribution to the forum. 1. Create a new file called poll.php with the following code: <?php /* DBS - Poll Mod Developed by Isomerizer.com Free Modification. */ require_once("globals.php"); class _poll extends headers { public function _back() { echo ' [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; exit($this->endpage()); } public function _fetchUser($col, $user) { $SQL = sprintf("SElECT %s FROM `users` WHERE `userid` = %u", mysql_real_escape_string($col), $user); $exe = mysql_query($SQL); return mysql_fetch_array($exe); } public function _fetchPoll($col) { $SQL = sprintf("SELECT %s FROM `poll`", $col); $exe = mysql_query($SQL); return mysql_fetch_array($exe); } public function _index() { $user = $this->_fetchUser('user_level', $_SESSION['userid']); $poll = $this->_fetchPoll('*'); if ($user['user_level'] == 2) { echo sprintf('[b][url="%s?x=admin"][Admin Panel][/url][/b] ', $_SERVER['PHP_SELF']);; } if (empty($poll['ID'])) { echo 'No poll running atm.'; $this->_back(); } if (time() > $poll['end'] && $user['user_level'] != 2) { echo 'The Poll has ended!'; } else { $ended = (time() > $poll['end']) ? '<font color="red">The Poll has Ended</font>' : ''; echo sprintf('%s <table width="300px"> <tr><td> [b]Question: %s [/b]</td></tr> <tr><td> %s [img=poll.gif]</td><td> %u </td><td> [url="%s?x=vote&ID=1"][Vote][/url]</td></tr> <tr><td> %s [img=poll.gif]</td><td> %s </td><td> [url="%s?x=vote&ID=2"][Vote][/url]</td></tr> <tr><td> %s [img=poll.gif]</td><td> %s </td><td> [url="%s?x=vote&ID=3"][Vote][/url]</td></tr> <tr><td> %s [img=poll.gif]</td><td> %s </td><td> [url="%s?x=vote&ID=4"][Vote][/url]</td></tr> <tr><td> Ends: %s</td></tr> </table>', $ended, $poll['question'], $poll['1'], ($poll['1_r'] * 5), $poll['1_r'], $_SERVER['PHP_SELF'], $poll['2'], ($poll['2_r'] * 5), $poll['2_r'], $_SERVER['PHP_SELF'], $poll['3'], ($poll['3_r'] * 5), $poll['3_r'], $_SERVER['PHP_SELF'], $poll['4'], ($poll['4_r'] * 5), $poll['4_r'], $_SERVER['PHP_SELF'], date('Y-m-d', $poll['end'])); } } public function _vote() { $poll = $this->_fetchPoll('*'); if (time() > $poll['end']) { echo 'Poll has ended!'; $this->_back(); } $check_SQL = sprintf("SELECT `ID` FROM `poll_votes` WHERE `userid` = %u", $_SESSION['userid']); $check = mysql_fetch_array( mysql_query($check_SQL) ); if (!empty($check['ID'])) { echo 'You have already voted!'; $this->_back(); } $ID = ($_GET['ID'] < 1 || $_GET['ID'] > 4) ? 0 : $_GET['ID'].'_r'; $SQL = sprintf("UPDATE `poll` SET `%s` = `%s` + 1", $ID, $ID); mysql_query($SQL); $SQL_insert = sprintf("INSERT INTO `poll_votes` (`ID`, `userid`, `option`) VALUES (NULL, %u, %u)", $_SESSION['userid'], $ID); mysql_query($SQL_insert); echo sprintf('You have successfully voted for option %u !', $ID); $this->_back(); } public function _admin() { if (isset($_POST['submit'])) { $check = $this->_fetchPoll('ID'); if (!empty($check['ID'])) { echo 'Error - A poll already exists!'; $this->_back(); } $end_timestamp = time() + ((preg_match('[^0-9]', $_POST['end'])) ? 1 : $_POST['end'] * 24 * 60 * 60); $SQL = sprintf("INSERT INTO `poll` (`ID`, `question`, `1`, `2`, `3`, `4`, `1_r`, `2_r`, `3_r`, `4_r`, `end`) VALUES (NULL, '%s', '%s', '%s', '%s', '%s', 0, 0, 0, 0, %u)", mysql_real_escape_string($_POST['question']), mysql_real_escape_string($_POST['1']), mysql_real_escape_string($_POST['2']), mysql_real_escape_string($_POST['3']), mysql_real_escape_string($_POST['4']), $end_timestamp); mysql_query($SQL) OR die('Error Inserting Poll'); echo 'Poll Created Successfully'; $this->_back(); } elseif (isset($_GET['del']) && $_GET['del'] == 1) { mysql_query("TRUNCATE TABLE `poll`"); mysql_query("TRUNCATE TABLE `poll_votes`"); echo ' Poll Deleted'; $this->_back(); } else { echo sprintf('<table> <tr> <td>Create a Poll...</td></tr> <tr><td> <form action="%1$s?x=admin" method="POST"> Question: </td><td> <input type="text" name="question" /></td></tr> <tr><td> Option 1: </td><td> <input type="text" name="1" /></td></tr> <tr><td> Option 2: </td><td> <input type="text" name="2" /></td></tr> <tr><td> Option 3: </td><td> <input type="text" name="3" /></td></tr> <tr><td> Option 4: </td><td> <input type="text" name="4" /></td></tr> <tr><td> End In: </td><td> <input type="text" name="end" />(days)</td></tr> <tr><td> <input type="submit" name="submit" value="Create" /> </form> [url="%1$s?x=admin&del=1"][b][Delete current Poll][/b][/url] </td> </tr> </table>', $_SERVER['PHP_SELF']); } } } $po = new _poll(); echo '<h1>Poll</h1> '; switch($_GET['x']) { case 'vote': $po->_vote(); break; case 'admin': $po->_admin(); break; default: $po->_index(); break; } ?> 2. Under phpmyadmin run this SQL: CREATE TABLE `poll` ( `ID` INT( 25 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `question` VARCHAR( 255 ) NOT NULL , `1` VARCHAR( 255 ) NOT NULL , `2` VARCHAR( 255 ) NOT NULL , `3` VARCHAR( 255 ) NOT NULL , `4` VARCHAR( 255 ) NOT NULL , `1_r` INT( 25 ) NOT NULL , `2_r` INT( 25 ) NOT NULL , `3_r` INT( 25 ) NOT NULL , `4_r` INT( 25 ) NOT NULL , `end` INT( 25 ) NOT NULL ) ENGINE = MYISAM CREATE TABLE `poll_votes` ( `ID` INT( 25 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `userid` INT( 25 ) NOT NULL , `option` ENUM( '1', '2', '3', '4' ) NOT NULL ) ENGINE = MYISAM 3. Save this image and upload to server. Hope it comes in handy, I know there is a poll system that comes with the mccodes, but I herd it sucks and it seems everything is being recoded lately. :wink: Demo: www.isomerizer.com/demo/poll.php (user: demo, pass: demo)
-
Re: Cock Fight [$10] I've sent the mod to your paypal email, Thanks!
-
Automatically returns to inventory after equipping
Isomerizer replied to furn355's topic in Free Modifications
Re: Automatically returns to inventory after equipping Ah ok, good work. -
Automatically returns to inventory after equipping
Isomerizer replied to furn355's topic in Free Modifications
Re: Automatically returns to inventory after equipping Let me get this right... You equip an item during an attack, and it redirects you back to inventory? Won't this cause you to run away from the fight? Does the default mccodes even allow equipping of items during an attack? I just don't get it.... :? -
Re: Rock, Paper, Scissors [$10] Bump. 1 sale so far... :cry:
-
Re: Magazine Cover It had some requirements, and them scanned images needed to be included.