vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How to put topictitle as decription in metatag (https://vborg.vbsupport.ru/showthread.php?t=69442)

TCB 09-14-2004 07:31 PM

How to put topictitle as decription in metatag
 
I tried to set the topictitle as content for the "description" metatag:

In the headinclude template I now have:
Code:

<meta name="description" content="$thread[title]" />
But that gives a blanc description. But that same $thread[title] works for the title:
Code:

$vboptions[bbtitle] - $thread[title]
Can somebody help me with this? :D

nexialys 09-14-2004 07:40 PM

the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..

kall 09-14-2004 08:25 PM

Quote:

Originally Posted by TCB

Can somebody help me with this? :D

I just posted how to do it here: http://www.vbulletintemplates.com/mo...4501#post54501

nexialys 09-14-2004 08:47 PM

KAll.. if you have an answer for this request, please post it here. vbulletintemplates.com is not accessible by everybody, and the need to register to all these sites is not really appreciate.

i see your hack is interesting, but even me that is a coder here have no access to downloads because i'm not a regular of that site... please release it here to make this members happy !!!

;)

kall 09-14-2004 09:40 PM

Quote:

Originally Posted by nexialys
KAll.. if you have an answer for this request, please post it here. vbulletintemplates.com is not accessible by everybody, and the need to register to all these sites is not really appreciate.

i see your hack is interesting, but even me that is a coder here have no access to downloads because i'm not a regular of that site... please release it here to make this members happy !!!

;)

I can't man. I wish I could, but it's against the rules.

It's pure template modification. Headinclude, with a THIS_SCRIPT conditional, and SHOWTHREAD and FORUMDISPLAY.

If an admin or mod wants to post it, then they can...cos they can bend the rules.

KW802 09-30-2004 06:34 PM

Quote:

Originally Posted by nexialys
the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..

HHhhmm.... looks like I can include the foruminfo variables in the headinclude but not the thread variables. :(

TCB 01-08-2005 10:20 AM

Quote:

Originally Posted by nexialys
the headinclude is filtered before the content of the site,... to have that description tag, you have to put that in the top of the showthread template..

Thanks! That did the trick :up:


All times are GMT. The time now is 08:33 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.01759 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete