Log in

View Full Version : Help: How To Add Member Id In Members Profile


imran_khatri
06-08-2006, 02:19 PM
Pls Guys Help Me How To Add Members Id In Members Profile..
exemple i posted in pic......... please guys help me ........in it.........

Thanks Admin Of Gsmmind .......... Imran_Khatri

bjs144
06-08-2006, 03:36 PM
What version of vB you running?

imran_khatri
06-08-2006, 04:08 PM
3.5.4

pls guys help me

pls guys help me in it ..... i am waiting ...... for u r help

DrewM
06-08-2006, 08:05 PM
oh thats easy just put:
$userinfo[userid]
where you want the idea.

imran_khatri
06-09-2006, 07:14 PM
Pls Explane More Sir..........

i don't under stand pls explane more in wich template to edite and .......

Antivirus
06-10-2006, 05:06 PM
Pls Explane More Sir..........

i don't under stand pls explane more in wich template to edite and .......

It's difficult to know which template you need to edit since you aren't stating where in your forums you want the userid to show - my guess is that it's the postbit or postbit_legacy template in which you should add $userinfo[userid] wherever you want the member's userid to appear within the template.

you can get to the postbit template in AdminCP>Style&Templates>StyleManager> then click expand templates and search for the template, copy and paste the html into dreamweaver or notepad, and then...

Find

<div>
$vbphrase[posts]: $post[posts]
</div>


and below that, add

$userinfo[userid]


so it looks like

<div>
$vbphrase[posts]: $post[posts]
</div>
$userinfo[userid]


then save your template and refresh your thread youre viewing.
make sure to save a copy of your template before editing in case you need to revert.

Buczilla
06-10-2006, 07:30 PM
I think you'll need to use $post[userid] instead of $userinfo[userid].

imran_khatri
06-10-2006, 08:28 PM
Ok Thanks all is OK now
Thanks again...

Gsmmind
06-11-2006, 02:17 PM
yaa thanks guys ..........