vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [VB 3 - request] SEO - individual Keywords and meta tags for each forum (https://vborg.vbsupport.ru/showthread.php?t=71753)

msimonds 11-14-2004 08:08 PM

[VB 3 - request] SEO - individual Keywords and meta tags for each forum
 
I was wondering if someone already has or knows of anyone that has a modification to do individual meta keywords or meta tags for each forum.

You can see an example of what I am talking about here:

http://forums.seochat.com/f16/s

they have a description of the forums!

SEO help forum to discuss all topics related to SEO. Relax and talk with other likeminded individuals about anything that?s on your mind.

and if you view the source, you can see that it matches what is in the meta description!


<meta name="description" content="SEO Help (General Chat), SEO help forum to discuss all topics related to SEO. Relax and talk with other likeminded individuals about anything that?s on your mind." />


I am sure that this is not really a hard mod, I am even willing to "dontate" for its cause!

Thanks
Mike

PM me if anyone is interested!

artonex 05-10-2005 09:47 AM

Looking good so far Quarterbore, i hope you can complete this hack soon :D

sabret00the 05-10-2005 07:08 PM

i would've gone the way of template conditionals and used the forum descriptions myself but meh :p

kall 05-10-2005 08:31 PM

Umm...what about this?

HTML Code:

<if condition='THIS_SCRIPT == 'forumdisplay' AND $foruminfo[description]"><meta name="description" content="$foruminfo[description]" /><else />
<meta name="description" content="$vboptions[description]" /></if>

or... define them separately in SHOWTHREAD and FORUMDISPLAY, and have the following in headinclude:

HTML Code:

<if condition="THIS_SCRIPT != 'showthread' AND THIS_SCRIPT != 'forumdisplay'"><meta name="keywords" content="$vboptions[keywords]" />
An excellent SEO tutorial can be found at http://forum.time2dine.co.nz/showthread.php?t=98

Where does the $foruminfo[description] come from that you are using on FORUMHOME?

There's usually several forums displayed there...

artonex 05-10-2005 08:34 PM

looking forward to you cleaning this up and making some nice install instructions :D

kall 05-11-2005 05:00 AM

Quote:

Originally Posted by Quarterbore
This is used if you have a series of subforums under a single forum.
<snip>

Because you are actually looking at a forum the code does pull the appropriate variables <snip>

$foruminfo[description] does nothing if you use it on FORUMHOME.

Nothing. Nothing at all. May as well use $foruminfo[fluffypinkbunny] .

This is because that variable has not been defined in the php file.

kall 05-11-2005 11:09 AM

Have you had a look at the SEO thread on time2dine I mentioned earlier?

It is truly excellent.

Quarterbore 05-12-2005 03:02 AM

This Mod has now been compiled and released as a BETA Release.

https://vborg.vbsupport.ru/showthread.php?p=652348

I made quite a few changes based on the notes that were here and I did save the development notes in case someone needs them... I just didn't want someone to use the code here instead of the released mod that I am hoping will get some feedback...


All times are GMT. The time now is 11:11 PM.

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.01028 seconds
  • Memory Usage 1,727KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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