The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Author Metatag Help Please
I'm trying to add a relevant Author tag to the metadata- does anyone know how to call the actual userid (aka the Real Author) of the post when doing so?
I've add the meta-tag for author in the headinclude- but currently just have a single name (mine). I'd like it to pull the username from whomever posted the article or thread so proper attribution is added. Any ideas?? <meta name="Author" content="how-do-I-call-the-vbulletin-username-here" /> **UPDATE** I've tried: <meta name="Author" content="{vb:raw post.username}" /> Here are more that I've tried, without success: {vb:rawphrase post.username} {vb:raw post.username} {vb:link member, {vb:raw bbuserinfo}} {vb:raw username} {vb:raw bbuserinfo.username} {vb:rawphrase username} {vb:var userinfo.username} {vb:raw userinfo.username} {vb:raw memberinfo.username} {vb:link member, {vb:raw memberinfo}} {vb:raw thread.postusername} {vb:rawphrase {vb:raw userinfo.username}} {vb:raw bbuserinfo.musername} {vb:rawphrase started_by_x_y_z, {vb:raw thread.postusername}} {vb:rawphrase started_by_x_y_z, {vb:raw userinfo.username}} {vb:raw post.musername} Any Help or Ideas guys? Thanks in Advance, much appreciated! |
#2
|
||||
|
||||
You are putting this into which template? If into the headinclude, then I don't believe the first post userid (or username) is available for use unless you create a hook to do a quick query for it. Try the vbcms_page template at the top. But don't use the bbuserinfo variable as that is the viewer.
|
Благодарность от: | ||
RichieBoy67 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|