![]() |
Just add None to the field list. Then check for that in the template.
<if condition="$post[fieldx]&&$post[fieldx]<>None"> Do something </if> |
I'd like to share a small modification I've made to this hack which I've found my members really enjoy.
This addon will allow members to display their US State, or Canadian Provincial flags ONLY if they have the United States or Canada selected as their Country. In addition, if they pick a country that is part of the European Union, it will automatically display the EU flag next to it as well. I've attached an installer and all necissary files to get it working with the Country hack. It's a very small addon, and only took me about 5 mins (tops) to get to work once the Country Flag hack was installed. If you require any technical assistance with this hack, as I am posting this thread on both vBulletin.org, and vBulletinTemplates.com, I will provide technical support for this addon only on my own forums located here: http://www.battleforums.com/forumdisplay.php?f=288 I also welcome anyone PMing me on my forums as I check my PM box more often than my cellphone voicemail. Please do not PM me here however, as I am not nearly as active on this account. Enjoy! ~coRtALoS BattleForums.com, StarCraftForums.com, WarCraftForums.com, DiabloForums.com, and BattleNetwork.com Administrator ----EDIT---- Apparently this site is having difficulty hosting my attachments. You can download them either at vBulletin.org in my post here: https://vborg.vbsupport.ru/showthrea...575#post637575 Or on my site, BattleForums.com here: http://www.battleforums.com/showthread.php?p=1074648 |
Works Like A Dream *Clicks Install*
|
I'm so lost here. How do I know what field I have to replace X with, wtf?
|
when you create the field you will see what numer is asigned to it.
|
I installed this on Vb 3.0.7, works it seems but i have a ?
i have removed a few members and they show as guest now, it there away to remove the red x from there country? thank |
Quote:
Im sure there is an easier way though... |
Quote:
HTML Code:
<if condition="$post[fieldX] != Undisclosed"> HTML Code:
<if condition="$post[fieldX] != Undisclosed AND !empty($post[fieldX])"> |
i just installed this hack,
and it is only displaying country flag name instead country flag image,.. what should i do to fix this? THANKS IN ADVANCED |
Have you uploaded the images to the correct directory? All of the <img> tags have alts, so it sounds like your code is right, but it's not finding the images.
|
All times are GMT. The time now is 05:20 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:
|