Recent Topics

[Plugin] Skin switcher

Started by on Aug 28, 2008 – Contents updated: Aug 28, 2008

Aug 28, 2008 01:35    

This plugin allows your users and guests to choose the skin they like for each blog.
It also displays a list of all available skins, just like in b2evo 1.x

[url=http://www.sonorth.com/travel/download/MPGHXKQ9JD]Download v0.3[/url]

To switch the skin add something like this in url

Code

user_skin_1=custom

where 1 is blog ID and custom is skin name

If you don't want to display the full list of skins, create a link like this for each alternative skin:

Code

<a href="'.$Blog->gen_blogurl().'?user_skin_'.$Blog->ID.'=my_cool_skin" rel="nofollow">My cool skin</a>

To reset the blog to default skin use

Code

<a href="'.$Blog->gen_blogurl().'?user_skin_'.$Blog->ID.'=RESET" rel="nofollow">Use default skin</a>

Aug 28, 2008 02:41

Thanks for feedback.

one small suggestion, you can replace that skin list with a dropdown box, tc

In todo list

Aug 28, 2008 02:55

It is discussed. At one point Francois asked me why I would want it and my only answer was that I use it when I'm busy with coding a new skin. That was enough for Francois to cut it out of the core and I fully agree with him.
It's fine there is a plugin now, but this is not a killer feature for normal endusers.

Thanks anyway.

Aug 28, 2008 04:00

Plugin updated.
New: dropdown list ;)

Aug 28, 2008 04:03

Afwas wrote:

It is discussed. At one point Francois asked me why I would want it and my only answer was that I use it when I'm busy with coding a new skin. That was enough for Francois to cut it out of the core and I fully agree with him.
It's fine there is a plugin now, but this is not a killer feature for normal endusers.

Thanks anyway.

thanks for the info Afwas, but there's gotta be another reason to it else than 'lack of importance' as it is not included even in the skin showcase..

.. you know, skin directory temporarily makes the skin available for one page which is not enough, single post or page modes are completely different than main posts sometimes and users can not preview it, like that simple zen of yours.

my point is, does making this feature enabled would allow any security issues or is it really deprecated just that it lacks necessity ?

Aug 28, 2008 05:05

I wrote all I know ;) There's no security issue. Francois rewrote all skin features into widgets and didn't like this one.

--FH

Aug 28, 2008 06:12

Great !
Actually, necessity for such a plugin was my template is a dark one, and i have some readers who ask me how to read my blog with a lighter template.
So was my request.

Thank you very much for your help ! :D

Aug 28, 2008 15:27

Removing skin switching from the core removes a lot of useless bloat, basically. Look: most people who used b2evo back when it had skin switching didn't bother with it because most people maintain ONE skin. So why bother with a seldom-used feature in the core?

As a plugin? Fine. In the core? BLOAT!

Jul 12, 2010 23:46

Plugin updated to v0.3

Added an option to memorize "tempskin" in cookies
Fixed some bugs


Form is loading...

b2evo – This forum is powered by b2evolution CMS, a complete engine for your website.