The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Quote:
Code:
<!-- test usergroup check --> <vb:if condition="is_member_of($bbuserinfo, 6)"> <vb:if condition="in_array(6, $group)"> style="" </vb:if> </vb:if> <!-- test usergroup check --> I get the error when I try to save that. If I do just this, it saves ok. Code:
<!-- test usergroup check --> <vb:if condition="is_member_of($bbuserinfo, 6)"> style="" </vb:if> <!-- test usergroup check --> |
#22
|
||||
|
||||
maybe try this, not sure why it would matter.
Code:
<vb:if condition="in_array('6', $group)">STUFF</vb:if> |
#23
|
|||
|
|||
Hmm, you had it working in 4.1.12?
I'm running patch level 2 now, but there is a patch level 3 available that I haven't updated the forum with yet. |
#24
|
||||
|
||||
it works flawlessly in vb 4.2.0 pl3
|
#25
|
|||
|
|||
hmm.
Well thanks for all the help guys it's always awesome when everyone comes together like that. This thread will be here for 4.2.x users anyway lifesgreatest that's pretty awesome that you provided the plug-in to accomplish this. Unfortunately my forum is so heavily customized and with various mods I'm always nervous about semi-major updates. ie 4.0 to 4.1 or 4.1 to 4.2 etc. Stuff breaks and I end up running around like a chicken with my head cut off on my test forum trying to make everything work again. lol, you know how it is. If I ever figure out why it's working in 4.2 and not 4.1 I'll come back and let you guys know. |
#26
|
|||
|
|||
lifesgreatest, if the reason it's not working in 4.1.12 is because of a bug, what file or files would you assume be causing this problem?
I might be able to submit a support ticket and get vbstaff to confirm it is in fact a bug. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|