3 of 3
3
Extension: Add Site Name (to Control Panel header) The original! ;-)
Posted: 13 September 2007 01:05 PM   [ Ignore ]   [ # 37 ]  
Research Assistant
RankRankRank
Total Posts:  811
Joined  2005-08-05

This is awesome. THANK YOU.

Profile
 
 
Posted: 21 March 2008 12:35 PM   [ Ignore ]   [ # 38 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1354
Joined  2006-03-26

I just updated this to 1.1.5 - it accounts for sites using a .png instead of .ico. See the download and attached screen in the first post.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 26 May 2008 08:33 PM   [ Ignore ]   [ # 39 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1354
Joined  2006-03-26

Just updated this to version 1.2.0. In this version:

* fixed a bug where styles could be rendered in head more than once
* added documentation URL
* added version checking (Thanks Leevi Graham) (see pic)
* fixed a default settings problem
* added a check to see if Extension info is in session or cache to keep things speedy (again, thanks, Leevi.)

I have to give Leevi Graham big props for showing me how to ‘properly’ do an Extension - and for borrowing liberal amounts of well written cache and update-checking code.

You can download it at: http://www.masugadesign.com/the-lab/scripts/add-sitename/

Image Attachments
updates.jpg
Click thumbnail to see full-size image
 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 27 May 2008 11:24 PM   [ Ignore ]   [ # 40 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  662
Joined  2006-01-24
mdesign - 26 May 2008 08:33 PM

Just updated this to version 1.2.0. In this version:

* fixed a bug where styles could be rendered in head more than once
* added documentation URL
* added version checking (Thanks Leevi Graham) (see pic)
* fixed a default settings problem
* added a check to see if Extension info is in session or cache to keep things speedy (again, thanks, Leevi.)

I have to give Leevi Graham big props for showing me how to ‘properly’ do an Extension - and for borrowing liberal amounts of well written cache and update-checking code.

You can download it at: http://www.masugadesign.com/the-lab/scripts/add-sitename/

Hey Ryan,

Thanks for all the props… I’m just about to release an update to my ‘inspired’ version of LG Sitename. It fixes a couple of issues with checking for updates so you might want to incorporate those into your extension. Also I have added MSM support so I am sure that will be of interest as well.

Good work on the latest release!

 Signature 

leevigraham.com

VIEW ALL MY EE ADDONS

LG Polls - Now Available
LG Better Meta 1.5
LG TinyMCE 1.2.1

Profile
 
 
Posted: 27 May 2008 11:37 PM   [ Ignore ]   [ # 41 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1354
Joined  2006-03-26

I learned a lot by trying to pick apart what you do. There really needs to be a how to on add-on development, like Lisa is doing in the EE Blog with her bug tracker example. Seems like you have to do so much digging to find the most basic things out about how to put together an Extension.

I think I know how to incorporate MSM (loop through for each site id...which I think I saw in another one of your extensions...I had them ALL open, man!) - but I’m not sure I want to spend too much time on it with Add Sitename (EE 2.0 coming up, etc etc).

I also give you some link love on my Add Sitename page. I figure if I’m liberally reusing as much code as I am, the least I can do is point to your stuff everywhere I can.

I really like the addition of checking for updates. I think the next trick will be seeing if I can generate the version-check template dynamically, which I’m not currently doing. I have my add-on versions as their own custom field, so that shouldn’t be too difficult, I don’t think.

Anyway, thank YOU!

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 28 May 2008 12:00 AM   [ Ignore ]   [ # 42 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  662
Joined  2006-01-24
mdesign - 27 May 2008 11:37 PM

I learned a lot by trying to pick apart what you do. There really needs to be a how to on add-on development, like Lisa is doing in the EE Blog with her bug tracker example. Seems like you have to do so much digging to find the most basic things out about how to put together an Extension.

I started writing a tutorial on how I added checking for updates. I think its a bit buggy now but I might revisit it. If you want to check it out it was here: http://leevigraham.com/tutorial.php & source: http://leevigraham.com/tutorial.phps

mdesign - 27 May 2008 11:37 PM

I think I know how to incorporate MSM (loop through for each site id...which I think I saw in another one of your extensions...I had them ALL open, man!) - but I’m not sure I want to spend too much time on it with Add Sitename (EE 2.0 coming up, etc etc).

Yep that’s basically the idea.... The only issue I encountered was building my own extension setting form… you will notice a couple of my comments in the source of the next release… They go some thing a little like this “^%$%%^^!!!!!!” Once you have it figured out tho its fairly easy.

mdesign - 27 May 2008 11:37 PM

I also give you some link love on my Add Sitename page. I figure if I’m liberally reusing as much code as I am, the least I can do is point to your stuff everywhere I can.

Well I borrowed your idea for inspiration so I think we are both benefiting smile

mdesign - 27 May 2008 11:37 PM

I really like the addition of checking for updates. I think the next trick will be seeing if I can generate the version-check template dynamically, which I’m not currently doing. I have my add-on versions as their own custom field, so that shouldn’t be too difficult, I don’t think.

Yeah good idea. I did think about that but then I thought I don’t want EE being hit over and over again for a simple text file. So I chose to just update it manually.

 Signature 

leevigraham.com

VIEW ALL MY EE ADDONS

LG Polls - Now Available
LG Better Meta 1.5
LG TinyMCE 1.2.1

Profile
 
 
   
3 of 3
3
 
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: 58134 Total Logged-in Users: 24
Total Topics: 68142 Total Anonymous Users: 13
Total Replies: 366990 Total Guests: 392
Total Posts: 435132    
Members ( View Memberlist )
Newest Members:  Doug LernerATATJacob SmithalixJonathon VSgoodbergerDelia RitherdonbborunXofzainabob