![]() |
[SEO Enhancement] rel="author" markup for thread starters
1 Attachment(s)
As with the new developments around schema.org standards, Google announced that they will highlight page authors in their search results as below.
https://vborg.vbsupport.ru/external/2011/07/49.png To achieve this result in SERP's you need to apply authorship markup. For vBulletin, this can be done by adding the rel="author" markup to the threads, so this tag will get linked to the profile page of thread starter. In template postbit(_legacy) find: Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> Code:
<a <if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] == $post['postid']">rel="author"</if> class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> Example: Becoming A Health Insurance Agent Only thread starter has the rel="author" tag applied: Code:
<a rel="author" class="bigusername" href="http://www.insurance-forums.net/forum/healthagent-4/">healthagent</a> Note: This won't mean all of your members will show up as authors in google search results. Google will consider as original authors only those who have linked their Google Profile pages to your forum. Works on all vB 3.x Further reading here I hope you find it useful. |
Very Thanks... Installed
|
Nice addition!
|
Won't this put author attribute for every post on the page, not just the first post?
|
Actually Joe, the conditional makes sure that rel="author" tag will show up at the username of only the first post.
|
Thanks. Missed that. :o
|
Hi, can this be done for VB4?.
TIA. |
For vb4 please
|
Thanks Valdet very good mod
|
I don't use vB4 too much, but I will release the vB4 mod soon, once I get some free time.
Thanks all. Humori, flm. |
waiting for vb4 >>>
|
Don't see how this would work unless something like this was added to vb profile page:
<a rel="me" href="https://plus.google.com/11111000000XXXX/"> <img src="//www.google.com/images/icons/ui/gprofile_button-16.png"> </a> Seems like we need another hack. this would make VB and vb profile pages work like Google suggests for multiple author pages. Seems like you'd have to allow another user profile field to accept the Google profile number and then create a hidden link in the form above on everyone's profile page, no? |
Quote:
|
is there any risk if i use this ? in search angine
|
This can not be applied to vB 4.x
Could you please let us know how we can do this with vB 4.2 ? Thank you. |
Quote:
|
Quote:
Thank you. |
Quote:
|
Quote:
Unfortunately it doesn't work on VB4.2.x |
Quote:
|
see my post above...
|
anything for vB 4.2?
|
Quote:
Quote:
Quote:
Can anyone else other then the failed attempts of tpearl5 confirm that this works on 4.2? :) |
Yep this can be applied for vBulletin 4.x.x but different pattern follow below step - by - step procedure
1) Goto Style Manager --> SHOWTHREAD 2) Search for {vb:raw threadinfo.title} Find: Code:
<span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span> Code:
<span class="threadtitle"><a rel="author" href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span> And dont forget to apply this mod aswell https://vborg.vbsupport.ru/showthread.php?t=242579 ;) |
Quote:
If you want to use author tags effectively read up: https://support.google.com/webmaster.../2539557?hl=en |
Quote:
|
All times are GMT. The time now is 12:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|