2 of 3
2
Extension: MD Dulee Noted. A non-editable note field type to add instructions to weblogs
Posted: 10 June 2008 02:16 PM   [ Ignore ]   [ # 19 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

Yep… listed above in post #13. Here they are again:

ext.disable_news_feed.php
ext.fresh_variables.php

Profile
 
 
Posted: 10 June 2008 02:22 PM   [ Ignore ]   [ # 20 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Oops, I knew you had listed those, sorry - these long days are killing my attention span. I’m sure Fresh Variables is fine, as that’s newer, but Disable news feed I think is a little older. The version I have locally here on my machine is 0.5. That’s not using any of the hooks I am…hmm. Maybe the punk who wrote Fresh Variables is to blame! (oops…that’s Derek!)

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 10 June 2008 02:43 PM   [ Ignore ]   [ # 21 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

When I get a chance later today (now that I know how to recover), I’ll disable those other extensions one at a time and try again to install Dulee Noted, and let you know how it goes.

Profile
 
 
Posted: 17 June 2008 09:23 PM   [ Ignore ]   [ # 22 ]  
Grad Student
Rank
Total Posts:  39
Joined  06-09-2008

Hi, Im getting the same error on a fresh install of 1.6.3 and I dont have any other extensions installed…

The instructions were a little unclear, so can you clarify the following please:

Do I upload the dulee_noted folder to extensions? Or just the files in it? Does the language file go with the main file, or does that go into the main language/english folder?

Where should I have the jquery file? In a js folder in the extensions directory? or in a js folder of the site root?

So basically, now I have a blank admin panel… and will need to follow your previous instructions to uninstall it. Is it possible this plugin just isnt compatible with 1.6.3?

 Signature 

andy.net.nz

Profile
 
 
Posted: 17 June 2008 09:49 PM   [ Ignore ]   [ # 23 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

The plugin was developed on 1.6.3, so I’m sure compatibility isn’t a problem. The folder is just a container for the two files - not needed.

Let’s back up a sec - this works like any other extension.

1) ext.dulee_noted.php goes in /system/extensions/
2) lang.dulee_noted.php goes in /system/language/english/
3) jQuery goes wherever you want it. I’d suggest putting it in a “scripts” or “js” folder at the root of your site.
4) Enable the Extesnion.
5) Click “Settings”. Make sure the path to the jQuery file is correct.

That should be all you have to do. I may do a little more testing to see if I can replicate any issues.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 17 June 2008 10:05 PM   [ Ignore ]   [ # 24 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

I did go into this and look at it - and I should probably rewrite some parts of it to use a different hook. The problem is that you can add stuff to the header in a couple ways, and I think I may have picked the no-so-best way to add stuff to the header in Dulee Noted.

I need to get away from the preg_replace crap, apparently. Here’s hoping that this stuff is easier to do and better documented in EE 2.0.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 17 June 2008 11:03 PM   [ Ignore ]   [ # 25 ]  
Grad Student
Rank
Total Posts:  39
Joined  06-09-2008

Thanks for the quick reply Ryan, its not urgent for me, so I will wait for 2.0 anyway. Now to have a play with your other plugins smile

 Signature 

andy.net.nz

Profile
 
 
Posted: 17 June 2008 11:12 PM   [ Ignore ]   [ # 26 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

OK, I rewrote Dulee Noted, and hopefully it will help out with some of these ridiculous blank CP’s we’re hearing about! I’m no longer using any preg_replace madness. Some changes:

- Using a different hook to put code in the header
- Got rid of superfluous “Instructions” text inside the box
- Added Update checking (check the settings page for this) to check Masuga Design to see if there is a newer version

You should probably disable this extension first, if you have version 1.0.8, upload these files, and then re-enable it.

You can get Version 1.1.0 here.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 17 June 2008 11:24 PM   [ Ignore ]   [ # 27 ]  
Grad Student
Rank
Total Posts:  39
Joined  06-09-2008

Woohoo! Great job Ryan, works perfectly now! Thanks for the update mate!

 Signature 

andy.net.nz

Profile
 
 
Posted: 29 June 2008 12:45 PM   [ Ignore ]   [ # 28 ]  
Lab Technician
RankRankRankRank
Total Posts:  1021
Joined  03-25-2005

Just a heads up,

I installed it and had jquery. The field showed but was like the other fields, but couldn’t write into it like normal (thats understandable)
The instructions appeared above the field same as other fields that had them.

Problem was, the jquery file was an older version. Updating jquery to jquery-1.2.6.js
fixed it!

Wow, built in tutorials that can be closed, closed by default, reminders to clients, code samples for them to copy and paste, more reminders! lol
How about…Did you remember to pay your web developer today? wink


Thanks for a great extension!

 Signature 

BKDesign Solutions - Learn XHTML and use   Web Standards to build accessible websites that validate

Profile
 
 
Posted: 29 June 2008 01:33 PM   [ Ignore ]   [ # 29 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Right, I supply a default value for the jQuery file, which is just an educated guess. You can either change the value there to whatever version you’re using, or update your jQuery to match.

Without a correct jQuery path the instructions will show like normal, and above their box. The jQuery is used to put the instructions in the box.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 05 August 2008 11:03 AM   [ Ignore ]   [ # 30 ]  
Grad Student
Avatar
Rank
Total Posts:  70
Joined  07-06-2007

Hey Ryan, thanks for this useful extension.

I’m having a bit of an issue…the text shows up fine BUT the CSS doesn’t seem to be sticking. I’m not seeing a box around the instructions like in your screenshot.

Do you know why that would be? I double checked the path, downloaded latest jquery file, etc, etc.

Thanks,

- Mark (a Friendly Competitor in West Michigan)

 Signature 

Mark Terpstra
http://markterpstra.com

Profile
 
 
Posted: 05 August 2008 11:26 AM   [ Ignore ]   [ # 31 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Nine times out of ten this is an extension conflict.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 05 August 2008 11:54 AM   [ Ignore ]   [ # 32 ]  
Grad Student
Avatar
Rank
Total Posts:  70
Joined  07-06-2007

Ok, I will test. Thanks much.

 Signature 

Mark Terpstra
http://markterpstra.com

Profile
 
 
Posted: 07 October 2008 06:10 PM   [ Ignore ]   [ # 33 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Dulee Noted (Now MD Dulee Noted) has been updated to 1.2.0.

* MSM aware
* No more reliance or need for jQuery
* Compatible with LG Addon Updater extension to detect new updates
* Uses EE’s Control Panel box style
* Set the field formatting type! (You’re viewing Xhtml in the attached pic)

You can download it from the MD Dulee Noted Page.

Big thanks to Leevi Graham of Newism for his suggestions and tweaks to the previous version that helped make this version much better.

Image Attachments
dulee_noted_120promo.jpgdulee_noted_130_updater.png
Click thumbnail to see full-size image
 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 08 October 2008 07:09 AM   [ Ignore ]   [ # 34 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

I’m running into some issues with 1.2.0 where the settings aren’t being read. Deron Sizemore also pointed out an error on Twitter this morning:

I keep getting Undefined index: enable in /web/ksba.org/system/extensions/ext.md_dulee_noted.php on line 364 when I enable it

Line 364 is this:

if($this->settings['enable'] == 'y')


which, in English, is just saying if that if this extension is enabled for this site, carry on. I just got the same error myself installing this on a new site this morning. I checked directly in the database and the settings are in there, but for some reason, the extesnion is not seeing whether or not it is enabled or not.

I’m looking into this now. Not the way I wanted to spend my morning, but you gotta do what you gotta do, and this sort of problem drives me crazy. If any other PHP/entension writing people care to take a look - please do.

ADD: Deron, what version and build of EE did you try this on?

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 08 October 2008 07:38 AM   [ Ignore ]   [ # 35 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1570
Joined  08-02-2006

Just installed the newest version and am receiving this message when I go to the “add new custom field” page:

Notice: Undefined index: enable in /web/ksba.org/system/extensions/ext.md_dulee_noted.php on line 364

I was using the previous version of Dulee Noted with no issues. I disabled the old version and completely removed it from my server before installing the new version. Once installed I get the notice above and the new “dulee noted” field type never pops up in the drop down list when creating a new field.

Other extensions I have installed are Textile Editor Helper, LG Site Name, and Tab Forward.

Running EE version 1.6.4 Build: 20080710

Let me know if you need any additional info.

Thanks

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 08 October 2008 07:48 AM   [ Ignore ]   [ # 36 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Well, if you read all my ranting tweets from this morning, you know this issue almost brought me to introduce Mr. Fist to Mr. Wall grin I have no clue why it isn’t reading the settings. I have this working perfectly on a local install, but like you, I installed this on a site this morning and got the exact same errors.

For now I may have to pull the MSM out - but I ran into a further problem when I tried commenting all that MSM stuff out…I got an error on “$this->settings[‘css’]”, which means it basically cannot read the settings at all - and there are only three basic settings: enable, css, and check for updates.

This is probably some dumb typo that I can’t find but that still doesn’t explain why it works flawlessly on my local install which led me to believe I could release 1.2.0 without issue.

Sorry for the headache.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
   
2 of 3
2
 
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 09:33 AM
Total Registered Members: 65095 Total Logged-in Users: 56
Total Topics: 82241 Total Anonymous Users: 32
Total Replies: 442004 Total Guests: 250
Total Posts: 524245    
Members ( View Memberlist )