News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Easy Edit Meta Data

Started by karlbenson, May 12, 2007, 06:14:10 AM

Previous topic - Next topic

ccbtimewiz

Just because it didn't work in your server/forum environment doesn't mean the modification itself is a complete failure. It works for me fine.

Do note that most of the mod-writers in here aren't getting paid to make these modifications. They put in the little free time they have left from their daily lives to enhance the way we run our forums. Be a bit more respectful and understanding of what they can and can't do/fix.


Drover

Hello, I'm having a little trouble with the code replacement.  It keeps giving me an error.

QuoteParse error: syntax error, unexpected T_STRING, expecting ',' or ';' in index.template.php on line 72

Here's my original code:
// The main sub template above the content.
function template_main_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'], '" />', empty($context['robot_no_index']) ? '' : '
   <meta name="robots" content="noindex" />', '
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
   <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var smf_theme_url = "', $settings['theme_url'], '";
      var smf_images_url = "', $settings['images_url'], '";
      var smf_scripturl = "', $scripturl, '";
      var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
      var smf_charset = "', $context['character_set'], '";
   // ]]></script>
   <title>', $context['page_title'], '</title>';

   // The ?fin11 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'], '/style.css?fin11" />
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';

   /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   if ($context['browser']['needs_size_fix'])
      echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';

   // Show all the relative links, such as help, search, contents, and the like.
   echo '
   <link rel="help" href="', $scripturl, '?action=help" target="_blank" />
   <link rel="search" href="' . $scripturl . '?action=search" />
   <link rel="contents" href="', $scripturl, '" />';

   // If RSS feeds are enabled, advertise the presence of one.
   if (!empty($modSettings['xmlnews_enable']))
      echo '
   <link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';

   // If we're viewing a topic, these should be the previous and next topics, respectively.
   if (!empty($context['current_topic']))
      echo '
   <link rel="prev" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
   <link rel="next" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';

   // If we're in a board, or a topic for that matter, the index will be the board's index.
   if (!empty($context['current_board']))
      echo '
   <link rel="index" href="' . $scripturl . '?board=' . $context['current_board'] . '.0" />';

   // We'll have to use the cookie to remember the header...
   if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);
// Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="' , $settings['theme_url'] , '/hfg.js"></script>
<![endif]-->';

   echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var myfontsize = ', empty($options['myfontsize']) ? '\'90\'' : '\'' . $options['myfontsize']. '\'' , ';
                function setfontsize(size)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_leftbar", mode ? 1 : 0, null, "', $context['session_id'], '");';
        echo '
                        document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("leftbarHeader").style.display = mode ? "none" : "";

                        current_leftbar = mode;
                }
          // ]]></script>
       <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var current_rightbar = ', empty($options['collapse_rightbar']) ? 'false' : 'true', ';

                function shrinkHeaderRightbar(mode)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_rightbar", mode ? 1 : 0, null, "', $context['session_id'], '");';

        echo '
                        document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("rightbarHeader").style.display = mode ? "none" : "";

                        current_rightbar = mode;
                }
        // ]]></script>

   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
         document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // ]]></script>';

   // the routine for the info center upshrink
   echo '
      <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
         var current_header_ic = ', empty($options['collapse_header_ic']) ? 'false' : 'true', ';

         function shrinkHeaderIC(mode)
         {';

   if ($context['user']['is_guest'])
      echo '
            document.cookie = "upshrinkIC=" + (mode ? 1 : 0);';
   else
      echo '
            smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
            document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

            current_header_ic = mode;
         }
      // ]]></script>
</head>
<body>
  <div id="boyutlar">
   <div id="yankenar">
    <div id="yankenar-l">
     <div id="header">
     <div id="userarea">';
   if ($context['user']['is_logged'])
   {
      echo '
                     <b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />';

      // Only tell them about their messages if they can read their messages!
      if ($context['allow_pm'])
         echo $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';

      echo '
                        <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
                        <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';

   }
   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
   else
   {
      echo '           
      ', $txt['welcome_guest'], '
      <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
      <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
         <input type="text" name="user"  size="10" />
         <input type="password" name="passwrd"  size="10" />
         <input type="submit" value="', $txt[34], '" />
         <input type="hidden" name="hash_passwrd" value="" />
      </form>', $context['current_time'],'<br />';
   }

   echo '
   </div>
   <div id="arama">';
      echo '
                     <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                  <a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter1.png" align="middle" style="margin: 0 1ex;" alt="" /></a>
                  <input type="text" name="search" value="" style="width: 110px;" />&nbsp;
                  <input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" />
                  <input type="hidden" name="advanced" value="0" />';


       // Search within current topic?
         if (!empty($context['current_topic']))
          echo '
         <input type="hidden" name="topic" value="', $context['current_topic'], '" />';

       // If we're on a certain board, limit it to this board ;).
          elseif (!empty($context['current_board']))
          echo '
         <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

   echo '
      </form>
   </div>
      <a href="'.$scripturl.'" title=""><span id="logo">&nbsp;</span></a>';
      echo '
   </div>
         <div id="menutaban">
      ',template_menu(),'
     </div>
     <div id="frmust">';


}


And the modified code:
// The main sub template above the content.
function template_main_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'], '" />
   ';
echo (!empty($modSettings['meta_description'])) ? ' <meta name="description" content="'. $modSettings['meta_description'] .'" />' : '<meta name="description" content="'. $context['page_title'] .'" />', empty($context['robot_no_index']) ? '' : '
   <meta name="robots" content="noindex" />', '
   ;
echo (!empty($modSettings['meta_keywords'])) ? '
<meta name="keywords" content="'. $modSettings['meta_keywords'] .'" />' : '';
echo (!empty($modSettings['meta_copyright'])) ? '
<meta name="copyright" content="'. $modSettings['meta_copyright'] .'" />' : '';
echo (!empty($modSettings['meta_author'])) ? '
<meta name="author" content="'. $modSettings['meta_author'] .'" />' : '';
echo '
   <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var smf_theme_url = "', $settings['theme_url'], '";
      var smf_images_url = "', $settings['images_url'], '";
      var smf_scripturl = "', $scripturl, '";
      var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
      var smf_charset = "', $context['character_set'], '";
   // ]]></script>
   <title>', $context['page_title'], '</title>';

   // The ?fin11 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'], '/style.css?fin11" />
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';

   /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   if ($context['browser']['needs_size_fix'])
      echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';

   // Show all the relative links, such as help, search, contents, and the like.
   echo '
   <link rel="help" href="', $scripturl, '?action=help" target="_blank" />
   <link rel="search" href="' . $scripturl . '?action=search" />
   <link rel="contents" href="', $scripturl, '" />';

   // If RSS feeds are enabled, advertise the presence of one.
   if (!empty($modSettings['xmlnews_enable']))
      echo '
   <link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';

   // If we're viewing a topic, these should be the previous and next topics, respectively.
   if (!empty($context['current_topic']))
      echo '
   <link rel="prev" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
   <link rel="next" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';

   // If we're in a board, or a topic for that matter, the index will be the board's index.
   if (!empty($context['current_board']))
      echo '
   <link rel="index" href="' . $scripturl . '?board=' . $context['current_board'] . '.0" />';

   // We'll have to use the cookie to remember the header...
   if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);
// Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="' , $settings['theme_url'] , '/hfg.js"></script>
<![endif]-->';

   echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var myfontsize = ', empty($options['myfontsize']) ? '\'90\'' : '\'' . $options['myfontsize']. '\'' , ';
                function setfontsize(size)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_leftbar", mode ? 1 : 0, null, "', $context['session_id'], '");';
        echo '
                        document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("leftbarHeader").style.display = mode ? "none" : "";

                        current_leftbar = mode;
                }
          // ]]></script>
       <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var current_rightbar = ', empty($options['collapse_rightbar']) ? 'false' : 'true', ';

                function shrinkHeaderRightbar(mode)
                {';

        // Guests don't have theme options!!
        if ($context['user']['is_guest'])
                echo '
                        document.cookie = "upshrink=" + (mode ? 1 : 0);';
        else
                echo '
                        smf_setThemeOption("collapse_rightbar", mode ? 1 : 0, null, "', $context['session_id'], '");';

        echo '
                        document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

                        document.getElementById("rightbarHeader").style.display = mode ? "none" : "";

                        current_rightbar = mode;
                }
        // ]]></script>

   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
         document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // ]]></script>';

   // the routine for the info center upshrink
   echo '
      <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
         var current_header_ic = ', empty($options['collapse_header_ic']) ? 'false' : 'true', ';

         function shrinkHeaderIC(mode)
         {';

   if ($context['user']['is_guest'])
      echo '
            document.cookie = "upshrinkIC=" + (mode ? 1 : 0);';
   else
      echo '
            smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "', $context['session_id'], '");';

   echo '
            document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

            current_header_ic = mode;
         }
      // ]]></script>
</head>
<body>
  <div id="boyutlar">
   <div id="yankenar">
    <div id="yankenar-l">
     <div id="header">
     <div id="userarea">';
   if ($context['user']['is_logged'])
   {
      echo '
                     <b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />';

      // Only tell them about their messages if they can read their messages!
      if ($context['allow_pm'])
         echo $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';

      echo '
                        <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
                        <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';

   }
   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
   else
   {
      echo '           
      ', $txt['welcome_guest'], '
      <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
      <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
         <input type="text" name="user"  size="10" />
         <input type="password" name="passwrd"  size="10" />
         <input type="submit" value="', $txt[34], '" />
         <input type="hidden" name="hash_passwrd" value="" />
      </form>', $context['current_time'],'<br />';
   }

   echo '
   </div>
   <div id="arama">';
      echo '
                     <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                  <a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter1.png" align="middle" style="margin: 0 1ex;" alt="" /></a>
                  <input type="text" name="search" value="" style="width: 110px;" />&nbsp;
                  <input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" />
                  <input type="hidden" name="advanced" value="0" />';


       // Search within current topic?
         if (!empty($context['current_topic']))
          echo '
         <input type="hidden" name="topic" value="', $context['current_topic'], '" />';

       // If we're on a certain board, limit it to this board ;).
          elseif (!empty($context['current_board']))
          echo '
         <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

   echo '
      </form>
   </div>
      <a href="'.$scripturl.'" title=""><span id="logo">&nbsp;</span></a>';
      echo '
   </div>
         <div id="menutaban">
      ',template_menu(),'
     </div>
     <div id="frmust">';


}


Any help is VERY much appreciated!  :D


karlbenson

Change
   <meta name="robots" content="noindex" />', '   
;

to
   <meta name="robots" content="noindex" />';

PrizeLive.com

It said the mod was installed successfully but there isn't a new tab in the features and options menu like the mod description stated.

I'm using version 1.1.4.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

karlbenson

Are you using the SMF Default Core Theme?
if not you'll need to manually edit it onto the theme.
(use a package parser in the mod site or external one like http://www.adrevenueshare.com/parser )

PrizeLive.com

Yes I'm using the Default theme.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

karlbenson

Use a package parser and check in the files that the edits were actually made.
If they were made -> Check error log to see if there are any errors.

If they weren't made -> Do the edits manually.

PrizeLive.com

Thanks, had to make the manual edits to get it to show up.

However, I edited the meta information and clicked Save, it went back to the page and it had the old info. How come the new changes didn't save?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

PrizeLive.com

#88
Does anyone know what I can do to make my edits be saved?

EDIT: It was my fault. I forgot a line from the manual edits.

Thanks for the great mod!
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

ekene

I guess this mod is very good, I had a test error when I tried to install it via the package area of the Admin.

But I did all the edit from the parser page, I can see the Meta button at the admin area under features and option.

But I feel I have not done something right, the install.php file can not run directly, when I click the link it says " Hack attempt",

The there is this instruction at the buttom of the parser page
----------------------------------------------------------------------------------------------------------------------
This file should not be able to execute standalone. You may have to run the following queries manually.


Query: [Select]
INSERT IGNORE
INTO {$db_prefix}settings (`variable`, `value`)
VALUES ('$key', '$value')
-------------------------------------------------------------------------------------------------------------------

Now here is where I got stucked, because I'm not familiar with Mysql, I tried to do what I feel I understood by the instruction, which is:

I copied this code:

Query: [Select]
INSERT IGNORE
INTO {$db_prefix}settings (`variable`, `value`)
VALUES ('$key', '$value')

and went to my database via myphpadmin,

I selected the SQL button

And where it says

Run SQL query/queries on database

I put this code:

Query: [Select]
INSERT IGNORE
INTO {$db_prefix}settings (`variable`, `value`)
VALUES ('$key', '$value')

then I click go,

the next page says there was an error. Here is the error--

Error
SQL query:

REPLACE
INTO {$db_prefix}settings(

`variable` ,
`value`
)
VALUES (
'$key', '$value'
)

MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{$db_prefix}settings (`variable`, `value`)
VALUES ('$key', '$value')' at line 2


Please I need to know the exact thing to do with the code, as I guess I'm missing something. But remember that I can see the Meta button on the Admin area under the features and option.

Just incase I'm missing something please help me out.
Every big thing starts with a decision, and every decision is a choice. I made a descision by choice and here is the result http://www.howudey.com

karlbenson

That sql file isn't able to run standalone.

ekene

Quote from: karlbenson on May 03, 2008, 02:27:59 PM
That sql file isn't able to run standalone.

So how exactly do I run the query. Or do you think everything I got it right by just editing the files.
Every big thing starts with a decision, and every decision is a choice. I made a descision by choice and here is the result http://www.howudey.com

karlbenson

Its something I need to fix.

The only thing you can do is manually add the 4 settings to the smf_settings table in PHPMYADMIN.

Insert 4 variables with the name, the value can be left empty.
meta_description
meta_keywords
meta_author
meta_copyright

_Anthony_

I do not understand what this does?

karlbenson

@Mr Money - Well its information in pages for spiders/bots providing some extra information about the page like a description/keywords.
@gordon7  - the <title> is already editable in smf. Thats why it was not included with the other meta information.
Admin > Server Settings > Forum title.


_Anthony_


neil h

This is what I love about your mods Karl; good stuff that works and most important of all - is useful!

Keep 'em coming!

karlbenson

This mod has now been taken over by JumpmasterRT
See the new version http://custom.simplemachines.org/mods/index.php?mod=1211

This topic/thread will be locked. Please direct any further queries over to the support topic for that mod.

Advertisement: