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: Weegee - Add thumbnail image for entries on the EE CP Edit page

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I’ve seen this come up a LOT lately, with different extensions. Did you recently upgrade anything on the server? The line in question is always:

$SESS->cache['mdesign'][trim($tmp[0])]['latest_version'] = trim($tmp[1]);

That whole “_check_for_updates” function is TOTALLY useless and outdated.

What I would do is this:

1) rip out EVREYTHING from line 245 (a comment line with a lot of equal signs) to the end of the file, leaving

// END
}
?>

at the bottom (to close the class).

2) Then remove line 100:

'control_panel_home_page' => 'control_panel_home_page',

because we no longer need that hook.

3) Ah, this is getting a little stupid. Let me rip out all that stuff and post a new version. Back in a few.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I removed all that old update checking that actually wasn’t checking anything. Letest version of Weegee (1.0.1) is now available on the Weegee page.

To get all errors to go away (because I removed two settings) you may need to uninstall/reinstall the extension. Remember your settings!

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

Ryan– will you be making that same change to MD Add Sitename?

       
Eric Barstad's avatar
Eric Barstad
198 posts
16 years ago
Eric Barstad's avatar Eric Barstad

Thanks, Ryan. That did the trick.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I could make that change to MD Add Sitename, yeah. I’ll see if I can do that today. I would encourage you to use LG Add Sitename if you need a fix right away - it’s a more robust extension in many ways.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

My needs are simple– just the name in a color– and MD AS works fine for it!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

How come I’m the guy always creating the “simple” extensions for “simple” needs? 😉

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

I am comfortable saying that, while MD Add Sitename is for simple needs, MD MarkItUp 1.6 is for people with professional, complex needs and is extremely up to the task. It’s worth every penny!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

OK, MD Add Sitename 1.2.2 is up. I removed the old-school update checking. I’ll also update this info on the original Add Sitename thread.

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Off-topic, sorta, but having the same issue with update checking in Dulee Noted. You might want to update that one too. And maybe MarkItUp Free, even though you’ve discontinued it?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Thanks for the report, Adrienne. I’ll work on updating those as soon as I can.

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Hi Ryan, I’m trying to download Weegee from your site: http://www.masugadesign.com/download.php?ext.weegee_101.zip and get the following error:

Either a referer was not sent or it was from another domain. The attempt has been logged and action will be taken if necessary. Please be aware that download applications that hide referers, such as GetRight, GoZilla! and Download Accelerator Plus, will prevent you from downloading files here. It is recommended that you disable the download managers and use your browsers in-built downloader.

Any ideas?

Cheers,

Peter

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Yeah…that’s this old download counting/protection script that I was using. Looks like it might be going haywire.

I really thought I had this at GitHub. I’ll add it there. Give me a little while and I’ll post back here when it’s all set.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

OK, I put MD Weegee on GitHub. A few minor updates to it, which are listed in the README there.

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Brilliant, Thanks Ryan.

Alas you need to update line 156 to read:

$LANG->fetch_language_file('md_weegee');

It’s currently looking for the old language file (just weegee).

It works perfect.

Quote from your site:

NOTE: If you need an image preview that will work with a regular custom field, or with more than one field in different weblogs, you should check out LG Image Preview. It takes the main idea behind Weegee and runs a bit further. (I haven’t confirmed whether it will work with a ‘File’ field type).

LG Image Preview doesn’t work with Mark’s ‘File’, as that’s the first one I tried.

Cheers,

Peter

       
1 2 3 4

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.