Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 11-14-2004, 08:08 PM
msimonds msimonds is offline
 
Join Date: Aug 2003
Location: Dallas, Texas
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [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!
Reply With Quote
  #2  
Old 05-10-2005, 09:47 AM
artonex artonex is offline
 
Join Date: Mar 2005
Location: UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking good so far Quarterbore, i hope you can complete this hack soon
Reply With Quote
  #3  
Old 05-10-2005, 07:08 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would've gone the way of template conditionals and used the forum descriptions myself but meh
Reply With Quote
  #4  
Old 05-10-2005, 08:31 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #5  
Old 05-10-2005, 08:34 PM
artonex artonex is offline
 
Join Date: Mar 2005
Location: UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking forward to you cleaning this up and making some nice install instructions
Reply With Quote
  #6  
Old 05-11-2005, 05:00 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 05-11-2005, 11:09 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

It is truly excellent.
Reply With Quote
  #8  
Old 05-12-2005, 03:02 AM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05068 seconds
  • Memory Usage 2,224KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete