1 of 2
1
Publishers Clearinghouse (remove weblogs from publish tab)
Posted: 15 November 2007 07:47 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

I’ve found clients are confused when using the Pages module to see those weblogs in the publish tab. This extension allows you to remove weblogs from said tab. This only works on the hover state - if you click the publish tab and go to the resulting page you will see all your weblogs.

Special thanks to the_butcher for allowing me to trim 500+ lines of code from the extension wink

Usage
Step 1: Enable the extension, and in the settings add all the weblog names you would like to hide. You can select multiple weblogs from the list.
Step 2: Select which member groups you would like this extension to apply to (other groups will see all weblogs in the publish tab).
Step 3: Enjoy!

Requirements
EE 1.5 or higher.
This has only been tested on 1.6.1, but it should work fine on 1.5 or higher. Please let me know if you have any issues.

Current Version
1.2

Version History

1.2 - Changed extension to allow weblogs to be hidden for specific member groups (Thanks Zac G.!)

1.1.2 - Changed the extension priority to the lowest possible to limit extension conflicts.

1.1.1 - Modified the extension to work with PHP4 (required PHP5 previously).

1.1.0 - Changed the way you choose weblogs in the settings area - much easier to hide a large number of weblogs, or weblogs with long names.

1.0.1 - removed some unnecessary code, and fixed a PHP warning if the extension was enabled and you didn’t have any weblogs in the settings.

File Attachments
publishers_clearinghouse_1.2.zip  (File Size: 4KB - Downloads: 514)
Profile
 
 
Posted: 15 November 2007 10:22 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1753
Joined  03-26-2006

So, this takes the place of Mark Huot’s “Hidden Weblogs” extension (which was/is a handy extension but didn’t seem to get updated to work with 1.6)?

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 15 November 2007 11:16 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Actually I didn’t realize there was an extension that already did this.

I’m actually reworking the extension - there are different ways of doing it and I want to give the option to hide entries in the edit menu as well (although as I delve deeper I’m not sure if this is going to work).

The release above literally only hides them from the hover publish tab - if you click on that tab and get to the publish page it still shows all the weblogs. Very far from perfect I know…

Profile
 
 
Posted: 16 November 2007 07:32 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1753
Joined  03-26-2006

You might want to take a look at Mark’s Hidden Weblogs extension to see how he went about doing it - might spark an idea. I’m not sure why Mark hasn’t updated his for 1.6, but if yours works I’ll use yours because I could really use it on a few sites I have going right now!

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 16 November 2007 07:34 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Currently it works but only hides from the hover publish tab (not on the resulting page if you click on the publish tab).  I’m not sure if Mark’s did more than that?  I’m not going to have time to do any more until this weekend.  Weblog entries show in the edit page, even if they’re on the hidden list.

Profile
 
 
Posted: 17 November 2007 07:19 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

I’ve updated the way you choose weblogs to hide - now you can easily hide many weblogs (or ones with long names).

It doesn’t function any differently at this point so if you’re happy with what you have there’s no need to update.

Profile
 
 
Posted: 21 November 2007 09:57 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  4
Joined  11-19-2007

Thanks a lot for this, Brian!

I found this very helpful as solution for hiding one-page-weblogs, which may be very confusing for the end-user.

Profile
 
 
Posted: 27 December 2007 01:37 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

I’ve updated this extension to work with PHP 4 - it previously worked with PHP 5 only.  If you’ve already downloaded and it’s working fine, no reason to re-download this version.

Profile
 
 
Posted: 28 June 2008 08:20 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  47
Joined  05-29-2007

This doesn’t work with the Edit Menu extension found here:

http://expressionengine.com/forums/viewthread/68277/

When I have both enabled, it takes away the sections from the edit menu as well. Any idea why it’s doing that?

Profile
 
 
Posted: 29 June 2008 12:17 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Let me look into that - I’ve think I know why it’s happening. It will be probably the end of this week. Oops!

Profile
 
 
Posted: 29 June 2008 12:18 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  47
Joined  05-29-2007

Awesome, thanks much smile

Profile
 
 
Posted: 03 July 2008 03:12 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Hi blcarson,

I’m pretty sure I know what’s going on - I’ve posted a request in the edit menu thread for Cocoaholic and I’m posting a new version 1.1.2 at the top of this thread.  We need to get an updated version of his extension as well before we can fix this.

Profile
 
 
Posted: 03 July 2008 04:05 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Avatar
Rank
Total Posts:  47
Joined  05-29-2007

Awesome, thanks for the update smile

Profile
 
 
Posted: 04 July 2008 09:13 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Cocoaholic updated his extension so if you use these two new ones together you should be good to go.

Profile
 
 
Posted: 04 July 2008 09:27 PM   [ Ignore ]   [ # 14 ]  
Grad Student
Avatar
Rank
Total Posts:  47
Joined  05-29-2007

That worked great, thank you!

Profile
 
 
Posted: 09 February 2009 01:50 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  378
Joined  10-24-2007

This is a great extension!  Do you think it would be possible to modify it so it only hid the weblogs for certain member groups?

 Signature 

Zac Gordon is a Professional Web Educator and owner of a Washington, DC based ExpressionEngine Development Company

Profile
 
 
Posted: 20 February 2009 09:14 AM   [ Ignore ]   [ # 16 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

Hi Zac - sorry I didn’t reply until now.  It would definitely be possible to modify this work with member groups but I just don’t have the time to do it.  You’re welcome to modify it if you’d like, or if someone else wants to step in…

Sorry Zac!

Profile
 
 
Posted: 20 February 2009 10:59 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  378
Joined  10-24-2007

Hey Brian,

I did some simple modification to allow you to select what member groups you would like to hide the selected weblogs from.  It isn’t at the level where you can set different permissions for different member groups, but it adds a little more flexibility to an already great extension.

I’ll shoot you an email with what I came up with so you can test it out…

Zac

 Signature 

Zac Gordon is a Professional Web Educator and owner of a Washington, DC based ExpressionEngine Development Company

Profile
 
 
Posted: 05 March 2009 08:30 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  652
Joined  07-18-2006

A big thank you to Zac for modifying my extension to allow you to apply this extension only to select member groups.  I’ve put up a new version in the original post (version 1.2), get it while it’s hot!

Profile
 
 
   
1 of 2
1