vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=185331

<IF CONDITION= not working
by SLR722
14 Jul 2008 21:54

Hey

I am trying to make a modification for vB.org and for my client. I am trying to declare a function and some HTML through vB's template conditions and its not working. In basic, I could not find a developer documentation for the following conditions, but none of them are working with else, and if else combinations.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Anyone have an idea to achieve this.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


veenuisthebest 14 Jul 2008 22:13

For usergroup:-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For guest:-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


SLR722 14 Jul 2008 22:32

Still not working

Dismounted 15 Jul 2008 11:40

They will work - if you are implementing them properly.

SLR722 15 Jul 2008 20:36

Hey

I am doing a Welcome Panel. And have done it in the ForumHome template. It displays when the user is logged in only, and not for the guest.

The code is being called in the FORUMHOME_WELCOMEPANEL

Opserty 15 Jul 2008 21:40

Template Conditionals See if maybe you can get something from there that works. Also use <else /> instead of two seperate <if>s

SLR722 15 Jul 2008 22:41

Its working. I managed to place the guest information in the navigation bar and its fixed it!


All times are GMT. The time now is 23:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.