Back to vBulletin 3.8 Template Modifications

[SEO Enhancement] rel="author" markup for thread starters
Mod Version: 1.00, by valdet

vB Version: 3.8.7 Rating: (4 votes - 5.00 average) Installs: 33
Released: 04 Jul 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

As with the new developments around schema.org standards, Google announced that they will https://insidesearch.blogspot.com/2011/06/authorship-markup-and-web-search.html in their search results as below.



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>
Replace it with:
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: http://www.insurance-forums.net/forum/getting-started-selling-insurance/becoming-independent-insurance-agent-t13181.html

Only thread starter has the rel="author" tag applied:
Code:
<a rel="author" class="bigusername" href="http://www.vbulletin.org/forum/view-source: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 https://www.google.com/support/webmasters/bin/answer.py?answer=1229920

I hope you find it useful.

Download

No files for download.

Similar Mods

Show Thread Enhancements [SEO Enhancement] Replace "reload this page" to the thread title vBulletin 4.x Template Modifications
Show Thread Enhancements (Additional SEO Plugin) Add (rel="nofollow") To All links in Threads vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024