PDA

View Full Version : Add user id to postbit legacy


ccozkaraca
04-19-2010, 10:06 AM
Add user id to postbit member profile area...

I'm trying to add the user id to the member profile area in postbit legacy.

I want it to show Member # (userid #)

I've tried $userid and $userid[userid] but I'm not seeing a user id number. I've got the "Member #" where I want it... just need the userid # to show up.

I've seen this on several forums. Can someone give me the right code to use?

PS: I am using 4.0.3

Thanks!

ccozkaraca
04-22-2010, 06:33 AM
First try to create a new phrase
AdimnCP > Language & phrase >phrase manager >Add new pharse

Phrase Type
Product: vBulletin
Varname: members_id
Text: Members id
Then save it!

Then in your postbit_legacy Find this code

<dl class="userinfo_extra"


Add this code below!!

<dt>{vb:rawphrase 'members_id'}</dt>
<dd>{vb:raw post.userid}</dd>

Thanks to Gunit1000