The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Getting Information From A Different Table!
I need to get information from a different table to work in my postbit
The info I need is from a table called players, and the fields coming from that table are field 12 and 11 also, this line is meant to check and see if there is a field with the same info as field 5, is it correct? "<if condition="$post['field12'] == $post['field5']">" If someone could please help me out, that would be great Code:
<if condition="$post['field12'] == $post['field5']"> <if condition="$post['field11']"> <tr> <td bgcolor="#181818" width="20%" nowrap> <if condition="$post['field11'] == 0"> <else /> <if condition="$post['field11'] < 100"><div class="smallfont">Surf Rank:</div> <else /> <if condition="$post['field11'] < 250"><div class="smallfont">Surf Rank:</div> <else /> <if condition="$post['field11'] < 500"><div class="smallfont">Surf Rank:</div> <else /> <if condition="$post['field11'] < 1000"><div class="smallfont">Surf Rank:</div> <else /> <if condition="$post['field11'] > 1000"><div class="smallfont">Surf Rank:</div> <else /> </if> </if> </if> </if> </if> </if></td> <td bgcolor="#181818"> <if condition="$post['field11'] == 0"> <else /> <if condition="$post['field11'] < 100"><div class="smallfont"><b>Newb</b></div> <else /> <if condition="$post['field11'] < 250"><div class="smallfont"><b>Intermediate</b></div> <else /> <if condition="$post['field11'] < 500"><div class="smallfont"><b>Pro</b></div> <else /> <if condition="$post['field11'] < 1000"><div class="smallfont"><b>Guru</b></div> <else /> <if condition="$post['field11'] > 1000"><div class="smallfont"><b>God</b></div> <else /> </if> </if> </if> </if> </if> </if></td> </tr> </if> </if> </table> </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:
|