Log in

View Full Version : Probably more mod than hack


sdp777
07-05-2004, 05:42 PM
My site, the www.vizdepot.com is designed to teach registered users 3D tutorials for rendering and modeling. I am using vbportal version 2.3.2 rc2. I support Autodesk Viz, Architectural Desktop, Autocad and 3D Studio Max in my forums.

What I am after is a way of adding to the UsersCP, under Edit Options, a $string value which will allow the user to enter the software they use.

In the postbit template is where I would like to display the $string value.

" 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 below the usertitle is where I want to display this.

How does one go about adding such information to the usersCP? I believe its in the members.php file but Im not positive. Please advise.

Sincerely,
Steven D. Papke

Zachery
07-05-2004, 05:51 PM
My site, the ww.vizdepot.com is designed to teaching registered users 3D tutorials for rendering and modeling. I am using vbportal version 2.3.2 rc2. I support Autodesk Viz, Architectural Desktop, Autocad and 3D Studio Max in my forums.

What I am after is a way of adding to the UsersCP, under Edit Options, a $string value which will allow the user to enter the software they use.

In the postbit template is where I would like to display the $string value.

" 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 below the usertitle is where I want to display this.

How does one go about adding such information to the usersCP? I believe its in the members.php file but Im not positive. Please advise.

Sincerely,
Steven D. Papke
Why not just create a user profile field that will let them fill it in with what software they use and add the appritae value for the filed to your postbit?

sdp777
07-05-2004, 05:57 PM
Ok, sounds like exactly what I am after.
How to?

Reeve of shinra
07-05-2004, 11:14 PM
You can create custom profile fields in the admin control panel. You'll see the option in the left hand catagory.

sdp777
07-06-2004, 12:28 AM
Excellent Reeve, found it Thank you.

Now how do I know what the $string equivalent is so that I may add it in my postbit template?

And would it be any different than (less the string value)?
<smallfont>$post[customvalue]</smallfont><br>

Zachery
07-06-2004, 12:29 AM
Excellent Reeve, found it Thank you.

Now how do I know what the $string equivalent is so that I may add it in my postbit template?

And would it be any different than (less the string value)?
<smallfont>$post[customvalue]</smallfont><br>$post[fieldX]

Change X to the id of the filed.

sdp777
07-06-2004, 12:34 AM
Perfect Zach....took me a sec to find the field number....had to go through the source code and saw the profilefield=5 and that was my bogey. Thanks for yours and Reeves help.

Its working. Appreciate the help.