https://www.icyphoenix.com/viewtopic.php?f=35&t=489&p=3965#p3965
-----------------------------------
Vortex
Fri 20 Oct, 2006 21:53

Re: Quick Links (nav_quick_links.tpl) Doesn't Switch Admin
-----------------------------------
Oh God, why am I supposed to face such discussions in a support forum??? Never seen nothing like this before, I swear.


Ok, let's see...


[quote user="moreteavicar" post="3962"]Oh dear... here goes...
As we have no idea whether or not you have checked the cached template file /cache/tpl_ca_aphrodite.nav_quick_links.php, which would confirm once and for all if there was a caching problem[/quote]


I did. You said you wouldn't answer again, so I decided not to answer to you, in order not to continue with such attitude that is totally unuseful, imho.



[quote]
, might I suggest the following:

Check in pageheader.php, around line 300, you should have the line:
[codeblock]
if ($userdata['user_level'] == ADMIN)
{
	$template->assign_block_vars('mg_switch_user_is_admin', array());
}
[/codeblock]

If it is there, then replace it with this and see if it works:

[codeblock]
if (($userdata['user_level'] == ADMIN) || ($userdata['user_level'] ==1 ))
{
	$template->assign_block_vars('mg_switch_user_is_admin', array());
}
[/codeblock]

If it isn't there, then put it there!
[/quote]


Ok I'll try, thanks ;)


[quote]
If none of this works, then another question to ask is what are the user levels in your database? You need check phpbb_users. If in phpMyAdmin, select browse, then look for the column "user_level". Normal registered users should be 0. You should be 1. If not, then we have fround the problem. If so, then we need to look elsewhere.[/quote]


Edit: wrong check, all's right with user levels :lol: 





--------------------------------


A little OT :D

[quote]And well done for removing Explorer Destroyer. Things like that should never be put on a website for a number of reasons. 1) A competent webmaster should never force vistors to use a different browser, instead they should do their best to make their code clean and compatible with as many browsers as possible. 2) Most people who access the internet do so through work/university/college computers, and more often than not, they are prevented from installing software anyway. 3) It isn't supported by, and defeats the purpose of Mozilla.org, and could lead to a negative public image of firefox, making it liable to criticsm from Microsoft for non-competitive practices (although its not them that are doing it, but some loner somewhere). 4) The only people that might benefit is google, which is becoming as much of a monopoly as Microsoft. 5) You're using Windows XP, so hardly making an effort to avoid Microsoft products![/quote]

1) Maximum visibility could be a goal for your site, not for mine ;)
2) You don't know the situation of my site, I do. Impossibility for accessing it from public workstations is a good thing. 
3) ED is ment to do one thing. I put it on because I wanted THAT thing to be done ;)
4) Good point, I could agree with you.
5) I'm not involved in programming and other computer things, I just use it in spare time and for fun. Using alternative OS requires learning to use them. In this period I haven't got enough time to spend with problems that with Windows I know I can solve quickly. At home I got a little Debian server, on my notebook I have Ubuntu Dapper, and so it is for the other partition of this hdd. I will install Edgy as soon as university will give me free time again. 

I'm noob in many things: where I can, I do. Where I can't yet... only a matter of time. Judge what you know ;)


For now, please, stop arguing with me, it's no use for both of us. I'm surprised anyone didn't give us a warn yet  :mrorange: 


Hope this was the last one. (Maremma Santa, Onnipotente se solo tu leggessi questa discussione... lol )


