![]() |
the name of the logged in user in my title
I want to use the title:
"I love xxxx" Where xxxx will present the name of the logged in user How can I do this? --------------- Added [DATE]1326723728[/DATE] at [TIME]1326723728[/TIME] --------------- bumpidy bump |
I love {vb:raw bbuserinfo.username}
|
I think he want's to use a custom user title only for his profile/posts.
You will need a conditional in your postbit(_legacy) template to replace the default user title code. If you do not use the conditional in the below way, then everyone's user title will say I love {user browsing}! Something like Code:
<vb:if condition="$post[userid] == 1 AND $show['member']"> ------------------------------------- So this conditional 'says' If this post belongs to [you] and the user browsing is NOT a guest then show 'I love [username of user browsing]!' else if this post isnt [you] and user title isn't NULL display poster's user title ------------------------------------- Not sure if this code is 100% correct, but you get the idea. |
Thank you, LifesGreatestGift.
That's exactly what I was looking for. :) |
All times are GMT. The time now is 10:34 AM. |
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:
|