Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Hide menu for users

 
Reply to topic    Forum Index » General feedback View previous topic
View next topic
Hide menu for users
Author Message
FolX



Joined: 03 Mar 2006
Posts: 13

Post Hide menu for users Reply with quote
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 View user's profile Send private message
Guest








Please login to hide the ads.

lexa
Creator of CuteNews.RU


Joined: 02 Oct 2005
Posts: 90
Location: St.-Petersburg, Russia

Post Reply with quote
I think about it and work about it Smile.
Wed Jul 12, 2006 11:03 pm View user's profile Send private message Visit poster's website ICQ Number
FolX



Joined: 03 Mar 2006
Posts: 13

Post Reply with quote
Ok thanks

Try something by myself but dont get it for level 3 only.
Thu Jul 13, 2006 7:48 am View user's profile Send private message
FolX



Joined: 03 Mar 2006
Posts: 13

Post Reply with quote
And have someone already a solution?
Mon Jul 17, 2006 7:43 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
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 Wink



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 Smile
last update: 07-22-08: 8:30 pm
Thu Jul 20, 2006 3:54 pm View user's profile Send private message Visit poster's website AIM Address
Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
lexa wrote:
I think about it and work about it Smile.




Simple solution:



Give that word a special CSS-class and give it a display: hidden value?
Mon Aug 14, 2006 4:45 pm View user's profile Send private message
lexa
Creator of CuteNews.RU


Joined: 02 Oct 2005
Posts: 90
Location: St.-Petersburg, Russia

Post Reply with quote
Or just in skins/default.skin.php replace:

Code:
$skin_menu = <<<HTML




to

Code:
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 View user's profile Send private message Visit poster's website ICQ Number
FolX



Joined: 03 Mar 2006
Posts: 13

Post Reply with quote
Dont work by me Sad
Sat Sep 02, 2006 8:05 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » General feedback All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
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



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.