Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=97)
-   -   Changing the design from usermenu (http://www.bvlist.com/showthread.php?t=868)

kp380lv 20th August 2008 12:29

Changing the design from usermenu
 
Mod for YSE PRE 6

This is Theme changer the same have used in PRE 7 for BoLaMn;)

The user at any time can change the design from Tracker userbar. Used to whom this little known place in functions.php

In stdhead.php your theme, for example, after

Code:

show_blocks("l");
Insert:

Code:

//change style - by qwertzuiop
if($CURUSER){
$qstyle = sql_query("SELECT id, name FROM stylesheets ORDER by id DESC") or die;
while ($styles = mysql_fetch_array($qstyle)) {
  $id = $styles["id"];
  $name = $styles["name"];

$styleopt .= "";
}
$stylechanger = "";
}
//////////////////////////////////


below, for example, after find:

Code:

        ".$tracker_lang['your_ip'].": " . $_SERVER["REMOTE_ADDR"] . "
Insert:

Code:

Тheme:
$stylechanger



All times are GMT +2. The time now is 14:13.

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