1
Mantooth
can users set their own default theme?
  • 2005/8/3 17:45

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


Is it possible for users to set their own default theme? it seems like this would be a great feature for XOOPS because so many of my website users have asked about it.

is there a hack or module for it?


Thanks,
Mantooth
...


I hate Mortal Kombat

2
rabideau
Re: can users set their own default theme?
  • 2005/8/3 17:53

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Go to systems admin >> blocks and make theme available.
Go to systems admin >> preferences and highlight the themes you want people to select from.
Got to systems admin >> groups and give the correct user audience access to the themes block (e.g. webmaster, registered, anonymous).

Have fun.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
Mantooth
Re: can users set their own default theme?
  • 2005/8/3 19:46

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


thankyou for the response.

but what i meant was that it would be nice if it were a user preference that they could set once like the 'time zone' or 'notification options'

some of my users like the default theme that i've chosen for the site but others would rather have another theme as the default but don't really feel like switching it in the block every time they enter the site.
...


I hate Mortal Kombat

4
Duke_Henry
Re: can users set their own default theme?
  • 2005/8/3 20:13

  • Duke_Henry

  • Just popping in

  • Posts: 37

  • Since: 2004/7/30


Quote:

Mantooth wrote:
thankyou for the response.

but what i meant was that it would be nice if it were a user preference that they could set once like the 'time zone' or 'notification options'

some of my users like the default theme that i've chosen for the site but others would rather have another theme as the default but don't really feel like switching it in the block every time they enter the site.


If they have cookies enabled, once they log in, their preference of theme will be remembered.

5
Rickb
Re: can users set their own default theme?
  • 2005/8/3 21:37

  • Rickb

  • Not too shy to talk

  • Posts: 118

  • Since: 2004/10/24


I have that same issue. It is almost a standard function to allow the user profile settings to be able to choose which theme the wants for the default. This is not the case with XOOPS.

Be really nice.

Rick

6
LazyBadger
Re: can users set their own default theme?

XOOPS 2.2 is answer (untested) on this question, not 2.0
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

7
Mantooth
Re: can users set their own default theme?
  • 2005/8/4 14:51

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


Quote:

LazyBadger wrote:
XOOPS 2.2 is answer (untested) on this question, not 2.0


do you know of a site with this feature that i could register on and try it out?
...


I hate Mortal Kombat

8
LazyBadger
Re: can users set their own default theme?

XOOPS Frontier have at least 4 themes, all themes enabled for users
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

9
Mantooth
Re: can users set their own default theme?
  • 2005/8/4 15:48

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


thanks. that's exactly what i was looking for.

i have one more quick question if you don't mind. Do all themes for 2.0 work for 2.2?
...


I hate Mortal Kombat

10
DigitalBoots
Re: can users set their own default theme?

In XOOPS 2.2.2 (fresh install), the ability to set the desired theme in the user profile (/modules/profile/edituser.php) is not enabled.

To enable this, you have to manually add a couple records to the database table xoops_group_permission:

gpermid=whatever
gperm_groupid=2
gperm_itemid=10 ("theme", from xoops_user_profile_field)
gperm_modid=3 (profile edit)
gperm_name = "profile_show" and "profile_edit" (without the quotes)


then, to have the newly selected theme displayed uppon saving changes to the profile, edit the file modules/profile/edituser.php on line 109 of 263 to read:

Quote:
redirect_header('userinfo.php?xoops_theme_select=&uid='.$uid, 1, _PROFILE_MA_PROFUPDATED);



Gord
www.digitalboots.net - lossless live links

Login

Who's Online

238 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits