 |
 |
 |
 |
 |
| Author |
Message |
FolX
Joined: 03 Mar 2006 Posts: 13
|
|
Hide menu for users |
|
If a users edits his profile he can see the menu at the top. Is there a possibility to hide the menu for users (level 3)?

|
|
| Wed Jul 12, 2006 7:52 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
lexa
Creator of CuteNews.RU

Joined: 02 Oct 2005 Posts: 90 Location: St.-Petersburg, Russia |
|
|
|
I think about it and work about it .
|
|
| Wed Jul 12, 2006 11:03 pm |
 |
 |
FolX
Joined: 03 Mar 2006 Posts: 13
|
|
|
|
Ok thanks
Try something by myself but dont get it for level 3 only.
|
|
| Thu Jul 13, 2006 7:48 am |
|
 |
FolX
Joined: 03 Mar 2006 Posts: 13
|
|
|
|
And have someone already a solution?
|
|
| Mon Jul 17, 2006 7:43 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
I got one. this is what I do in that scenario. i steal the link that it href's which is
http://www.yourdomain.com/cutenews/index.php?action=logout
then I make .. well there are probably other ways.. but i just make an iframe and put a log out button in my iframe but only i know where the iframe is... look at my admin panel.. http://www.scodal.com/admin <-- in there look at the 'Change Site:' section and select 'iGT' cause i know i finished that section.. but they'll all show you a good example of what i mean. there's your general cutenews buttons all working
that lets me manage all my sites
i haven't done the next part but i know it would be easy to do. just edit your default.skin from the skins/ directory and remove the log out button from cutenews.. now it exists only in your iframe. i put the entire add edit options settings etc buttons in my iframe..
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Thu Jul 20, 2006 3:54 pm |
|
 |
Syrion

Joined: 02 Aug 2006 Posts: 172
|
|
|
|
 |  | I think about it and work about it . |
Simple solution:
Give that word a special CSS-class and give it a display: hidden value?
|
|
| Mon Aug 14, 2006 4:45 pm |
|
 |
lexa
Creator of CuteNews.RU

Joined: 02 Oct 2005 Posts: 90 Location: St.-Petersburg, Russia |
|
|
|
Or just in skins/default.skin.php replace:
 |  | $skin_menu = <<<HTML |
to
 |  | if ($member['level'] < 2){$echo['nav']['logout'] = '';}
$skin_menu = <<<HTML |
:)
It for CN.ru 2.5.4 and oldes.
|
|
| Tue Aug 15, 2006 8:20 pm |
 |
 |
FolX
Joined: 03 Mar 2006 Posts: 13
|
|
|
| Sat Sep 02, 2006 8:05 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|