Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   xBTiT (http://www.bvlist.com/forumdisplay.php?f=30)
-   -   problem with Theme/ and language/ (http://www.bvlist.com/showthread.php?t=6959)

ronalniko 7th September 2011 01:19

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?

zhoutai 7th September 2011 09:32

Quote:

Originally Posted by ronalniko (Post 29902)
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

ronalniko 12th September 2011 23:57

yes, i install xbtit 2.2.1 and the problem was fixed, thank u buddy :)


All times are GMT +2. The time now is 16:41.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.