phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

[ALPHA] Mod compiled subSilver.css as tpl


 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
vlad77
Board Member



Joined: 31 May 2015

Posts: 33


flag
PostPosted: Wed Oct 31, 2018 1:18 pm 
Post subject: Mod compiled subSilver.css as tpl

Title: Mod compiled subSilver.css as tpl
Author: vlad77
Description: This mod compiles subSilver.css as a tpl file. This allows you to configure variables {...} from the admin panel in subSilver.css, put using data:URL, images into the subSilver.css file (enhances the SEO forum), using eXtreme Styles mod, it becomes possible to execute php code in subSilver.css, while optimizing in template.php the outputted html code is optimized css code.
Version: 1.0.3
Note: With the mod installed eXtreme Styles mod 2, you can delete the subSilver.php file, and transfer the code from it to subSilver.css.



Mod_compiled_subSilver_css_as_tpl.zip
 Description:
Version: 1.0.3

Download
 Filename:  Mod_compiled_subSilver_css_as_tpl.zip
 Filesize:  11.65 KB
 Downloaded:  18 Time(s)

Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 664
Location: Texas


flag
PostPosted: Wed Nov 07, 2018 5:58 pm 
Post subject: Re: Mod compiled subSilver.css as tpl

Does this also improve performance?
_________________
phpBBDoctor Blog
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 33


flag
PostPosted: Thu Nov 08, 2018 11:47 am 
Post subject: Re: Mod compiled subSilver.css as tpl

data:URL reduces the number of DNS requests needed to download images. But the benefits of this are more for SEO than for reducing server load.
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 33


flag
PostPosted: Thu Nov 08, 2018 11:53 am 
Post subject: Re: Mod compiled subSilver.css as tpl

Mod version updated to 1.0.2
Added crutches for old MSIE versions
Code for using data: URL rendered in a separate instruction file.

Description, data:URL is a convenient alternative to css sprites that boosts SEO.
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 33


flag
PostPosted: Thu Nov 15, 2018 4:26 pm 
Post subject: Re: Mod compiled subSilver.css as tpl

Mod version updated to 1.0.3
Added example for lang_images
Added more crutches to old MSIE versions
Mod compatible with php4
Back to top
StarWolf3000
Board Member



Joined: 10 Jun 2010

Posts: 98
Location: Germany


flag
PostPosted: Fri Nov 16, 2018 6:58 am 
Post subject: Re: Mod compiled subSilver.css as tpl

vlad77 wrote:
Mod version updated to 1.0.3
Added example for lang_images
Added more crutches to old MSIE versions
Mod compatible with php4

Err... is it really necessary to support PHP4?
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 33


flag
PostPosted: Sat Nov 17, 2018 8:59 am 
Post subject: Re: Mod compiled subSilver.css as tpl

If I can easily add cross-php compatibility, then why not do it? Replaced a function which is not in php5, on a similar function in php4.
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0291 seconds using 17 queries. (SQL 0.0033 Parse 0.0024 Other 0.0234)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo