![]() |
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. |
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. |
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. |
as the member url includes the userid you can work with that one
and retrieve the username that way with a plugin |
trying best to get this to work with lot of variations, but no luck yet.
|
All times are GMT. The time now is 10:39 PM. |
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:
|