-
Posts
2,667 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
Your welcome :)
-
change $cnt_h = $db->query('SELECT `hID` FROM `houses` WHERE `hID` = '.$_POST['ID']); to on line 54 $cnt_h = $db->query('SELECT `hID` FROM `houses` WHERE `hID` = '.$_POST['id']);
-
if your like me and hate Underlined links the open up the css from your template and change a:visited,a:active,a:hover,a:link { color: #000000; text-decoration: underline; } to a:visited,a:active,a:hover,a:link { color: #000000; text-decoration: none; }
-
On the REDUX its possible for admins to change game theme However users cant so this Mod will let you do that.. Open up Global/header.php right at bottom find $htmlcontent['game']=ob_get_clean(); include "template/{$set['game_template']}/template.php"; Overwrite with this one $htmlcontent['game']=ob_get_clean(); $q=$db->query("SELECT game_template FROM users WHERE userid=$userid"); $r=$db->fetch_row($q); include "template/{$r['game_template']}/template.php"; Now open up Mods/preferences.php add this is to the cases case 'template': template(); break; Same file add this Link to the rest of the links <a href='".gen_url('preferences',true)."&action=template'>Change Theme template</a><br /> scroll down page to the last >> $h->endpage(); and just below it add function template() { global $db,$ir,$c,$h,$userid,$set; $templates = glob('template/*' , GLOB_ONLYDIR); $_POST['game_template'] = ( isset($_POST['game_template'])&&in_array('template/'.$_POST['game_template'],$templates) )?$_POST['game_template']:''; if ( $_POST['game_template'] ) { if ( $_POST['game_template'] === $r['game_template'] ) { echo 'You cannot change the template to the existing template.<br />> <a href="'.gen_url('preferences',true).'">Goto Main</a>'; die($h->endpage()); } $db->query("UPDATE `users` SET `game_template` = '".$_POST['game_template']."' WHERE `userid` = $userid"); echo 'Template successfully update.<br />> <a href="'.gen_url('preferences',true).'">Goto Main</a>'; } else { echo ' <form action="'.gen_url('preferences',true).'&action=template" method="post"> <table class="table" cellpadding="1" cellspacing="1" width="55%"> <tr> <th colspan="2">Change Template</th> </tr> <tr> <th>Template</th> <td><select name="game_template">'; foreach ( $templates as $key => $value ) { $the_value = substr($value, 9); $selected = ($ir['game_template']==$the_value)?'SELECTED':''; echo '<option value="'.$the_value.'" '.$selected.'>'.ucwords($the_value).'</option>'; } echo '</select></td> </tr> <tr> <th colspan="2"><input type="submit" value="Change Template" /></th> </tr> </table> </form> '; } } now goto your templates folder with the named folders inside and edit each template.php overwriting <link href="template/<?php echo $set['game_template']; ?>/template.css" type="text/css" rel="stylesheet" /> </head> Updating with this one <?PHP $q=$db->query("SELECT game_template FROM users WHERE userid=$userid"); $r=$db->fetch_row($q);?> <link href="template/<?php echo $r['game_template']; ?>/template.css" type="text/css" rel="stylesheet" /> </head> add a new field to the users table called game_template VARCHAR(255) NOT NULL default = "Default"; Now your users can enjoy all your themes.....
-
On my version if made it possible for users to select the Theme they want rather than the admin doing it will Post in new thread when fully tested
-
Overall nice layout nice usage of the admin panel found a few Bugs though with the help of Rulerofzu 1 = Admin panel View user inventory should have a text based search aswell as a dropdown 2 = Anywhere on the staff panels with a dropdown should also have a text based search 3 = Admin can change the game theme I noticed in Prefs that users cant 4 = Created a Test Poll Cant find a link for users to actually see the poll ? 5 = stafflist says im offline when im online 6 = Underlined links from themes id change to none looks better 7 = Attack when no weapons equipped cant attack yet theres mention of hands ? 8 = Users evading attacks by URL or back button should be placed back in attack rather than losing EXP 9 = Sort out the Spelling Errors IE on newspaper prehaps should be perhaps changing of staff passwords says "NOT" instead of "NOTE" 10 = Get rid of mentions of Users profit and gains from userlist and staff, Users who know what users have will continously attack that users rendering the game unfair. 11 = Missing forum images from images folder pin/lock/delete images and a default avatar 12 = Cannot Create a/an new Item with zero sell price 13 = When sending an Email if incorrect then page graphics arnt displayed only on a white screen.... 14 = No delete function for sent Mail. 15 = Hospital count doesnt work in the main menu. 16 = Reporting a player....a player can be reported but the admin gets no notification and there is no link anywhere to see reports 17 = Create a gang from Explore page if insufficient funds to create gang white page is shown no graphics... 18 = staff credit user you cannot credit money and points at the same time I just tried and it says $0 and 1000 points 19 = friendslist says MOST HATED instead of MOST LIKED... 20 = When withdrawing 0 from bank >> You ask to withdraw 0, the banking lady grudgingly hands it over. You now have $0 in the bank. 21= jobs create a job and a promotion and then try and get promoted query error 22 = if i try and donate to my gang works with crystals but not with cash says invalid amount and then when i try and give myself back 10 points it says invalid amount
-
Ive just got a copy of Redux I noticed when changing any passwords for admin/sec/ass if i just wanted to change Admin pass i cant i have to change the whole lot which to me is quite silly especially when it dont even tell you the Orig pass to begin with. Why not make a dropdown and lwet the admin decide which pass they want to change instead of changing the whole 3 Infact ignore this just realised it writes to create a file for the passwords
-
I cant even load the pages Teath listed my malware progam seems to think its malicious It probably isnt but it blocked it anyway 16:19:21 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:27 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:33 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:36 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:42 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:30 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:33 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:39 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:51 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:54 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:21:00 Dad IP-BLOCK 46.243.8.39 (Type: outgoing)
-
RulerofZu has a valid point there are WAYYYYYYYYYYYYY too many Mafia styled games and im afraid too say that a lot are of a very high standard even games with people coming out of jail and making something of themselves. Best idea i can give is dont look at a person in the game at face value look beyong them example if i asked everyone to write a story about horse racing i can guarantee that everyone would take the place of the jockey. me on the other hand would try to write it through the eyes of the horse instead :)
-
Kr3W care to share how you finally got it working incase this happens to others :)
-
so far weve had 3 new boards on MWG and over that time many posts from the CE period that users added as links no longer work so again they need attention
-
heres one ;) The Ecko Conspiracy
-
Is it me or is the MCC forums starting to get a bit Cluttered now that the redux is out should we have redux now as Priority and move MCC v2 to an older section. ?? Its kinda hard to help people when they ask for help and your entirely sure what version there using.
-
Only thing i can suggest is if you have an old Version of MCC try installnig that if that works then its a redux problem you may even be able to install using the old installer.php from the MCv2 version BUT DONT QUOTE ME ive never tried it
-
who is your host ? some hosts dont use LOCALHOST example Godaddy use a diff method
-
thing to ask. 1 = why the need of the losing of exp if user tries to change URL surely you could just add code to make them either finish the fight or runaway even when a URL is enetered
-
if your using mcc try adding global $db; above the SELECT statement usually thats the culprit.
-
Cheers Lucky that fixed the problem im getting too old for mods now lol
-
Looks pretty darn impressive :) weldone
-
Thats no help Lucky you should share then it saves me doing all the work lol
-
you can actually set up crons for mcc just use windows scheduler works the same as the cpanel Cronjobs
-
I should start using the SEARCH more would have saved me a lot of time lol
-
Ive done a dragndrop MCCv2 friends list its working to an extent but the ordering is a bit out will post what ive done and those that can cure the problem i would be greatful.. Will update this post with script when i get a minute spare thanks to Lucky for helping :)
-
Well damn more searching for links for me then
-
still finding links will update when i find them use this for now http://makewebgames.io/search.php?searchid=90593