
Re: [Release] Theme Rijeka
i m sorry....
but here also need to be patched ...
so :
Replace all the script in rc_limun/xs.cfg.
<?php
global $bot_name, $board_config, $lofi_bots_parsing;
// Lo-Fi And Bots - BEGIN
$browser = isset($_SERVER['HTTP_USER_AGENT']) ? trim($_SERVER['HTTP_USER_AGENT']) : '';
$ip_address = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '';
$bot_name = bots_parse($ip_address, $board_config['bots_color'], $browser);
/*
$board_config['lofi_bots'] = true;
$bot_name = 'Mighy Gorgon';
$_COOKIE['lofi'] = 1;
*/
if(isset($_GET['lofi']))
{
@setcookie('lofi', intval($_GET['lofi']), time() + 31536000);
$_COOKIE['lofi'] = intval($_GET['lofi']);
}
$replace['index_body.tpl'] = 'xs/xs_index.tpl';
$replace['viewtopic_body.tpl'] = 'xs/xs_topic.tpl';
$replace['jumpbox.tpl'] = 'xs/jumpbox.tpl';
$lofi_bots_parsing = false;
$lofi_bots_path = '';
$lofi_bots_suffix = '';
if( ($bot_name != false) && ($board_config['lofi_bots'] == true) )
{
@setcookie('lofi', 1, time() + 31536000);
$lofi_bots_parsing = true;
$lofi_bots_path = 'bots/';
$lofi_bots_suffix = 'bots_';
}
if( (!empty($_COOKIE['lofi'])) || ( $lofi_bots_parsing == true ) )
{
$replace['overall_header_limun.tpl'] = 'lofi/' . $lofi_bots_path . 'lofi_' . $lofi_bots_suffix . 'header.tpl';
$replace['overall_footer_limun.tpl'] = 'lofi/' . $lofi_bots_path . 'lofi_' . $lofi_bots_suffix . 'footer.tpl';
$replace['index_body.tpl'] = 'lofi/' . $lofi_bots_path . 'lofi_' . $lofi_bots_suffix . 'index.tpl';
$replace['viewforum_body.tpl'] = 'lofi/' . $lofi_bots_path . 'lofi_' . $lofi_bots_suffix . 'forum.tpl';
$replace['viewtopic_body.tpl'] = 'lofi/' . $lofi_bots_path . 'lofi_' . $lofi_bots_suffix . 'topic.tpl';
$replace['memberlist_body.tpl'] = 'lofi/lofi_memberlist.tpl';
$replace['groupcp_info_body.tpl'] = 'lofi/lofi_groupcp_info.tpl';
$replace['groupcp_user_body.tpl'] = 'lofi/lofi_groupcp_user.tpl';
$replace['privmsgs_body.tpl'] = 'lofi/lofi_pm.tpl';
$replace['privmsgs_read_body.tpl'] = 'lofi/lofi_pm_read.tpl';
$replace['posting_topic_review.tpl'] = 'lofi/lofi_topic_review.tpl';
}
// Lo-Fi And Bots - END
?>
or download here complete
please
MG when you have time , replace in downloads that one with this
Thanks and sorry
____________
We are the
phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!