The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
User Profile Field
I made a new user profile field but how can i make it so that it shows next to location, posts, etc. in view topic?
|
#2
|
||||
|
||||
edit template postbit and inslude it , see a post on vb.com or serch 4 it here mate
|
#3
|
||||
|
||||
ahhh ive found a few similar threads but not exactly what im looking for, cant you just tell me?
|
#4
|
||||
|
||||
omg i just need to find the code for editing the template postbit where is it??!?!?1
|
#5
|
|||
|
|||
It's just
PHP Code:
It's easy to see if you just view the postbit templates don't be so demanding of people just trying to help. Cheers, g-force2k2 |
#6
|
||||
|
||||
sorry for my impatience, just really frustrating when something is supposed to be so simple and its giving me a headache cause i cant find it, is this piece of code in newthread.php, showtrhead.php, etc.? thnx in advance
|
#7
|
|||
|
|||
Yeah it can be fustrating, and you don't need to apologize.
You add them: Admin CP >> Edit Style >> Edit Templates >> Postbit Templates >> postbit_userinfo template If you see where the other $post[fieldX] are you can put other word OR coding around it etc. ie. if the field you made is for Hair Color and the profilefieldid was 6 then you would put something like. PHP Code:
Cheers, g-force2k2 |
#8
|
||||
|
||||
Ok i think ive narrowed it down, its somewhere in this code but where exactly do i do the edting ( as you can see im not too experienced):
<!-- user info --> <table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%"> <tr> <if condition="$show['avatar']"><td class="alt1"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> <td nowrap="nowrap"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a style="font-size:14pt" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> </td> <td width="100%"> </td> <td valign="top" nowrap="nowrap"> <div class="smallfont"> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] <if condition="$show['reputation']">$post[reputationdisplay]</if> </div> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> </div> </td> </tr> </table> <!-- / user info --> |
#9
|
||||
|
||||
under
HTML Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> [html]<if condition="$post[fieldX]"><div>Bla: $post[fieldX]</div></if> Replace X with the ID number and Bla witha a heading |
#10
|
||||
|
||||
Did exactly that and replaced the variables but yet i get nothing when i view my forums
HTML Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <if condition="$post[field5]"><div>Favorite Band: $post[field5]</div></if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|