News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

KeyWords Generator (AutoKeywords)

Started by grafitus, September 23, 2009, 04:55:16 AM

Previous topic - Next topic

GohighVoltage


giveaway365.com

It does not install on RC3 clean install.

Bruno36

Hello!

The line is not found in index.template.php

<meta name="keywords" content="', $context['meta_keywords'], '" />
Bruno36 the French
SMF 2.0.9

Arantor

Your theme is slightly different. The principle code is below. Note the use of . instead of , in the code.

function template_html_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
<meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
<title>', $context['page_title_html_safe'], '</title>';

GohighVoltage

when I replace what I am suppose to the board fails.   What would I replace here?

   // Show right to left and the character set for ease of translating.
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"';, $context['right_to_left'] ? ' dir="rtl"' : '', '>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
   <meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
   <meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
   <title>', $context['page_title_html_safe'], '</title>';

   // Please don't index these Mr Robot.
   if (!empty($context['robot_no_index']))
      echo '
   <meta name="robots" content="noindex" />';

   // Present a canonical url for search engines to prevent duplicate content in their indices.
   if (!empty($context['canonical_url']))
      echo '
   <link rel="canonical" href="', $context['canonical_url'], '" />';

   // The ?rc3 part of this link is just here to make sure browsers don't cache it wrongly.
   echo '
   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index', $context
Logged
High Voltage Computer Service and Repair, Edwardsville IL

GohighVoltage

Need some adive at it will not clean install.  Please.

SAFAD

hmmmm
i don't get why you can't install it in RC3
i installed it in all my boards and it works enough
try the Parser
http://custom.simplemachines.org/mods/index.php?action=parse;mod=2129;attach=138379;smf_version=2.0_RC3
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Arantor

Because the code changed in RC3 and it can't be manually installed because it's different as I posted above?

GohighVoltage

Its a great mod,  but I am gonna wait until there is an update for a clean install in RC3.

Thanks guys!

SAFAD

Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

GohighVoltage

Arantor is right,  the code changed with RC3, and you cannot do a manual install.

SAFAD

ok
finished
now am testing
then i upload
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

giveaway365.com

let us know once you have uploaded.

dbg20

#93
For 2.0 RC3 default theme in index.template.php

Replace:

<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
<meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '



With this:


<meta name="description" content="', $context['page_title_html_safe'], '" />;
';
if (!empty($context['current_topic'])){
$keystring = str_replace(' ', ',', trim($context['page_title_html_safe']));
  echo '<meta name="keywords" content="', $keystring, '" />';
   }
elseif (!empty($context['current_board'])){
$keystring = str_replace(' ', ',', trim($context['page_title_html_safe']));
  echo '<meta name="keywords" content="', $keystring, '" />';
}
else
    {
  $keystring = str_replace(' ', ',', trim($context['page_title_html_safe']));
  echo '<meta name="keywords" content="', $keystring, '" />';
    }
   echo '

giveaway365.com

is that solution stable? can the author give us RC3 ready mod :)

GohighVoltage

Any word on a Good update that will install properly?

GohighVoltage

So I guess it won't be updated for RC3.    It is a great mod.   Wish it was fixed for a clean install.

Arantor

* Arantor wonders why everyone raves about a mod that probably won't help you at all, at *best* it'll reduce penalties from Google, at worst it'll do nothing or penalise you.

GohighVoltage

That is true.  I guess,  I like it in hopes it helps index better for keywords.   Not really necessary though

SAFAD

Sorry mates
now its UPDATED
really
but not tested
it will 100% work in all RC3 Curve Based Themes
sorry cuz school got me
i'll get rid of it in June The 4th
Best Regards
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Advertisement: