We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension: Tabbee

Development and Programming

Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

The attached add-on files may be out of date. Please visit Devot-ee for the latest versions.

Hi,

Extension Tabbee allows you to display Publish form tabs on per-group basis.

For example, if you have two member groups - Editors and Contributors, and you want “Options” tab to be accessible only by Editors, you now can do it!

       
Wes Rice's avatar
Wes Rice
103 posts
16 years ago
Wes Rice's avatar Wes Rice

Great add-on! Now if we can only assign member group permissions at the custom field level and assign custom fields to custom tabs…that would be KILLER! Add-on of the year type thing in my book!

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

This is another great idea. I have discovered a bug though.

I wanted to use this to hide the “options” tab for a member group. But if I hide the options tab for an “author” member group and an “author” changes anything and saves, the entry reverts back to the default status instead of the custom status assigned by a group that has permission to view the options tab. This doesn’t happen with “Tabbee” disabled or even just the tab not hidden. This is an MSM site if that’s a factor.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
16 years ago
Sean C. Smith's avatar Sean C. Smith

Super extension

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas
This is another great idea. I have discovered a bug though. I wanted to use this to hide the “options” tab for a member group. But if I hide the options tab for an “author” member group and an “author” changes anything and saves, the entry reverts back to the default status instead of the custom status assigned by a group that has permission to view the options tab. This doesn’t happen with “Tabbee” disabled or even just the tab not hidden. This is an MSM site if that’s a factor.

I tried to replicate the issue, but without success. Here what I did in MSM site:

1) created a new status group and assigned it to the weblog; 2) went Admin > Weblog Administration > Weblog Management > Edit Weblog Preferences > Administrative Preferences and set “Default Status” to one of the just created custom statuses; 3) in extension’s “Tabbee” options set that “Options” tab of the Publish form should be hidden; 4) posted a new entry; it was submitted with the same status as was set in Administrative Preferences as “Default Status”; 5) updated this entry; it was again submitted with the same status as was set in Administrative Preferences as “Default Status”.

Perhaps the steps to reproduce the bug should be somehow different?

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill
This is another great idea. I have discovered a bug though. I wanted to use this to hide the “options” tab for a member group. But if I hide the options tab for an “author” member group and an “author” changes anything and saves, the entry reverts back to the default status instead of the custom status assigned by a group that has permission to view the options tab. This doesn’t happen with “Tabbee” disabled or even just the tab not hidden. This is an MSM site if that’s a factor.
I tried to replicate the issue, but without success. Here what I did in MSM site: 1) created a new status group and assigned it to the weblog; 2) went Admin > Weblog Administration > Weblog Management > Edit Weblog Preferences > Administrative Preferences and set “Default Status” to one of the just created custom statuses; 3) in extension’s “Tabbee” options set that “Options” tab of the Publish form should be hidden; 4) posted a new entry; it was submitted with the same status as was set in Administrative Preferences as “Default Status”; 5) updated this entry; it was again submitted with the same status as was set in Administrative Preferences as “Default Status”. Perhaps the steps to reproduce the bug should be somehow different?

I have statuses: Open, Front Page, Pending and Closed. The default is set to “Pending”. I have Member Groups “Author” and “Editor”. If “Author” creates entry which is defaulted to “Pending” with tab hidden, and “Editor” opens and saves that entry as status “Open” or “Front Page” – then if “Author” opens his entry and saves, that entry will change to “Pending” (the default).

Additional info: I also have Entry Versioning enabled. Maybe that is related too. “Authors” do not have permission to edit others entries. “Editors” do.

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

Hi smartpill,

I have statuses: Open, Front Page, Pending and Closed. The default is set to “Pending”. I have Member Groups “Author” and “Editor”. If “Author” creates entry which is defaulted to “Pending” with tab hidden, and “Editor” opens and saves that entry as status “Open” or “Front Page”—then if “Author” opens his entry and saves, that entry will change to “Pending” (the default).

A good catch.

Grab the version 1.1. In it I fixed this bug and a couple related bugs:

1) no date being submitted when “Date” tab is hidden; 2) no default category submitted in case Category Rights extension is installed.

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill
Hi smartpill,
I have statuses: Open, Front Page, Pending and Closed. The default is set to “Pending”. I have Member Groups “Author” and “Editor”. If “Author” creates entry which is defaulted to “Pending” with tab hidden, and “Editor” opens and saves that entry as status “Open” or “Front Page”—then if “Author” opens his entry and saves, that entry will change to “Pending” (the default).
A good catch. Grab the version 1.1. In it I fixed this bug and a couple related bugs: 1) no date being submitted when “Date” tab is hidden; 2) no default category submitted in case Category Rights extension is installed.

Thanks for looking at this issue. I just installed and tested 1.1 and am still having the same problem. For me, even if the Author himself set the status to “Open” and then I hide the tab, when I check the status as another user or unhide the status, it did indeed change the status to the default “Pending”.

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

Hi smartpill,

Thanks for looking at this issue. I just installed and tested 1.1 and am still having the same problem. For me, even if the Author himself set the status to “Open” and then I hide the tab, when I check the status as another user or unhide the status, it did indeed change the status to the default “Pending”.

Found that exp_extensions table was not updated.

Grab the version 1.1.1, upload it, then uninstall and install extension, and it should begin to work correctly.

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

Tested 1.1.1 with two Authors. Seems to be working! Nice work as always and thanks.

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

Found one more bug. Tabbee causes the Default “Allow Comments” to not be checked. If I unhide the tab, same Author has box checked, hidden it’s unchecked.

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

Hi smartpill,

Uninstall the version 1.1.1, upload the version 1.2, install it and it should begin to work correctly.

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

Hi,

I released version 1.2.1 of Tabbee extension.

In it a bug was fixed - all existing Publish page tabs being displayed in case when only one weblog is assigned to logged in user.

       
MediaGirl Inc.'s avatar
MediaGirl Inc.
186 posts
15 years ago
MediaGirl Inc.'s avatar MediaGirl Inc.

removed by MediaGirl…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.