vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Tamplate crashes after refresh. (https://vborg.vbsupport.ru/showthread.php?t=321004)

tim.liton 12-07-2015 08:47 PM

Tamplate crashes after refresh.
 
Hello guys.

Am using a template from here (free one) & the developer have encrypted his css.
I have made all changes via additional.css and are working great.
The only problem I have is that the template crashes after I refresh the page. After 2-3 refresh's it comes back to normal.

Any Idea how to fix it? Thank you guys!

RichieBoy67 12-07-2015 09:01 PM

Try turning off caching under style and language settings in the admincp and use the maintenance tool to rebuild styles.

tim.liton 12-07-2015 09:18 PM

Quote:

Originally Posted by RichieBoy67 (Post 2559924)
Try turning off caching under style and language settings in the admincp and use the maintenance tool to rebuild styles.

Thank you Richie but am not able to find caching option under Style and Language. Could you please explain it where to find it?

Thank you.

Dave 12-08-2015 07:44 AM

Encrypted his CSS? There's no such thing as CSS encryption.
All client sided code can easily be de-obfuscated.

tim.liton 12-08-2015 10:33 AM

Quote:

Originally Posted by Dave (Post 2559933)
Encrypted his CSS? There's no such thing as CSS encryption.
All client sided code can easily be de-obfuscated.


Yes, it looks like this:

HTML Code:

<stylevar name="blockhead_border" value="YTo0OntzOjU6InVuaXRzIjtzOjI6InB4IjtzOjU6IndpZHRoIjtzOjE6IjEiO3M6NToic3R5bGUiO3M6NToic29saWQiO3M6NToiY29sb3IiO3M6NzoiI0RBREZDQiI7fQ==" />

                <stylevar name="blockhead_color" value="YToxOntzOjU6ImNvbG9yIjtzOjc6IiM0RTRFNEUiO30=" />

                <stylevar name="blockhead_link_color" value="YToxOntzOjU6ImNvbG9yIjtzOjc6IiM0RTRFNEUiO30=" />


Dave 12-08-2015 10:36 AM

Those are base64_encoded values which vBulletin uses to store changed style variables in the exported style.

https://www.base64decode.org/

TheLastSuperman 12-08-2015 11:27 AM

Did you edit the styles .xml file after exporting in an attempt to copy/paste style related variables and such to your new style?

If so then that is what caused this confusion, next time use this mod to export custom templates easily then import - https://vborg.vbsupport.ru/showthread.php?t=257072

Dragonsys 12-08-2015 05:11 PM

Quote:

Originally Posted by tim.liton (Post 2559941)
Yes, it looks like this:

HTML Code:

<stylevar name="blockhead_border" value="YTo0OntzOjU6InVuaXRzIjtzOjI6InB4IjtzOjU6IndpZHRoIjtzOjE6IjEiO3M6NToic3R5bGUiO3M6NToic29saWQiO3M6NToiY29sb3IiO3M6NzoiI0RBREZDQiI7fQ==" />

                <stylevar name="blockhead_color" value="YToxOntzOjU6ImNvbG9yIjtzOjc6IiM0RTRFNEUiO30=" />

                <stylevar name="blockhead_link_color" value="YToxOntzOjU6ImNvbG9yIjtzOjc6IiM0RTRFNEUiO30=" />


Those are style vars, you edit them via the Style Manager in ACP. They are not encrypted.


All times are GMT. The time now is 11:21 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.01050 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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