![]() |
some BBcode for member only
Dear all ,
I have a question need all your help . I want to make one of my bbcode that need user to login for watching . My idea is , [ member ] Member Content [ /member ] But I can't use the code as following (which is what I post in the bbcode area) PHP Code:
Can you tell me how to modify the script or how to make it work ? thanks for your help . |
Have you tried to use an if conditional array?
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 2, 5, 6, 7)"> |
Dear DataHero
thanks for your reply , your code can not work with bbcode , I think there might be some limit that those command can not run outside the templates of the vbulletin |
You can't use conditions or php in BB Code- it just doesn't work. That said search for the "[hide]" mod which should do the same thing... basically you need to make a product/plugin that hides text that looks like a BB Code but isn't really a BB Code.
https://vborg.vbsupport.ru/showthread.php?t=203010 https://vborg.vbsupport.ru/showthread.php?t=221667 |
Dear BirdOPrey5
thanks for your information , I have done modification with your link , many thanks |
All times are GMT. The time now is 09:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|