Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > xBTiT
Reply
  #1  
Old 7th September 2011, 01:19
ronalniko ronalniko is offline
Member
 
Join Date: Sep 2011
Bulgaria
Posts: 5
Default problem with Theme/ and language/
Hello, i have a little problem i`m trying to change language and the style , but when i change the style with another , still stayed the same.... the same is the language also? how i can fix this think?
Reply With Quote
  #2  
Old 7th September 2011, 09:32
zhoutai zhoutai is offline
Senior Member
 
Join Date: Jul 2011
Saudi Arabia
Posts: 19
Default
Quote:
Originally Posted by ronalniko View Post
Hello, i have a little problem i`m trying to change language and the style , but when i change the style with another , still stayed the same.... the same is the language also? how i can fix this think?
you have Xbtit 2.2.2


Code:
Open Index.php

Find
if (empty($_SESSION['user']['style_url']))
Replace with
if (empty($_SESSION['CURUSER']['style_url']))

Find
$_SESSION['user']['style_url']=$STYLEURL;
Replace with
$_SESSION['CURUSER']['style_url']=$STYLEURL;


Find
$_SESSION['user']['style_path']=$STYLEPATH;
Replace with
$_SESSION['CURUSER']['style_path']=$STYLEPATH;

Find
$STYLEURL=$_SESSION['user']['style_url'];
Replace with
$STYLEURL=$_SESSION['CURUSER']['style_url'];

Find
 $STYLEPATH=$_SESSION['user']['style_path'];
Replace with
$STYLEPATH=$_SESSION['CURUSER']['style_path'];


Find
if (empty($_SESSION['user']['language_path']))
Replace with
if (empty($_SESSION['CURUSER']['language_path']))

Find
$_SESSION['user']['language_path']=$USERLANG;
Replace with
$_SESSION['CURUSER']['language_path']=$USERLANG;

Find
$USERLANG=$_SESSION['user']['language_path'];
Replace with
$USERLANG=$_SESSION['CURUSER']['language_path'];

i try Xbtit 2.2.1 and Xbtit 2.2.2

Xbtit 2.2.1 Better
Reply With Quote
  #3  
Old 12th September 2011, 23:57
ronalniko ronalniko is offline
Member
 
Join Date: Sep 2011
Bulgaria
Posts: 5
Default
yes, i install xbtit 2.2.1 and the problem was fixed, thank u buddy :)
Reply With Quote
Reply

Tags
language or , problem , theme or

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 15:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.