The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question about if condition
well, I used a <if condition> to limit a change in the template threadbit I did, I used to do if the limitation that only appear where the modification can take the necessary information, it worked normally and not appearing on the topics that do not have information you want in this modification.
But if I set a topic that there is no hidden information <if> the modification, but if I set a topic where it hides <if> modification automatically pinned topics where <if> should hide the change, get appear on the topic where the information enables the information <if> Mod. the code used was: Code:
<if condition="$uploadinfo[servidores]"><div class="smallfont"><b>Servidores:</b> $uploadinfo[servidores]</div></if> |
#2
|
|||
|
|||
Sorry, I read this a few times but I don't understand. I think you are saying that the "if" works sometimes but doesn't work other times, but that's as much as I can understand.
|
#3
|
|||
|
|||
Yes, exactly!
sometimes when <if> not find valid information, uses the other threads when it should disappear and hide the modification |
#4
|
|||
|
|||
Maybe the problem is where $uploadinfo[servidores] is set? For exmaple,, if it's like this:
Code:
if (something) { ... $uploadinfo[servidores] = "servidores"; ... } Code:
if (something) { ... $uploadinfo[servidores] = "servidores"; ... } else { $uploadinfo[servidores] = ""; } This is a guess - I still don't understand. |
#5
|
|||
|
|||
unfortunately did not work.
I will simplify my problem, <if> sometimes works and sometimes not. for example lets say I remove the tag $ uploadinfo [servers] one tag for the thanks plugin, If the creator of the topic does not have the thanks <if> , it should disappear, does not occur anymore, he grabs information from the next topic, namely the creator of the next topic |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|