Skip to Content Skip to Menu

[SOLVED] canvas and avatar: gender?

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
10 years 2 months ago #252179 by jojo12
Replied by jojo12 on topic canvas and avatar: gender?
I used it like that:

[cb:if canvas!~"/(nophoto_n|tnnophoto_n)\.png$/"]Show if there is a Canvas[/cb:if]
[cb:if canvas~"/(nophoto_n|tnnophoto_n)\.png$/"]Show if there is not a Canvas[/cb:if]

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
10 years 2 months ago - 10 years 2 months ago #252384 by jojo12
Replied by jojo12 on topic canvas and avatar: gender?
I tried a lot now.
It seems to be as follows:
REGEX in the Layouts (like Profile Value Layout...) leads to the "forbidden" window.
REGEX in CB_conditional works fine!

is this a host problem or a programming problem in cb?
EDIT:

when I use REGEX in the global description of a custom HTML field, it works without problems.
Last edit: 10 years 2 months ago by jojo12.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48671
  • Thanks: 8312
  • Karma: 1446
10 years 2 months ago #252419 by krileon
Replied by krileon on topic canvas and avatar: gender?
Seams to be working perfectly fine in layouts using your above regex. You'll need to debug the error further to see what is actually happening. Enable debug mode and maximum error reporting in Joomla global configuration. Next see if any fatal errors are output. If none check server error logs to see if any errors are present. If none contact your host as it could be mod_security.


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: jojo12

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
10 years 1 month ago #252521 by jojo12
Replied by jojo12 on topic canvas and avatar: gender?
Yes it was the mod_security. Now it works.

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

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
10 years 1 month ago #252767 by jojo12
Replied by jojo12 on topic canvas and avatar: gender?
if I create a new field with the same settings like avatar and place it on the same place,
the image is not"circle bordered"

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48671
  • Thanks: 8312
  • Karma: 1446
10 years 1 month ago #252784 by krileon
Replied by krileon on topic canvas and avatar: gender?
The "Style" parameter for your image field isn't working? Does it work in a position other than canvas profile image? Seams to be working fine in my tests. When substituting the field in you need to be sure to substitute in the HTML formatted value using the below usage.

[cb:userfield field="FIELD_NAME" /]


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum