Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Grendor on May 26, 2007, 11:24:26 AM

Title: Admins and layout options
Post by: Grendor on May 26, 2007, 11:24:26 AM
Hello I have admin status and have locked the layout so only one theme is used on whole board. My problem is i have a person with reall bad eye sight and they ask if they could choose a different theme. How do i only allow 1 user to look at the themes to choose the best one for him to see?


Thanks
Grendor
Title: Re: Admins and layout options
Post by: metallica48423 on May 26, 2007, 07:36:26 PM
i believe you could go into their profile => look and layout preferences and change their theme for them
Title: Re: Admins and layout options
Post by: Grendor on May 26, 2007, 09:05:48 PM
Ah ok thanks, was hopeing there would be a way to let him do by self.


But Thanks For your help
Fred
Title: Re: Admins and layout options
Post by: codenaught on May 28, 2007, 01:27:49 PM
Well with this mod (http://custom.simplemachines.org/mods/index.php?mod=795), you can create a new membergroup and put the member in it (perhaps secondary if you don't want others to see that the member is in the group) and then allow that membergroup to change their themes.
Title: Re: Admins and layout options
Post by: Grendor on May 28, 2007, 02:19:46 PM
Thanks alot never thought of that, will give it a try.


Thanks
Fred
Title: Re: Admins and layout options
Post by: glorybound on May 29, 2007, 04:16:32 PM
I changed themes last week and I no longer have an administrators tab.  I changed back to the defualt theme, but it is still gone.  How do I get it back?
Title: Re: Admins and layout options
Post by: metallica48423 on May 29, 2007, 04:26:34 PM
can you attach your theme's index.template.php, i'll take a look at it :)

Thanks
Title: Re: Admins and layout options
Post by: Grendor on May 29, 2007, 06:12:31 PM
Thanks alot for your help.


Here is the file
Thanks again
Fred

P.s.( Could i also if you can or would take a look at this thread please? http://www.simplemachines.org/community/index.php?topic=173541.0 )
Title: Re: Admins and layout options
Post by: metallica48423 on May 29, 2007, 07:32:22 PM
its in there..


// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


what happens if you go to your forum, and put ?action=admin on the end of your main forum's URL?
Title: Re: Admins and layout options
Post by: Grendor on May 29, 2007, 08:15:32 PM
Hello it takes me to the admin screen like the button does. I know how to change the theme for all users to be able to choose a theme, just never saw a choice to allow one user to..


But no worries i will do what previous user said too.

Thanks again.
Fred
Title: Re: Admins and layout options
Post by: metallica48423 on May 29, 2007, 08:33:20 PM
Grendor, my inquiry was to glorybound (sorry :P)

The mod that akabugeyes posted should allow you to do this :P

sorry for getting you two mixed up :P