The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Get username in META Tags ?
How can you get the username in your forum meta tags ?
For User Profile Pages, I would like the username to also appear in Meta Description and Meta Keywords tags. Thanks. |
#2
|
|||
|
|||
quick fix is to add $bbuserinfo[username] in the common templates headinclude but that will do it on the every page.
To do it just for the MEMBERINFO you'll need to define a custom headinclude specifically for that page. Not too hard to do. |
#3
|
||||
|
||||
I tried adding <if condition="THIS_SCRIPT == 'member'"> to headinclude template with my customized keywords and descriptions but only problem is getting the specific username under those keywords and descriptions.
$bbuserinfo[username] will display name of the user who is viewing user profile and not the user profile (username). viewing following link -> http://forums.techarena.in/member.php?u=954 as a guest user will display Unregistered in meta tags. |
#4
|
|||
|
|||
as the member url includes the userid you can work with that one
and retrieve the username that way with a plugin |
#5
|
||||
|
||||
trying best to get this to work with lot of variations, but no luck yet.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|