The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#8
|
|||
|
|||
![]()
Ugh. I hate reading code I do not fully understand. It makes me feeling like a programming n00b all over again.
As I read further, could it be THIS that I need to modify? member.php lines 1379-1399: Code:
// get extra profile fields $customfields = ''; $profilefields=$DB_site->query("SELECT profilefieldid,required,title FROM profilefield WHERE hidden=0 ORDER BY displayorder"); while ($profilefield=$DB_site->fetch_array($profilefields)) { if ($backcolor=="{firstaltcolor}") { $backcolor="{secondaltcolor}"; $bgclass = "alt2"; } else { $backcolor="{firstaltcolor}"; $bgclass = "alt1"; } $profilefieldname="field$profilefield[profilefieldid]"; $profilefield[value]=$userinfo[$profilefieldname]; eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";"); } $profilefield[value]=$userinfo[$profilefieldname]; Should be changed to something like this? ==> Code:
if($profilefieldname == "Your Real Life Picture" || $profilefieldname == "Your Character's Picture") { $profilefield[value]= <a target="_blank" href="$userinfo[$profilefieldname]">$userinfo[$profilefieldname]</a> ; } else { $profilefield[value]=$userinfo[$profilefieldname]; } Code:
if($profilefieldname == "Your Real Life Picture" || $profilefieldname == "Your Character's Picture") { $profilefield[value]= "<a target="_blank" href="$userinfo[$profilefieldname]">$userinfo[$profilefieldname]</a>" ; } else { $profilefield[value]=$userinfo[$profilefieldname]; } ??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|