 |
 |
 |
 |
#248727 - 03/14/04 09:10 PM
Re: Beta-[6.2-6.3-6.4] Game Arcade 1.1
[Re: 234234]
|
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
|
<br />heres a tidbit I tried it and it locks it down<br /><br />in all the games <insertgametitle>.php<br /><br />#<br />#find <br />#<br /><br />if (($anonplay) && (!$user['U_Username'])) {<br /><br />#<br />#change to<br />#<br /><br />if (($anonplay) && (!$user['U_Username']) || ($user['U_Username'] == '')) {<br /><br /><br />and in gameindex.php<br /><br />#<br />#find<br />#<br /> $html = new html;<br /> $html -> send_header($pagetitle,$Cat,0,$user);<br /><br />#<br />#and change to<br />#<br /><br /> $html = new html;<br />// ----------------------------------------------------------------------<br />// If we are not logged in, then present a log on form, otherwise present<br />// a menu of options.<br />if(($user['U_Username'] == ''))<br /> {<br /> $config['iip_call'] = 1;<br /> $html -> not_right ("{$ubbt_lang['ADMOD_ONLY']}",$Cat);<br /> }<br /> $html -> send_header($pagetitle,$Cat,0,$user);<br /><br />[b]the above code also works in the genericpage.php that is posted on this site and pretty much locaks them down in they aren't logged in
_________________________
Couchtomatoe - www.couch-tomatoe.ccMy abilities are for hire for installs, upgrades, custom themes and custom modifications.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|