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 Better Meta 1.6 - Updated

Development and Programming

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

Update 1.6.1:

  • Added LG Addon Updater Integration (resolved blank cp issue)
  • Fixed some bugs with the update script

Hey guys,

Just a quick note to say LG Better Meta 1.6.0 is available. It has some new features and fixes a couple of little bugs.

I have also removed the free version for a couple of reasons:

  1. It was getting pretty buggy and old
  2. I don’t have time to support a full version and a free version

Check it out on my site!

Cheers Leevi

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

Leevi, I have Better Meta 1.6.0 Commercial installed on a site and although it is working fine, it’s making the Plugins main page of the CP blank. I am getting this error at the top:

Fatal error: Call to a member function on a non-object in /home/site/public_html/system/plugins/pi.lg_better_meta.php on line 398

The site is running PHP Version 4.4.8, mySQL 4.1.22. Any quick thoughts about that?

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

Hmmm…. not sure what that is about.. I have emailled you the latest version to see if that helps. The plugin code hasn’t changed drastically from the last version.

       
hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

Just purchased the commercial version, downloaded and installed and I’m observing a few unexpected things.

First, after providing all the default settings to the extension, then going to my CP Home, I got

Warning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/jrwildkits.com/httpdocs/jw_cms/extensions/ext.lg_better_meta.php on line 1507

I found a thread where the suggestion was made to disable “Update Notification”. I have done so and it seems to have eliminated the “Warning message”.

I’m currently pulling in multiple weblogs on my index page. Is there a way to tell Better Meta to pull info from multiple weblogs within one page?

Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?

Thanks

PHP Version 5.2.6 MySQL Version 5.0.22 ExpressionEngine 1.6.4 Build 20080710 LG Better Meta (v.1.6.0)

       
hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

One additional question, for data entered to Better Meta at the entry level to override the extensions default settings, is it necessary to display the entry in a single entry template?

Currently, I am able to pass my entry_id/url_title thru an embed grabbing from the URL (as is suggested), and when on a single entry page I see the data entered at the entry level.

But, I’m displaying full entries on my index page and I’d like to override the default settings of Better Meta in this situation as well…

I’ve tried passing a php variable with no success

{embed="includes/_doctype_head" loc="home" entry_id="<?php echo $entry; ?>"}
<body>
{embed="includes/_masthead"}
<div id="content">
  {exp:weblog:entries weblog="article" entry_id="349" limit="1" }
  <?php $entry = '{entry_id}'; ?>
  <h2>{headline}</h2>
  posted {entry_date format="%m.%d.%y"}
  {entry_body}
{/exp:weblog:entries}
</div>

Is there a way to do this?

Thank again.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Just purchased the commercial version, downloaded and installed and I’m observing a few unexpected things. First, after providing all the default settings to the extension, then going to my CP Home, I got
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/jrwildkits.com/httpdocs/jw_cms/extensions/ext.lg_better_meta.php on line 1507
I found a thread where the suggestion was made to disable “Update Notification”. I have done so and it seems to have eliminated the “Warning message”.

I’m guessing your cache folder does not have write permissions.

I’m currently pulling in multiple weblogs on my index page. Is there a way to tell Better Meta to pull info from multiple weblogs within one page?

What kind of information are you referring too? LG Better Meta pulls the meta from a single entry using the entry_id or url_title paramater, or it uses the global meta. For a homepage I suggest you either create a weblog entry called home and manage the meta there or hardcode it into your template.

Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?

I’ll check this one out today. I have an update to LG Better Meta that should be out in the next couple of days. If this is a bug it will be crushed 😊

Cheers

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
One additional question, for data entered to Better Meta at the entry level to override the extensions default settings, is it necessary to display the entry in a single entry template? Currently, I am able to pass my entry_id/url_title thru an embed grabbing from the URL (as is suggested), and when on a single entry page I see the data entered at the entry level. But, I’m displaying full entries on my index page and I’d like to override the default settings of Better Meta in this situation as well… I’ve tried passing a php variable with no success
{embed="includes/_doctype_head" loc="home" entry_id="<?php echo $entry; ?>"}
<body>
{embed="includes/_masthead"}
<div id="content">
  {exp:weblog:entries weblog="article" entry_id="349" limit="1" }
  <?php $entry = '{entry_id}'; ?>
  <h2>{headline}</h2>
  posted {entry_date format="%m.%d.%y"}
  {entry_body}
{/exp:weblog:entries}
</div>
Is there a way to do this? Thank again.

I don’t think your example will work. The $entry variable is being used before it is set.

If you do want to use the first entry on your homepage as the source for the meta I suggest you add another weblog entries loop around the embed. I would also recommend you use the disable, cache and refresh params in the weblog:entries loop to save processing. Turn dynamic off and limit the results to 1 and you should have a small footprint and the proper entry_id to play with.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Also, I’ve set the “Author”, “Publisher”, and “Rights” fields to not display in the extension’s settings, though, they still show up in the Publish Panel? Not too sure how to address?

I just checked the latest version in development and these issues no longer exist. The new version should be onut in the next couple of days.

Cheers

       
hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

Leevi, I really do appriciate you responding to my inquiry so quickly. Thank you.

With respect to passing the variable I figured out pretty quickly it was a paring order issue. I’m now following your suggested solution.

As for my other questions, your replies answer the issues I had wondering about.

Again, thanks!

Regards

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

No worries 😊

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

I’m not sure what version I’m using anymore, as I THINK 1.6.0 is the newest, but somehow I’m running 1.6.1 - thought I can’t remember where I got that. Is that a Beta?

In any case, I’m running 1.6.1 on a site and getting this error:

Notice: Use of undefined constant LG_ACPT_cache_name - assumed ‘LG_ACPT_cache_name’ in /home/site/public_html/system/extensions/ext.lg_better_meta.php on line 1502

Is this a copy/paste error from another extension, or…?

ADD: I should mention that LG Better Meta is making my CP show a lot of blank pages on this build! I changed LG_ACPT_cache_name to LG_BM_cache_name, but just get a blank page in the CP. Should I empty the LG Cache?

ADD 2: I turned off “calling home” because the extension seemed to be blanking out the homepage only.

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

Hey Ryan,

Yep you are using an older beta version of the next release. I have all thos bugs sorted and will release the new version either today or tomorrow.

Cheers

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

Hey guys,

LG Better Meta 1.6.1 is now available. I have fixed a couple of bugs with the update script and added LG Addon Updater integration. This should resolve the blank CP issues.

Cheers Leevi

       
Angie Herrera's avatar
Angie Herrera
357 posts
16 years ago
Angie Herrera's avatar Angie Herrera

Hi Leevi,

I just purchased LG Better Meta today for our studio site and we keep getting the following error on the front-end of the site:

Error

The following tag has a syntax error:

{exp:lg_better_meta}

Please correct the syntax in your template.

I’m using an embedded template for the head portion of the code and followed the instructions on your documentation page. Oddly enough, the extension is working on a client’s development site but that was the previous version I believe.

Not sure what I’m missing.

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

Oh man…. That’s what you get when you upload things at 12am! I forgot to add the plugin to the .zip. I have added it now so just re-download the extension.

Sorry for an inconvenience.

       
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.