November 30, 2021, 01:31:02 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Additional Info
Type
Package ID
JumpmasterRT:EasyEditMetaData
First Created
May 27, 2008, 03:21:55 AM
Last Updated
April 24, 2009, 11:32:32 PM

Easy Edit Meta Data v1.1

Enables you to edit the meta data from the Admin Center
Compatible With 1.1.5, 1.1.6, 1.1.8
Latest version v1.1
Downloads 28,910
Reviews 0
Rating 0/5
Subscribers 15
License (View License)
Author(s)
Jumpmasterrt


EASY EDIT META DATA V1.1
(updated 24 April 2009 to add 1.1.8 compatibility)

Originally authored By Karl Benson, now supported by JumpmasterRT



Introduction
Enables you to edit the meta data which appears in your pages including description, keywords, author and copyright meta tags via a new tab in the features and options menu.

Installation
Installs automatically on Default, Classic and Babylon skin.

NOTE: Its ONLY necessary to install this mod on the skin viewed by guests and robots as only robots for searchengines find meta data useful.

It requires two quick manual edits to install on most skins.

FIND this
<meta name="description" content="', $context['page_title'], '" />

REPLACE with
';
echo (!empty($modSettings['meta_description'])) ? ' <meta name="description" content="'. $modSettings['meta_description'] .'" />' : '<meta name="description" content="'. $context['page_title'] .'" />


AND FIND this
, '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />


REPLACE with
;
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 '
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: