Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Jan 2012, 20:18
PPhysX PPhysX is offline
 
Join Date: Nov 2011
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 16 Jan 2012 at 13:22 ---------------

bumpidy bump
Reply With Quote
  #2  
Old 16 Jan 2012, 21:56
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I love {vb:raw bbuserinfo.username}
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 17 Jan 2012, 00:49
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then just change the 1 to your userid

-------------------------------------
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.
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!

Last edited by LifesGreatestGift; 17 Jan 2012 at 01:01.
Reply With Quote
  #4  
Old 17 Jan 2012, 15:36
PPhysX PPhysX is offline
 
Join Date: Nov 2011
Thank you, LifesGreatestGift.

That's exactly what I was looking for.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Show IP:Logged if user is admin or supermod, and disable Post report by user Fallout2man vBulletin 2.x Full Releases 32 30 Jul 2002 01:20



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:01.

Layout Options | Width: Wide Color: