Skip to Content Skip to Menu

[SOLVED] How to hide an empty image with CB Conditional

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
12 years 1 month ago #197948 by krileon
On screen where? CB Conditional lets you enable and disable its usage on various locations. Edit the condition and ensure Profile View is enabled. Don't know what more to tell you. I've configured the below to the Avatar field and it works fine.

Display: Field conditional others
Operator: Is REGEX
Value: /nophoto_n.png|tnnophoto_n.png/
Hide: Profile image
Registration: Disabled
Profile Edit: Disabled
Profile View: Enabled
Userlists Search: Disabled
Direction: Two-Way


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Pere LK

Please Log in or Create an account to join the conversation.

  • Pere LK
  • Pere LK
  • OFFLINE
  • Posts: 123
  • Thanks: 2
  • Karma: 1
12 years 1 month ago - 12 years 1 month ago #197989 by Pere LK
Don't know why but I have update from 1.3.2 and it's good now... Sigh...
But I use the "Field conditional self" not other.

Thanks for your time (so many time spend for a stupid upgrade I don't look after...)
Mybe in the CB 2.0 there will be a update alert for plugin ?
Last edit: 12 years 1 month ago by Pere LK.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn