The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Ok I'm not great with code, so these ideas will need some polish
Have you tried using double ='s ... r==114? What about another AND clause that blocks it from parentnode? If an AND clause won't work, perhaps a vbelse? E.G. <vb :else>if r=parentnode don't display </ vb:else> I haven't actually looked at vBulletin code in awhile, I'm struggling with my "advanced" programming class and visual basic |
#12
|
||||
|
||||
Tried the double = signs that did not work either. As for the other I do not know how to do that. I'm not a PHP programmer I code HTML & CSS and that is the extent of it. So I do not know a lot about the PHP codes. I know some but not enough to be able to create code from scratch.
|
#13
|
|||
|
|||
I don't know if that code is the right way to do it or not, but I think you'd want this:
Code:
<vb:if condition="(THIS_SCRIPT == 'vbcms') AND ($_GET['r'] != 114)"><div class="cms_slider">{vb:raw static_html}</div></vb:if> |
#14
|
||||
|
||||
That only shows on the front page. I want it to only show on the 114 page.
|
#15
|
|||
|
|||
OK, try changing it to $_GET['r'] == 114 . But like I said, I don't know if that's the way to do it, I'm just trying to fix the posted code, because I don't think $_GET['r==114'] was right.
|
#16
|
|||
|
|||
If that doesn't work then a shot in the dark here might
before the AND in the previous code from kh99 ... Code:
AND ($_GET['r'] != parentnode) Code:
<vb:if condition="(THIS_SCRIPT == 'vbcms') AND ($_GET['r'] != parentnode) AND ($_GET['r'] != 114)"><div class="cms_slider">{vb:raw static_html}</div></vb:if> |
#17
|
||||
|
||||
Thanks but that only shows on the front page too. on both of those.
|
#18
|
||||
|
||||
Code:
<vb:if condition="$_GET['r']==114"></vb:if> |
2 благодарности(ей) от: | ||
HM666, John Lester |
#19
|
|||
|
|||
Yea I can see that working since it's not referring to "this script".
|
#20
|
||||
|
||||
YAY! All hail Dead Eddie! Thanks that worked
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|