vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   New style - ignoring stylevars and using only CSS - possible? (https://vborg.vbsupport.ru/showthread.php?t=244805)

Retal 06-17-2010 02:53 PM

New style - ignoring stylevars and using only CSS - possible?
 
I want to do a redesign of our forum. Most webdesigners and coders don't understand the vB stylevars system. They however know CSS very well of course.

Is it possible to create a new style based purely on CSS files, without the need to tamper with the stylevars?

In other words:
Is it possible for a non-vB designer to create a new vB style?

Thank you for any advice.

Retal 06-19-2010 10:07 AM

Any knowledgeable designers here to help me?

dartho 06-23-2010 10:01 PM

Yes - just create your CSS file and reference it in all templates rather than the current CSS links in them

Rafa-el 06-24-2010 05:33 PM

Yes, is possible, but if you do that will be a real pain to upgrade and also perform the changes will take more time than using stylevars IMO.

Just add your CSS into the CSS Templates. replacing all the content of the stylevars vars, but as I said is very time waster do that, prefferable read about the vB stylevar system.

Retal 06-25-2010 10:17 AM

Hello guys, thank you for your answers. I have already delved into the CSS templates and noticed that we could simply replace all stylevar references with fixed directives.

Rafael, how would it make the upgrades harder? Does CSS change between small versions (4.0.x or 4.x)?
I can see how any HTML change in the style makes upgrades harder, but not really how CSS affects this.

Attitude5ire 06-26-2010 07:42 PM

You would have to replace pretty much every CSS template as Stylevars are extensively coded into CSS. Would indeed make each upgrade difficult incase you revert templates as mostly the fixes for 4.0.x versions are through css.

Definately not recommended to remove stylevars jus yet. I do believe Stylevars will be sharpend and made much potent in coming version.

Rafa-el 06-26-2010 09:07 PM

Quote:

Originally Posted by Retal (Post 2059309)
Rafael, how would it make the upgrades harder? Does CSS change between small versions (4.0.x or 4.x)?
I can see how any HTML change in the style makes upgrades harder, but not really how CSS affects this.

Because since the CSS will be hardcoded into the skins and if a CSS template had changed you will need to update that skin and merge the changes wich will be a pain in Very complex skins. Also you will have to update if there're new stylevars or stylevar changes.

Not recommended.

Retal 06-27-2010 12:08 PM

Thank you all!
Are there any safe guidelines as for the HTML?
When you guys change HTML in your styles, what do you pay attention to?

Or should I say to our designer: Do the redesign, but don't touch the HTML?

fxwoody 06-27-2010 01:57 PM

I don't like this new Stylevars function obviously! Tho, i guess it was purposed to make us "non-designer" having a hard time modifying the look!?
I had to add some CSS in my site in order to tweak it as i wanted, but at the end, from my test site to the main site, the transfer has been having some strange effects on it! lol
Could there be an explanation/manual on how to create our own stylevars codding ????
Or do we only have the choice to stick to regular CSS????

Retal 06-27-2010 08:15 PM

Fxwoody, please don't derail my thread. Open your own to ask those questions (though admittedly I think those are good questions).


All times are GMT. The time now is 06:23 AM.

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.00990 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete