Advertisement:

Author Topic: Admins and layout options  (Read 2583 times)

Offline Grendor

  • Jr. Member
  • **
  • Posts: 278
Admins and layout options
« 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

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Admins and layout options
« Reply #1 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
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Grendor

  • Jr. Member
  • **
  • Posts: 278
Re: Admins and layout options
« Reply #2 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

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Admins and layout options
« Reply #3 on: May 28, 2007, 01:27:49 PM »
Well with this mod, 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.
Dev Consultant
Former SMF Doc Coordinator

Offline Grendor

  • Jr. Member
  • **
  • Posts: 278
Re: Admins and layout options
« Reply #4 on: May 28, 2007, 02:19:46 PM »
Thanks alot never thought of that, will give it a try.


Thanks
Fred

Offline glorybound

  • Semi-Newbie
  • *
  • Posts: 11
Re: Admins and layout options
« Reply #5 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?

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Admins and layout options
« Reply #6 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
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Grendor

  • Jr. Member
  • **
  • Posts: 278
Re: Admins and layout options
« Reply #7 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 )
« Last Edit: May 29, 2007, 08:12:23 PM by Grendor »

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Admins and layout options
« Reply #8 on: May 29, 2007, 07:32:22 PM »
its in there..

Code: [Select]
// 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?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Grendor

  • Jr. Member
  • **
  • Posts: 278
Re: Admins and layout options
« Reply #9 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

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Admins and layout options
« Reply #10 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
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool