Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

KissMT Dynamic SEO Meta Tags


FWR Media

Recommended Posts

Installer_class.php head-to-head KissMT and USU5

 

USU5

 

function fields_exist( $table_to_field_array ) {

   if ( is_array( $table_to_field_array ) ) {
     foreach ( $table_to_field_array as $table => $field ) {
       //if( !key($field) ) return false;
       $query = "SHOW COLUMNS FROM `" . $table . "` LIKE '" . key( $field ) . "'";
       $result = $this->db->query( $query );
       $row = $this->db->fetchArray( $result );
       $this->db->free( $result );
       if( $row === false ) {
         return false;
       } 
     }

 

KissMT

 

function fields_exist( $table_to_field_array ) {
   if ( is_array( $table_to_field_array ) ) {
     foreach ( $table_to_field_array as $table => $field ) {
       $query = "SHOW COLUMNS FROM `" . $table . "` LIKE '" . key( $field ) . "'";
       $result = $this->db->query( $query );
       $row = $this->db->fetchArray( $result );
       $this->db->free( $result );
       if( $row !== false ) {
         return false;
       } 
     }

 

What is the difference:

 

USU5

if( $row === false ) {

Kiss Mt

if( $row !== false ) {

 

My question here is which installer_class.php should I use to have both contribs installed as one.

 

Cheers Fab

Link to comment
Share on other sites

Installer_class.php head-to-head KissMT and USU5

 

USU5

 

function fields_exist( $table_to_field_array ) {

   if ( is_array( $table_to_field_array ) ) {
     foreach ( $table_to_field_array as $table => $field ) {
       //if( !key($field) ) return false;
       $query = "SHOW COLUMNS FROM `" . $table . "` LIKE '" . key( $field ) . "'";
       $result = $this->db->query( $query );
       $row = $this->db->fetchArray( $result );
       $this->db->free( $result );
       if( $row === false ) {
         return false;
       } 
     }

 

KissMT

 

function fields_exist( $table_to_field_array ) {
   if ( is_array( $table_to_field_array ) ) {
     foreach ( $table_to_field_array as $table => $field ) {
       $query = "SHOW COLUMNS FROM `" . $table . "` LIKE '" . key( $field ) . "'";
       $result = $this->db->query( $query );
       $row = $this->db->fetchArray( $result );
       $this->db->free( $result );
       if( $row !== false ) {
         return false;
       } 
     }

 

What is the difference:

 

USU5

if( $row === false ) {

Kiss Mt

if( $row !== false ) {

 

My question here is which installer_class.php should I use to have both contribs installed as one.

 

Cheers Fab

 

You are over complicating things Fab

 

When you install USU5 you use the installer and installer_class provided (they work) then delete them.

 

When you install KissMT you use the installer and installer class (they work) then delete them.

Edited by FWR Media
Link to comment
Share on other sites

At code level, keeping to the optional extras installer.php and installer_class.php one cannot install a cart with pre-complied contribs of USU5 and KissMT as a one single installation, as one db installer would override the other.

 

Ideal to have an merged installer as an extra.

 

What do you think.

 

Cheers Fab

 

Fab if I wanted a merged installer then I would have written one.

 

This dev thread is about testing KissMT.

Link to comment
Share on other sites

Shall I remove any duplicates for the code to work or are they ok as they are..

 

Cheers Fab

 

You have misunderstood the code Fab.

 

And as I said can we keep this to KissMT please.

Link to comment
Share on other sites

Hi Rob,

 

I just pointed out an idea for the KissMT contrib extras/optional extras folder [without the need to run one installer, delete it, upload the second one, run it and delete it, etc.]kind of option.

 

Regs Fab

Link to comment
Share on other sites

Hi Rob,

 

I just pointed out an idea for the KissMT contrib extras/optional extras folder [without the need to run one installer, delete it, upload the second one, run it and delete it, etc.]kind of option.

 

Regs Fab

 

Ok .. what are your thoughts on KissMT?

Link to comment
Share on other sites

Ok .. what are your thoughts on KissMT?

 

Hi Rob,

 

Will let you know shortly as the new hosting and the new domain haven't propogated enough.

 

Script wise...

 

Very simple and very straight forward. One thing that I dread is contribs that change core files heavily.

 

Cheers Fab

Link to comment
Share on other sites

Hi Rob,

 

Its fantastic and very very fast>>>

 

I am playing around with it at the moment.

 

Have a go at it as well on my server the link is here

 

Cheers Fab

 

If you go to admin

 

Configuration > Minimum Values

 

and change Search Results to 4

 

You can then go to (site)..

 

DVD Movies > Action click on the "paging" and view source you'll see the canonical tags in action preventing duplicate content.

Link to comment
Share on other sites

Hello!

 

Maybe I can also test it.

 

Can you send me the link?

 

Thanks!

 

The more the merrier Daniel, link sent.

Link to comment
Share on other sites

Just so testers are aware.

 

there is currently no length management for title/keywords .. this amongst a few other things has already been handled in a new revision which will be made available "at some stage".

Link to comment
Share on other sites

Please note those testing that this is a beta test and therefore not yet recommended for use on a live site (although just about ready with the next revision).

 

 

If you do use this on a live site there may well not be an easy upgrade path when the script is actually released (although I'll obviously help where I can).

Link to comment
Share on other sites

New Version 1.0 Release Candidate r41

 

 

For those testers who have the download address it is the same just a different filename ..

 

KissMT_1.0_r41_RC.zip

 

For anyone wishing to try out the release candidate just leave a message here and I'll pm you a link.

 

Changelog:

Meta title now has a length setting

Meta keywords now has a length setting

A short title like "hardware" is now padded up to a longer length.

 

Testers upgrade:

Run the db uninstall script in extras then install as normal, you can just drop on top the main uploads directory.

 

Existing Testers Beware:

Your homepage text will change .. see the kissmt.php language files.

Where you have used KissMT for the page titles the code has changed to ..

 

echo KissMT::init()->page_title . PHP_EOL;

Link to comment
Share on other sites

New Version 1.0 Release Candidate r41

 

 

For those testers who have the download address it is the same just a different filename ..

 

KissMT_1.0_r41_RC.zip

 

For anyone wishing to try out the release candidate just leave a message here and I'll pm you a link.

 

Changelog:

Meta title now has a length setting

Meta keywords now has a length setting

A short title like "hardware" is now padded up to a longer length.

 

Testers upgrade:

Run the db uninstall script in extras then install as normal, you can just drop on top the main uploads directory.

 

Existing Testers Beware:

Your homepage text will change .. see the kissmt.php language files.

Where you have used KissMT for the page titles the code has changed to ..

 

echo KissMT::init()->page_title . PHP_EOL;

 

Hi Rob, can you resend me the link as I cannot get to it.

 

Cheers Fab

Link to comment
Share on other sites

Hi Rob, can you resend me the link as I cannot get to it.

 

Cheers Fab

 

The link is the same Fab but change the filename to KissMT_1.0_r45_RC.zip

Link to comment
Share on other sites

Hi Rob, the link is just not working for me :-(

 

You can't click on the link as the forum breaks it as I mentioned before, you have to copy and paste the WHOLE LINK not just the underlined bit (perhaps into notepad or something) .. then change the filename to KissMT_1.0_r45_RC.zip

Link to comment
Share on other sites

Virtually at the release stage now.

 

New revision: KissMT_1.0_r47_RC.zip

 

Upgrading just drop the modules/kiss_meta_tags/ files on top from the uploads folder.

 

just a stupid mistake where the new page_title was not cached.

Edited by FWR Media
Link to comment
Share on other sites

it looks promising. What do you require us to test... or I should say, what feedback would you like to have? how it worked on generating the tags or also to let you know eventually if we see an improvement in our ranking?

 

Well .. just how easy to install, how easy to operate, that you are happy with the outcome and yes, eventually (as ranking takes time) how well it is performing for the SERPS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...