vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How to create a new style? (https://vborg.vbsupport.ru/showthread.php?t=324780)

paradoxG(r)eek 03-21-2017 08:24 AM

How to create a new style?
 
Hello,

For first time I'm in need to build a custom style (vB3) and seems that I'm doing something wrong. What I had in mind is to download with a new name the default style and then work on it, or I was expected to find somewhere a "Duplicate style" option for default style.

Tried to download with new name the default style but it has nothing.

So the only way is to duplicate the original xml file?

Thank you for your help.

Chris

z3r0 03-21-2017 09:27 AM

1 Attachment(s)
I'm not quite sure what you are asking for, however is you just want to make a new fresh style based on the master template then click add new style from the bottom of the style manager page.

Attachment 156056

Alternatively, you can make a child style from the default.

Attachment 156058

paradoxG(r)eek 03-21-2017 11:17 AM

Quote:

Originally Posted by z3r0 (Post 2584145)
I'm not quite sure what you are asking for, however is you just want to make a new fresh style based on the master template then click add new style from the bottom of the style manager page.

Attachment 156056

Alternatively, you can make a child style from the default.

Attachment 156058

Yes, this is what I want, have tried both cases, but when I tried to download the new created styles the xml files were almost empty. Here is the only content in the xml.file
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<style name="Default Style" vbversion="3.8.10" product="vbulletin" type="custom">
        <templategroup name="StyleVar Special Templates">
                <template name="outertablewidth" templatetype="stylevar" date="1490028831" username="ChrisTERiS" version=""><![CDATA[1170]]></template>
        </templategroup>
</style>


z3r0 03-21-2017 12:56 PM

1 Attachment(s)
A custom style is only the changed templates that differ from the master style, if you want to get the full theme then you will need to put your site into debug mode and the master style will appear at the top of your style list, you will be able to download the full style there.


Attachment 156060

paradoxG(r)eek 03-21-2017 02:09 PM

Quote:

Originally Posted by z3r0 (Post 2584153)
A custom style is only the changed templates that differ from the master style, if you want to get the full theme then you will need to put your site into debug mode and the master style will appear at the top of your style list, you will be able to download the full style there.

Thank you. I'll try it.


All times are GMT. The time now is 09:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01073 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete