Log in

View Full Version : Show userid in postbit?


1BadAction
06-07-2014, 10:17 PM
I've already enabled the hook system and added the location to postbit, but how would I go about adding the userid. Sorry if this has already been covered but I couldn't find anything pertaining to VB5+ in a search. Thanks.

VB version is 5.1.1 :up:

Lynne
06-08-2014, 01:16 AM
This should help. It's on profile fields, but you should be able to just user conversation.userid instead. https://vborg.vbsupport.ru/showthread.php?t=297041

1BadAction
06-08-2014, 04:50 PM
This should help. It's on profile fields, but you should be able to just user conversation.userid instead. https://vborg.vbsupport.ru/showthread.php?t=297041

I have no idea what I would change in the code to get the user id to show in a profile field. That's where I'm stuck.

Lynne
06-08-2014, 08:05 PM
You should be able to just use:

{vb:raw conversation.userid}

to show the userid.

1BadAction
06-08-2014, 08:14 PM
You should be able to just use:

{vb:raw conversation.userid}

to show the userid.

I came up with this...

<vb><li><label>Member #</label><span>{vb:raw conversation.userid}</span></li></vb>

Seems to work ok, will I have any issues? Thanks. :)

Lynne
06-08-2014, 08:36 PM
What are your <vb> and </vb> tags for?

1BadAction
06-09-2014, 03:47 AM
Seems to work without them, so I guess nothing :D

I think from here on out we just need to grow the community, everything seems to work clean and fast on PC, mobile and forumrunner alike...