1 of 2
1
Better Meta Extension and Plugin - Looking for testers
Posted: 22 July 2007 09:59 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

** UPDATE: I have released V1 of this extension. Refer to this thread **

Hi Guys, Im working on a new meta plugin that adds an extra tab to the publish page and allows you to customise the title and meta tags in the head of your page. Anyone keen to help me test it?

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 23 July 2007 03:10 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  135
Joined  05-25-2002

Do not hesitate add me on your beta-testers list smile

Gabriel

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 23 July 2007 07:03 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  34
Joined  01-11-2006

I’m ready!!

Profile
 
 
Posted: 23 July 2007 08:11 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  112
Joined  04-23-2004

Not to be one to ever turn away a new plugin, but couldn’t this be done using custom weblog fields?

 Signature 

Hemingway for EE | Ocean Mist for EE | Salmon for EE | DePo Clean for EE | DePo Skinny for EE

Profile
 
 
Posted: 23 July 2007 09:02 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007
CrimsonDawn - 23 July 2007 08:11 AM

Not to be one to ever turn away a new plugin, but couldn’t this be done using custom weblog fields?


well the bad thing of having it as a custom field is:
1. you need to use the {exp:weblog:entries} and let him output the selected fields
2. need to add 2 more fields (i don’t like crowded publish page)

Advantages:
You can use conditionals to check if the custom field has something (if not show default meta)


i welcome this plugin if it has the ability to use conditionals heh :D

And sign me up for beta tester

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 23 July 2007 09:42 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  597
Joined  10-22-2006

The problem with custom fields as it is, is that you have to create them for each and every fieldgroup you have ...
I’d be interested, too.

Profile
 
 
Posted: 23 July 2007 04:24 PM   [ Ignore ]   [ # 6 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

Hi Leevi,

Would also like to get in on testing this out for you too. I love to see all the new plugins, extensions and modules and I think it is great when people share what they have created as it allows others to learn (hopefully if my brain can take in all the code!! grin ) from the said plugin etc..

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 23 July 2007 05:57 PM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Ok guys,

Here is the first beta. Ill leave it up for a couple of days an then pull it again for more testing.

You can grab it from the link at the top of the thread.

There is a readme.txt included on usage and installation. I can only confirm that the plugin works with EE1.6 - Build:  20070708

Enjoy

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 24 July 2007 12:49 PM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007

ok now where do you have an Documentation for this..
cause i see the meta tab but i also see at extension setting that you can fill in the details
(will these ones be default ?)
and what about conditionals :D hehe
so many questions

seems to do it’s job (yust don’t know how to break it yet) hehe

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 24 July 2007 03:46 PM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006
Leevi Graham - 23 July 2007 05:57 PM

There is a readme.txt included on usage and installation.

@Victor: see above
@Everyone: I found the first bug! Its only a one liner at this point. Please change line 45 of the plugin file from:

// if there is an entry id
if($TMPL->fetch_param('entry_id')){


to

// if there is an entry id
if($TMPL->fetch_param('entry_id') && ctype_digit($TMPL->fetch_param('entry_id'))){


or download the fix

this fix checks if you passed a number as the entry_id.

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 28 July 2007 11:18 AM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007

ok i think this is how it suppose to work?


<HTML>
<
HEAD>
{exp:weblog:entries weblog="weblog1"}
<TITLE>{title}</TITLE>

{exp:lg_better_meta entry_id="{entry_id}"}
{meta_description}
{meta_keywords}
{
/exp:lg_better_meta}

{
/exp:weblog:entries}


That gives me a php error

if not please show me some example code ?

Another question:
lets say i want to do this

{if meta_description != ""}
{meta_description}
{else}
{default_meta_in_extension_settings}
{
/if}

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 28 July 2007 05:50 PM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006
Victor G - 28 July 2007 11:18 AM

ok i think this is how it suppose to work?


<HTML>
<
HEAD>
{exp:weblog:entries weblog="weblog1"}
<TITLE>{title}</TITLE>

{exp:lg_better_meta entry_id="{entry_id}"}
{meta_description}
{meta_keywords}
{
/exp:lg_better_meta}

{
/exp:weblog:entries}


That gives me a php error

if not please show me some example code ?

Another question:
lets say i want to do this

{if meta_description != ""}
{meta_description}
{else}
{default_meta_in_extension_settings}
{
/if}

Hey victor:

The readme says: LG Better Meta only has one tag {exp:lg_better_meta}.. Looking back I need to make this a little clearer.

LG Better Meta only has one single tag which outputs the template in the extension settings.

So here is an exaple:

<head profile="http://gmpg.org/xfn/11">
  <
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  
{exp:lg_better_meta entry_id="2"}
</head>

I have found there is still some bugs if you are trying to embed you header and pass through the entry_id as an embeded variable. Im tryig to figure out a solution in the next couple of days.

Also if you are using any other plugins that add tabs to the publish page this plugin will overide them at the moment. A fix is included in the upcoming release.

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 July 2007 05:26 AM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

I have updated the beta to beta version to 1.2 with fixes for a couple of issues and an updated readme.

You can grab it at the top of the thread

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 14 August 2007 04:55 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007

you forgot the language file in the 1.2 beta .zip file…

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 16 August 2007 04:45 PM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006
Victor G - 14 August 2007 04:55 PM

you forgot the language file in the 1.2 beta .zip file…

My mistake..

You can grab it from the top of the thread

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 18 August 2007 09:06 AM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007

OK i just tested it on another installation and i am getting this error when i enable the extension:

Notice: Undefined property: Preferences::$core_inin in /home/raine/public_html/removed/system/extensions/ext.lg_better_meta.php on line 98

Warning
: Cannot modify header information - headers already sent by (output started at /home/raine/public_html/REMOVED/system/extensions/ext.lg_better_meta.php:98) in /home/raine/public_html/removed/system/core/core.functions.php on line 296

and it does enable the extension when you hit the back button.

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 20 August 2007 10:06 PM   [ Ignore ]   [ # 16 ]  
Grad Student
Avatar
Rank
Total Posts:  97
Joined  11-17-2006
Victor G - 18 August 2007 09:06 AM

OK i just tested it on another installation and i am getting this error when i enable the extension:

Notice: Undefined property: Preferences::$core_inin in /home/raine/public_html/removed/system/extensions/ext.lg_better_meta.php on line 98

Warning
: Cannot modify header information - headers already sent by (output started at /home/raine/public_html/REMOVED/system/extensions/ext.lg_better_meta.php:98) in /home/raine/public_html/removed/system/core/core.functions.php on line 296

and it does enable the extension when you hit the back button.

There was a typo on line 98:

'lg_better_meta_author' => $PREFS->core_inin['webmaster_name']));

Should be:

'lg_better_meta_author' => $PREFS->core_ini['webmaster_name']));

After that it seems like its working.  It’s a pretty useful plugin.  I really hate recreating commonly use fields for each of my blogs.  I haven’t really tested it much yet until my next project.

Any reviews so far?

 Signature 

Flexible & Scalable Solutions
Laxa Inc. & Expression Engine Stuff

Profile
 
 
Posted: 20 August 2007 11:52 PM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Thanks for being patient guys… I uploaded the fix over the old version… just use the same links.

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 21 August 2007 06:26 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  717
Joined  07-02-2007

Maybe a great idea is be able to turn it on/off on a per weblog basis ? (just like the pages menu)

CP Home ›  Admin ›  Weblog Administration ›  Weblog Management ›  Edit Weblog > Publish Page Customization

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
   
1 of 2
1
 
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: 65026 Total Logged-in Users: 40
Total Topics: 82115 Total Anonymous Users: 18
Total Replies: 441304 Total Guests: 193
Total Posts: 523419    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt