The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I found the bug allright.
PHP Code:
Now how to fix that? lol |
#12
|
||||
|
||||
Well i've no idea without looking at it fully. Are you not showing me some code? How does it output undisclosed?
|
#13
|
|||
|
|||
I changed the templates to debug the <if> conditioning.
It'd look something like: Code:
<td> <if condition="$memberlist[field6]"> $memberlist[field6] </if> <if condition="!$memberlist[field6]"> Undisclosed. </if> |
#14
|
||||
|
||||
You are going seriously wrong here Where are you getting field6 from? You should be using the field username? Also if you're trying to get profile fields then you have to join the profilefield table (or whatever it is in vB3)
|
#15
|
|||
|
|||
Code:
<tr> <td style="text-align: center; vertical-align: middle"> <a href="member.php?u=$memberlist[userid]">$memberlist[musername]</a> </td> <td style="text-align: center; vertical-align: middle"> <if condition="$memberlist[field5]"> $memberlist[field5] </if> <if condition="!$memberlist[field5]"> Undisclosed. </if> </td> <td style="text-align: center; vertical-align: middle"> <if condition="$memberlist[field6]"> $memberlist[field6] </if> <if condition="!$memberlist[field6]"> Undisclosed. </if> </td> <td style="text-align: center; vertical-align: middle"> <if condition="$memberlist[field7]"> $memberlist[field7] </if> <if condition="!$memberlist[field7]"> Undisclosed. </if> </td> </tr> edit.- I've updated the code and templates in the first post. |
#16
|
||||
|
||||
Try something like this instead:
PHP Code:
|
#17
|
|||
|
|||
That didn't work any, still comes up blank.
|
#18
|
||||
|
||||
Try moving this part:
PHP Code:
|
#19
|
|||
|
|||
lol
Quote:
*confused* |
#20
|
||||
|
||||
Keep that code below the call to global.php, then add this above to cache the templates:
$actiontemplates['none'] = &$actiontemplates['members']; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|