vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Extra Meta Tags (https://vborg.vbsupport.ru/showthread.php?t=115969)

Eric 05-17-2006 10:00 PM

Extra Meta Tags
 
Extra Meta Tags

UPDATED TO 1.0.3

Hi all :) Well, I'm both new to vB and vB hacks, this is my first one, hope you like it :)

What is Extra Meta Tags?

Extra Meta Tags is a modification that adds additional Meta Tags to your forum, aside from the standard description and keywords tags already included by vBulletin.

What tags does it add?

It adds the following tags:
Abstract
Robots
Revisit-After
Rating
Distribution
MSSmartTagsPreventParsing
If you want a certain tag added, feel free to ask.

INSTALLATION
- Import the product 'extra_meta_tags.xml'
- Do below template edit.

Open the 'headerinclude' template.

FIND:
------
Code:

<!-- CSS Stylesheet -->
ABOVE, ADD:
-------------
Code:


<!-- Extra Meta Tags by SecondV -->
<meta name="abstract" content="$vboptions[exmeta_abstract]" />
<meta name="robots" content="$vboptions[exmeta_robots]" />
<meta name="revisit-after" content="$vboptions[exmeta_visit_after]" />
<meta name="rating" content="$vboptions[exmeta_rating]" />
<meta name="distribution" content="$vboptions[exmeta_dist]" />
<if condition="$vboptions[exmeta_mssmarttags] == 'yes'"><meta name="MSSmartTagsPreventParsing" content="true" /></if>
<!-- / Extra Meta Tags by SecondV -->

Save.

UPGRADING
- Re-import the product 'extra_meta_tags.xml' - with "Allow overwrite" set to yes.
- Do below template edit.

Open the 'headerinclude' template.

FIND:
------
Code:

<!-- Extra Meta Tags by SecondV -->
<meta name="abstract" content="$vboptions[exmeta_abstract]" />
<meta name="robots" content="$vboptions[exmeta_robots]" />
<meta name="revisit-after" content="$vboptions[exmeta_visit_after]" />
<meta name="rating" content="$vboptions[exmeta_rating]" />
<meta name="distribution" content="$vboptions[exmeta_dist]" />
<!-- / Extra Meta Tags by SecondV -->

REPLACE WITH:
----------------
Code:

<!-- Extra Meta Tags by SecondV -->
<meta name="abstract" content="$vboptions[exmeta_abstract]" />
<meta name="robots" content="$vboptions[exmeta_robots]" />
<meta name="revisit-after" content="$vboptions[exmeta_visit_after]" />
<meta name="rating" content="$vboptions[exmeta_rating]" />
<meta name="distribution" content="$vboptions[exmeta_dist]" />
<if condition="$vboptions[exmeta_mssmarttags] == 'yes'"><meta name="MSSmartTagsPreventParsing" content="true" /></if>
<!-- / Extra Meta Tags by SecondV -->

Save.

Changelog
1.0.3
- Added the MSSmartTagsPreventParsing tag.
- Changed the wording of a few setting titles.
1.0.2
- Added the Abstract and Distribution tags.
1.0.1
- Author tag removed
- Fixed a few typos.

Don't forget to click Install if you use this modification.

Enjoy.

COBRAws 05-18-2006 01:00 PM

already done: https://vborg.vbsupport.ru/showthread.php?t=108198

Neutral Singh 05-18-2006 02:02 PM

Please have a look at my sigz. ;)

RemiAlone 05-18-2006 02:59 PM

The last line has to be:

<!-- / Extra Meta Tags by SecondV -->

not:

<-- / Extra Meta Tags by SecondV -->

Eric 05-18-2006 03:04 PM

Ah, well, interesting. I tried searching but didn't pull anything up. Thanks for pointing it out, though :) Suppose I'll just fix what RemiAlone pointed out and leave the hack at that.

Sorry folks.

And now looking at the bottom of this thread "Similar threads":
Quote:

Meta Tags ADV Impreza04 vB3.5 Plugins 5 27. Feb 2006 14:26
:nervous:

The Chief 05-18-2006 03:36 PM

very interesting, will have a look :D

Impreza04 05-18-2006 05:06 PM

lol.. I create a hack i'm surpirsed no one else has done and then two more that do the same job come along :p

Boofo 05-18-2006 05:09 PM

Quote:

Originally Posted by Impreza04
lol.. I create a hack i'm surpirsed no one else has done and then two more that do the same job come along :p

Can you add some liks to the settings so we can get examples of how the should be? ;)

redspider 05-18-2006 05:14 PM

will try it thanks .

Snake 05-18-2006 08:47 PM

Awesome. I'm definitely going to install this! :D


All times are GMT. The time now is 08:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01082 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete