The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thanks for your answer Lynne!
Can you help me out with the code however? I'd like to do the following if possible: - Let me just briefly explain what the widget is so you understand my intentions. It is a HTML widget that displays an image and text that prompts guests to register. - I'd like to display it ONLY to the guest usergroup - When logged in, the content should change to a prompt (again custom text/image in html form) that prompts regular users to upgrade to a paid subscription - If the user is already in the paid subscription usergroup the widget shouldn't display. Is that possible? I'm thinking something like: "if usergroup (guest_usergroup_id) display <CODE>; if usergroup (all_usergoups_except_guest) display <CODE>; if usergroup (subscribed_usergroup_id) hide" I don't know much about php/the inner workings of vBulletin so I hope that makes sense and something similar can be achieved. If not possible, I suppose I'd just create 2 SEPERATE widgets: - The register prompt widget: displays only to guests - The upgrade account prompt: displays all groups apart from the subcribed group Thanks for your help so far ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|