| View previous topic :: View next topic |
| Author |
Message |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Wed Aug 27, 2008 18:35 Post subject: [Plugin] Skin switcher |
|
|
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
Download v0.3
To switch the skin add something like this in url
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> |
_________________ Russian b2evolution | Download
Last edited by sam2kb on Mon Jul 12, 2010 15:30; edited 3 times in total |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Wed Aug 27, 2008 19:34 Post subject: |
|
|
nice sam2kb ( . we have discussed this issue earlier but couldnt find reasons to why it has been removed.. this feature should be included in the core maybe, if there is no serious danger..
one small suggestion, you can replace that skin list with a dropdown box, tc _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Wed Aug 27, 2008 19:41 Post subject: |
|
|
Thanks for feedback.
| Quote: |
| one small suggestion, you can replace that skin list with a dropdown box, tc |
In todo list _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
Afwas Forum helper
 Joined: 03 Jan 2007 Posts: 3559
    votes: 63
|
Posted: Wed Aug 27, 2008 19:55 Post subject: |
|
|
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. _________________

Join us at irc://irc.freenode.net#B2evolution
More B2evo goodies at http://www.blog.hemminga.net |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Wed Aug 27, 2008 21:03 Post subject: |
|
|
| 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 ? _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
Afwas Forum helper
 Joined: 03 Jan 2007 Posts: 3559
    votes: 63
|
|
| Back to top |
|
 |
Honorgate New Poster

Joined: 11 Jan 2005 Posts: 29
     
|
Posted: Wed Aug 27, 2008 23:12 Post subject: |
|
|
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 !  _________________ Portail & Blog |
|
| Back to top |
|
 |
EdB /bb|[^b]{2}/
Joined: 05 Jan 2004 Posts: 7123
  votes: 90
|
Posted: Thu Aug 28, 2008 8:27 Post subject: |
|
|
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! |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Mon Jul 12, 2010 16:46 Post subject: |
|
|
Plugin updated to v0.3
Added an option to memorize "tempskin" in cookies
Fixed some bugs _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Tue Jul 13, 2010 4:52 Post subject: |
|
|
cool..thanks _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
|