![]() |
how to disable banner for usergroup member
hello,im insert script html for banner,
and i have 5 usergroup member. i want disable script banner for 1usergroup. maybe anyone can help me to solve my problem? thanks |
Code:
<if condition="!is_member_of($vbulletin->userinfo, X)">YOUR CODE</if> |
yah thats work,thanks buddy
|
A question regarding this thing. Maybe it is answered but I couldnt find it
I want to add different usergroup banners for different usergroups in postbit. If possible they keep changing. Thanks in advance. |
Are you talking about random banners? If so - there are already threads about them - search for them. :)
|
Random banners in header?
Na. I am not talking about that. I am talking about the banners in postbit_legacy. Lets see your post above. Between your name, Dismounted, and details like join date and location. A banner there. I really couldn't find anything on vb.org. Would you mind giving a link please. Thansk in advance. |
I understand,
Find the following code in your template postbit legacy: Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<if condition="is_member_of($post, #)"> |
^^tanx alot
Will check it and see if this is what I need. Just a question: Why can't I see a code link to the image I want to show in postbit in your above code?? Where does the code pick the image from for postbit?? |
What are you talking about? What image?
|
Check the following image. The position where I want a banner is noted in the following image in your reply's postbit
http://img160.imageshack.us/img160/5097/bannerg.th.jpg Thanks in advance. --------------- Added [DATE]1236101252[/DATE] at [TIME]1236101252[/TIME] --------------- Any update by anyoen on this? |
Have you tested out what I wrote? If so what were the results?
|
Why don't you use the built in ad_locations?
they have them after the post, inside the post and before the post. ps.. that screenshot is very small, can you upload it to photobucket or something different? |
Quote:
PHP Code:
|
Quote:
I will try your way too. --------------- Added [DATE]1236278204[/DATE] at [TIME]1236278204[/TIME] --------------- Quote:
|
I sure hope you did not copy that down verbatim, because it would be incorrect. These are both examples used on another template which in return will not display correctly on yours. I was under the impression you would be editing these
You will also need to make a style in your CSS to reflect "class alt2". What are your levels and experiences in VB and web development? This will help me better prepare my future answers for you. Thank you! |
Thanks MrMoo
Well currently I am learning php. My main filed is though hardware but I have recently gained too much interest in vB. It will be better if you can give some detailed answer. Thanks in advance. |
All times are GMT. The time now is 03:21 PM. |
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:
|