Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   How to change theme to default (http://www.bvlist.com/showthread.php?t=10827)

Floky123 28th April 2016 15:18

How to change theme to default
 
Hi all, i use V3 version and i downloaded some nice theme.. this: http://forum-u-232.servebeer.com/ind...pic,897.0.html

How can i make it default and delete default theme of v3? anyone can help me?

:sos: Thanks..

DND 28th April 2016 15:50

from include/config.php
$INSTALLER09['stylesheet'] = X;
X - NUMBER OF YOUR STYLESHEET

or from mysql itself, users table, stylesheet field, set DEFAULT to the number of the stylesheet you have

you can get the stylesheet number from your templates folder;number of folder is number of stylesheet
remember to flush memcache

Floky123 30th April 2016 13:30

Quote:

Originally Posted by DND (Post 48772)
from include/config.php
$INSTALLER09['stylesheet'] = X;
X - NUMBER OF YOUR STYLESHEET

or from mysql itself, users table, stylesheet field, set DEFAULT to the number of the stylesheet you have

you can get the stylesheet number from your templates folder;number of folder is number of stylesheet
remember to flush memcache

Thank you man :D

fireknight 30th April 2016 13:49

Quote:

Originally Posted by DND (Post 48772)
from include/config.php
$INSTALLER09['stylesheet'] = X;
X - NUMBER OF YOUR STYLESHEET

or from mysql itself, users table, stylesheet field, set DEFAULT to the number of the stylesheet you have

you can get the stylesheet number from your templates folder;number of folder is number of stylesheet
remember to flush memcache

Nice and simple to follow instructions.
Really nice to see.
Well posted mate. :drink:

Floky123 1st May 2016 22:05

Quote:

Originally Posted by DND (Post 48772)
from include/config.php
$INSTALLER09['stylesheet'] = X;
X - NUMBER OF YOUR STYLESHEET

or from mysql itself, users table, stylesheet field, set DEFAULT to the number of the stylesheet you have

you can get the stylesheet number from your templates folder;number of folder is number of stylesheet
remember to flush memcache

I have now this problem in login:

This page contains the following errors:
error on line 45 at column 115: attributes construct error
Below is a rendering of the page up to the first error.


LINK: http://sibits.si

DND 1st May 2016 22:07

design error of the template.

Floky123 1st May 2016 22:32

Quote:

Originally Posted by DND (Post 48799)
design error of the template.

Do you know or someone maybe how to FIX? because i don't know what to do anymore.. :/

Napon 1st May 2016 22:49

Quote:

Originally Posted by Floky123 (Post 48800)
Do you know or someone maybe how to FIX? because i don't know what to do anymore.. :/

Go tools themes and press remove all themes but not the default only keep the one you have only that fix it

Joe 2nd May 2016 05:20

The trouble you are having is that the default theme is not the same as the others. It has hidden content to make the site run on it. First off you need to get your code the way you want it then we can help you sort out a theme..

Bro I have made over 100 theme or so for all u-232 code. Second I can fix those errors if need to be BUT you need to get your server sorted and the default theme in place then I can show you how to make the rest work..

// u232 designer.

ArcticWolf 16th May 2016 00:16

I dont know the theme you using but an round about way is change it from xhtml to html5 atleast for the header.
find
Code:

    if (isset($INSTALLER09['xhtml_strict'])) { //== Use strict mime type/doctype
    //== Only if browser/user agent supports xhtml
    if (isset($_SERVER['HTTP_ACCEPT']) && stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml') && ($INSTALLER09['xhtml_strict'] === 1 || $INSTALLER09['xhtml_strict'] == $CURUSER['username'])) {
    header('Content-type:application/xhtml+xml; charset='.charset());
    $doctype =''.'     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.'';
    }
    }
    if (!isset($doctype)) {
    header('Content-type:text/html; charset='.charset());
    $doctype = ''.'';
    }

replace with
Code:

/*
    if (isset($INSTALLER09['xhtml_strict'])) { //== Use strict mime type/doctype
    //== Only if browser/user agent supports xhtml
    if (isset($_SERVER['HTTP_ACCEPT']) && stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml') && ($INSTALLER09['xhtml_strict'] === 1 || $INSTALLER09['xhtml_strict'] == $CURUSER['username'])) {
    header('Content-type:application/xhtml+xml; charset='.charset());
    $doctype =''.'     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.'';
    }
    }
*/
    if (!isset($doctype)) {
    header('Content-type:text/html; charset='.charset());
    $doctype = ''.'';
    }

saves you countless hours debugging the theme to figure why xhtml errors out.


All times are GMT +2. The time now is 12:29.

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