The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've created a template that will display a custom profile field ($userinfo[field5]) inside of an html table inside of the postbit. Although, I only want this html table to show up in a user?s post if they've entered information in this custom profile field (Under update profile). In the postbit I have the following html (With a lil php):
Code:
<table bgcolor="{tablebordercolor}" width="80%" border="0" cellspacing="1" cellpadding="2"><tr> $post[gamertag] </tr></table> Code:
<td bgcolor="#bbd89a" align="center" valign="middle"><smallfont><b>Gamertag</b></smallfont></td> </tr> <tr> <td bgcolor="$post[backcolor]" align="center" height="15"><smallfont>$post[field5]</smallfont></td> PHP Code:
![]() Thanks in advance. |
#2
|
||||
|
||||
![]()
your use of code is ok, but you have to edit admin/functions.php the getpostbitfunction
![]() |
#3
|
|||
|
|||
![]()
I added this code to admin/functions.php:
PHP Code:
|
#4
|
|||
|
|||
![]()
I appreciate all the help.
|
#5
|
||||
|
||||
![]()
use this one:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|