View Full Version : Show Thread Enhancements - [SEO Enhancement] rel="author" markup for thread starters
valdet
07-03-2011, 10:00 PM
As with the new developments around schema.org standards, Google announced that they will highlight page authors (http://insidesearch.blogspot.com/2011/06/authorship-markup-and-web-search.html) 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:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
Replace it with:
<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 (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: <a rel="author" class="bigusername" href="http://www.insurance-forums.net/forum/healthagent-4/ (https://vborg.vbsupport.ru/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 here (http://www.google.com/support/webmasters/bin/answer.py?answer=1229920)
I hope you find it useful.
Manoel J?nior
07-05-2011, 01:54 PM
Very Thanks... Installed
Brandon Sheley
07-05-2011, 02:12 PM
Nice addition!
BirdOPrey5
07-05-2011, 02:34 PM
Won't this put author attribute for every post on the page, not just the first post?
valdet
07-06-2011, 10:32 AM
Actually Joe, the conditional makes sure that rel="author" tag will show up at the username of only the first post.
BirdOPrey5
07-06-2011, 12:02 PM
Thanks. Missed that. :o
synseal
07-07-2011, 02:21 PM
Hi, can this be done for VB4?.
TIA.
VBIran
07-09-2011, 10:03 PM
For vb4 please
Forumi Shqiptar
07-10-2011, 04:41 PM
Thanks Valdet very good mod
valdet
07-10-2011, 07:32 PM
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.
fai99al99
04-11-2012, 03:24 PM
waiting for vb4 >>>
wacnstac
04-12-2012, 08:21 PM
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?
tpearl5
05-01-2012, 04:16 PM
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?
http://www.vbseo.com/f30/how-add-author-data-google-53067/
matrex722
05-28-2012, 09:32 PM
is there any risk if i use this ? in search angine
PingCity
07-13-2012, 03:52 PM
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.
tpearl5
07-13-2012, 04:20 PM
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.
See my reply above
PingCity
07-13-2012, 05:07 PM
See my reply above
Sorry but I can not find any reply related to adding rel=author to VB4.2. Could you please help?
Thank you.
tpearl5
07-14-2012, 11:26 PM
Sorry but I can not find any reply related to adding rel=author to VB4.2. Could you please help?
Thank you.
See my post in this modification: https://vborg.vbsupport.ru/showthread.php?p=2290535#post2290535
PingCity
07-15-2012, 12:18 AM
See my post in this modification: https://vborg.vbsupport.ru/showthread.php?p=2290535#post2290535
Thank you.
Unfortunately it doesn't work on VB4.2.x
fizzow
08-28-2012, 07:28 AM
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.
Any update on this for vB4?
tpearl5
08-28-2012, 04:15 PM
see my post above...
freepchelp
11-04-2013, 12:40 PM
anything for vB 4.2?
dizzynation
11-04-2013, 07:45 PM
See my reply above
See my post in this modification: https://vborg.vbsupport.ru/showthread.php?p=2290535#post2290535
see my post above...
Can anyone else other then the failed attempts of tpearl5 confirm that this works on 4.2? :)
ramesh_umk3
11-09-2013, 03:19 PM
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:
<span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
Replace with:
<span class="threadtitle"><a rel="author" href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
SEE DEMO BY VIEW SOURCE "rel=author" IS ADDED TO THREAD TITLE ONLY (http://www.mobilescommunity.com/)
And dont forget to apply this mod aswell https://vborg.vbsupport.ru/showthread.php?t=242579 ;)
tpearl5
11-09-2013, 05:34 PM
Yep this can be applied for vBulletin 4.x.x but different pattern follow below step - by - step procedure
Sorry, but this is not how it should be done. You're basically saying the thread is the author.
If you want to use author tags effectively read up: https://support.google.com/webmasters/answer/2539557?hl=en
tpearl5
11-09-2013, 05:43 PM
Can anyone else other then the failed attempts of tpearl5 confirm that this works on 4.2? :)
I see no reason it shouldn't work with the instructions I posted above. However, Google recently changed some things and will allow you to link directly to your Goolge+ profile. In this case I put a conditional around the Google + link for this mod (https://vborg.vbsupport.ru/showthread.php?t=267019) to say "only put rel="author" in for the Goolge + link for the OP" . See instructions here: https://vborg.vbsupport.ru/showpost.php?p=2459458&postcount=175
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.