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

LG Add CP Tabs - Automatically add custom CP Tabs (and links) for members when they register!

Development and Programming

Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Update 1.1.0:

  • Initial Release on leevigraham.com
  • Added MSM compatibility
  • Integrated LG Addon Updater

————————————————————————————————–

If you are updating from the 1.0.0 release de-actiavte the existing extension be installing the 1.1.0 release as no upgrade script has been included.

Ok here we go again….

I just had an idea this morning that it would be very beneficial to our EE clients at Newism that when new members are registered they get a bunch of default tabs added to their profile in the CP.

Hence LG Add CP Tabs was born in about 20 minutes 😊

Its a super simple extension with instructions included. Just upload + activate, check the extension settings and you are good to go.

————————————————————————————————–

Grab LG Add CP Tabs v1.1.0 from my site.

————————————————————————————————–

Enjoy

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Agggghhhh!!!

Just tried to use this Leevi and got an error saying :

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

Perhaps something a little wrong somewhere? 😉

Best wishes,

Mark

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Just changed line 409 to say :

$LANG->fetch_language_file(’lg_add_cp_tabs_ext’);

instead and seems to be working. Hopefully this should be enough?

Best wishes,

Mark

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

Mark’s fix allowed me to enable the extension, but I get this error at the top of the admin panel when logging in after it was enabled:

Notice: Undefined index: LG Add CP Tabs in /home/account_name/public_html/system/extensions/ext.lg_add_cp_tabs_ext.php on line 607

Brilliant idea though, especially with including the default links. Can’t wait til I can get this working, it’ll save me all kinds of time.

I am using EE 1.6.4. PHP v5.2.6 if that is relevant.

Thanks, Kyle

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
Agggghhhh!!! Just tried to use this Leevi and got an error saying :
Error Unable to load the following language file : /lang.lg_quarantine_ext.php
Perhaps something a little wrong somewhere? 😉 Best wishes, Mark

You mean yo don’t have LG Quarantine installed already…. shame on you!

Anyway the download is fixed. Cheers

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
Mark’s fix allowed me to enable the extension, but I get this error at the top of the admin panel when logging in after it was enabled:
Notice: Undefined index: LG Add CP Tabs in /home/account_name/public_html/system/extensions/ext.lg_add_cp_tabs_ext.php on line 607
Brilliant idea though, especially with including the default links. Can’t wait til I can get this working, it’ll save me all kinds of time. I am using EE 1.6.4. PHP v5.2.6 if that is relevant. Thanks, Kyle

Hey Kyle,

This relates to the auto-update feature. If you have previously installed any of my other addons there should be a cached version of the current versions. Just delete /cache/lg_cache and you should be ok.

In future I’ll delete the file when the addon is activated.

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

The error is gone, thank you.

I assume you need to enter all the defaults – which is definitely WAAAAAYYY better than doing it one-at-a-time. It would be great if you could somehow clone the settings from an already configured account. I know you’re busy, so just throwing that out there.

Thanks again!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

You could…. but I don’t have enough time to implement this at the moment.

It’s not a super important extension in regards to my workflow to add any more features.

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

No problem. I appreciate everything you contribute. Good luck with all your projects.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen
You mean yo don’t have LG Quarantine installed already…. shame on you! Anyway the download is fixed. Cheers

Getting around to it, getting around to it!! 😉

You release so many things with such short time-spaces between (which is absolutely fantastic by the way - definitely not moaning there 😉 ) that as soon as I see one you have let another one out of its cage!! 😉

Will definitely by taking a look at the Quarantine extension too, that one sounds fantastic.

Best wishes,

Mark

       
Versa Studio's avatar
Versa Studio
572 posts
17 years ago
Versa Studio's avatar Versa Studio

Awesome! You just solved another issue!

Thanks.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Hey guys… I just found another bug and I will update the download soon.

But in the mean time if you have downloaded the extension please update the following lines in the extension file (around line 320):

old

(isset($this->settings['tabs_' . $row['group_id']]) === FALSE) ? '' : $this->settings['links_' .

new

(isset($this->settings['links_' . $row['group_id']]) === FALSE) ? '' : $this->settings['links_' .

Sorry for any trouble 😊

       
Versa Studio's avatar
Versa Studio
572 posts
17 years ago
Versa Studio's avatar Versa Studio

Leevi,

Will you have an updated release for this soon?

Thx,

Ben

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Yeha I should have a new version ready by the end of the weekend.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Hey guys…

Just a quick note to say LG Add CP Tabs has been rewritten and released on my site with documentation. Don’t forget to share the love and bookmark on delicious, digg, design float or whatever tickles your fancy!

Grab LG Add CP Tabs v1.1.0 from my site.

       
1 2

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.