1 of 2
1
Remove “My Account” Tab Extension
Posted: 17 November 2006 09:11 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

I wanted to make the Control Panel as clean as possible for a client, and created a simple extension to hide the “My Account” tab using javascript.
Now my client only has two tabs: ‘publish’ and ‘edit’.

You can choose to keep the tab for Super Admins if you want. (check out the ‘settings’ link)

Cheers.

[EDIT] updated “Remove My Account Tab” extension to version 1.2
[EDIT] added “Remove Sites Tab” Extension

Download links:
Remove My Account Tab
Remove Modules Tab
Remove Sites Tab

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 17 November 2006 10:57 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10866
Joined  04-29-2002

Excellent idea for an extension. Too many times when we want to let non-super admins in to add entries, we don’t want to let them fiddle around while they are in there. Thanks!

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
MSG
 
 
Posted: 17 November 2006 01:15 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  308
Joined  10-25-2005

Yes, awesome. Many thanks!

 Signature 

EE Pro Network Member

Profile
 
 
Posted: 19 November 2006 01:25 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
RankRankRank
Total Posts:  308
Joined  10-25-2005

It appears that this does not play nice with the following two extensions by Mark Huot: File and Live Search.

With this extension enabled, the live search does field does not show up. Worse, when using the File extension, upon saving an entry with a file field, it spews at least a score of errors. (Sorry, I didn’t copy them and I’m too rushed to go back and recreate the problem.)

Just a heads up.

 Signature 

EE Pro Network Member

Profile
 
 
Posted: 19 November 2006 02:21 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

Thanks jnt,

I forgot to add the $EXT->last_call variable to my extension.

You can find the fixed version in my original post.

So… Live Search works again, but the problem you are having with the File extension is a separate issue AFAIK.
I am seeing the same errors, even when no other extensions are installed.

While writing this I updated my 1.0.3 version of Mark’s File extension to 1.0.9 and it seems to work fine now grin
What version are you using?

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 19 November 2006 06:18 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  308
Joined  10-25-2005

Thanks for the quick reply!

I’m on 1.0.9, but haven’t tried re-enabling your extension yet. I’ll report back…

 Signature 

EE Pro Network Member

Profile
 
 
Posted: 04 December 2006 02:40 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  243
Joined  09-09-2005

Thank you for this extension! Very handy! One quick question...when I click on “Settings” in the Extensions Manager so that I can keep the tab enabled for Super Admins, I get an error and can’t proceed:

Unable to load the following language file:
/lang.remove_my_account_tab.php

Am I missing a language file?

Profile
 
 
Posted: 04 December 2006 04:16 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

Oops, sorry about that.

Please download again cheese

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 11 December 2006 04:11 PM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  398
Joined  10-10-2004

I was wondering if you could also make a combined or seperate extension that takes out the module tab in the same way for non super-admins.

I personally go in and add whatever Module non-super admins need as its very own tab that appears between the “Edit” tab and the “Modules” tab in the CP. So, already having individual tabs for the one or two modules that our users need access to makes the “Modules” tab itself useless for those people.

Profile
 
 
Posted: 11 December 2006 04:30 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

Should be possible, I’ll look into it some time this week.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 11 December 2006 04:31 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  398
Joined  10-10-2004

That would be super cool. Thanks!

Profile
 
 
Posted: 12 December 2006 10:18 AM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

I updated this extension to also remove the “New Tab” link that takes you to the “My Account” page.

I also made an extension to remove the Modules Tab, you can find it at the top of this thread.
The link to the Modules page in the breadcrumb of will still take you to the Modules page, but it’s a start.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 12 December 2006 10:32 AM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  398
Joined  10-10-2004

That’s terrific!! Nice work!

Profile
 
 
Posted: 20 January 2007 05:35 PM   [ Ignore ]   [ # 13 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  02-22-2004

I updated this extension to also remove the “New Tab” link that takes you to the “My Account” page.

Users can still get to the My Account section by clicking the “New Quicklink” icon (the leftmost icon at the top right of the screen, looks like a chain link with a pencil superimposed). Any chance you can update this extension to hide that too?

Profile
 
 
Posted: 20 January 2007 05:59 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

Yeah, I also found some other ways to get to that page.

I’m looking into a different way to ‘disable’ the page altogether.

I’ll get back to you when I have something.

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 10 April 2007 10:10 AM   [ Ignore ]   [ # 15 ]  
Grad Student
Avatar
Rank
Total Posts:  89
Joined  02-24-2006

They can also access the account area via the “Modify This Page” link on the control panel homepage .... is there a way to remove that link?

Profile
 
 
Posted: 02 July 2007 07:38 PM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10866
Joined  04-29-2002

Hey, Cocoaholic, any way to get this extension to remove the sites tab if someone is not a SuperAdmin?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
MSG
 
 
Posted: 03 July 2007 04:48 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  865
Joined  02-05-2002

Hi Sue,

I am going to bundle all these in a “Tab Access” extension when I have some time.

For now I made a separate extension that hides the Sites tab.
It also disables access to that page altogether.

I also updated the “My Account” extension to do the same thing.
Even if you leave the ‘quicklinks’ link in there, people won’t be able to access any part of the “My Account” page.

Download

 Signature 

Member of the EE Pro Network

Profile
 
 
Posted: 04 July 2007 08:03 AM   [ Ignore ]   [ # 18 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10866
Joined  04-29-2002

Thanks, Cocoaholic. It works really well!

When you get all of them bundled, we can make sure there’s a link in the wiki. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
MSG
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 60671 Total Logged-in Users: 42
Total Topics: 73087 Total Anonymous Users: 22
Total Replies: 394124 Total Guests: 480
Total Posts: 467211    
Members ( View Memberlist )
Newest Members:  eggtartFoliovenenmruMplourdejames backhamJFTRalmarjinGraninanggieleafbreeze