The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]() Quote:
![]() |
#12
|
||||
|
||||
![]()
hey Zachery, how to check if someone's id is X (X is specifiec number)
and what is the result of you 3 ? |
#13
|
||||
|
||||
![]() Quote:
![]() Sorry about the edit, Zachery. I hit the wrong button. ![]() |
#14
|
||||
|
||||
![]() Quote:
|
#15
|
||||
|
||||
![]()
I was going by this from the second post:
Thanks Xenon for guiding me this. But I think you are right. $bbuserinfo would be the safest way to do it all-around. I stand corrected! ![]() |
#16
|
|||
|
|||
![]()
Wow, I just got completely lost.
So I use <if condition="in_array(is_member_of($bbuserinfo, array(5,6,7,9)))">$quickreply</if> in the same spot around $quickreply in the showthread template ? |
#17
|
||||
|
||||
![]()
Yes.
![]() |
#18
|
|||
|
|||
![]()
Alright, because when I tried that on the showthread page, and being logged in as one of those usergroups, I'd go to the thread and at the very top it displays...
Warning: Wrong parameter count for in_array() in /home/wireless/public_html/forum/showthread.php(1735) : eval()'d code on line 122 |
#19
|
||||
|
||||
![]()
Does it work for you alright now?
|
#20
|
|||
|
|||
![]()
Nope. It gives me that error at the top, and quick reply is still able to be used by admins which should be, and regular registered users which shouldn't be.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|