Welcome to Geeklog, Anonymous Saturday, October 01 2022 @ 11:05 pm EDT

Geeklog Forums

Usergroup vinculated to theme


Status: offline

4Xsample

Forum User
Junior
Registered: 09/21/03
Posts: 26
I dont know if tis is an idea for feedback or is a question for if is posible with the actual code or some hack.

What I like to do is vinculate 5 diferent themes to 5 diferent user groups so people from some group have automaticaly configurated a specific theme

The main idea is for a RPG website where the users can come from 5 regions and I like to have each region with a personalized theme I have the themes done so I edit the users manually to set the propper theme but I like to do it autmatic

Theres some way¿?
 Quote

tokyoahead

Anonymous
if you know php there is a possibility yes.

you would have to check somewhere (in config.php for example or in a plugin) for the users group, and set the users current theme to a new value.

the function for this is in the security class IIRC.

there might only be some confusion since technically a user can be in several groups.
 Quote

All times are EDT. The time is now 11:05 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content