![]() |
Custom Profile Fields If Else Statments
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> Code:
<td bgcolor="#bbd89a" align="center" valign="middle"><smallfont><b>Gamertag</b></smallfont></td> PHP Code:
Thanks in advance. |
your use of code is ok, but you have to edit admin/functions.php the getpostbitfunction :)
|
I added this code to admin/functions.php:
PHP Code:
|
I appreciate all the help.
|
use this one:
PHP Code:
|
All times are GMT. The time now is 05:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|