Log in

View Full Version : [VB 3 - request] SEO - individual Keywords and meta tags for each forum


msimonds
11-14-2004, 08:08 PM
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?


<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:


<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
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...