PDA

View Full Version : Adding profile data to the author field in posts.



cobradude
Sat 14th Apr '01, 9:24pm
I believe this is the bit of code I need to change in the vbulletin.style file.

<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont></td>


So here's the question. I added a new profile fields, and I would like to display them. One new field is called "description", so would I just add this line?

Description: $post[Description]</smallfont></td>

Does that just pull the data from the field I added? Do I just replace what ever is between [ ] with the name of the field I created? What about field names with spaces in them, is that ok?

Thanks for your time. Trying to learn this stuff. :)