Skip to Content Skip to Menu

Duplicate Picture Avatar Field Display since MAJ 2.4.4

  • Julien04
  • Julien04
  • OFFLINE
  • Posts: 234
  • Thanks: 35
  • Karma: 7
4 years 7 months ago - 4 years 7 months ago #317202 by Julien04


Hello,

I had upload last version of CB today in 2.4.4 and it appear that Avatar members on profil is duplicate with nophoto gender.

I use in the display field of avatar this code to select a photo gender when a visitor do an registration :
Code:
[cb:if avatar!~"/(nophoto_n|tnnophoto_n)\.png$/"][value][/cb:if] [cb:if avatar=~"/(nophoto_n|tnnophoto_n)\.png$/" and cb_vousetesune="Femme"]<img src="components/com_comprofiler/plugin/templates/default/images/avatar/nophoto_f.png">[/cb:if] [cb:if avatar=~"/(nophoto_n|tnnophoto_n)\.png$/" and cb_vousetesune="Homme"]<img src="components/com_comprofiler/plugin/templates/default/images/avatar/nophoto_m.png">[/cb:if]

Since last upload, we need to change this code ?

Can you help me please ?

Regards,

Julien
Attachments:
Last edit: 4 years 7 months ago by Julien04.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
4 years 7 months ago #317210 by krileon
Looks like a bug in the IF substitution REGEXP when we implemented support for nested substitutions. Have added a bug ticket and am fixing as we speak.

forge.joomlapolis.com/issues/7886


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

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
4 years 7 months ago #317211 by krileon
This is now fixed in latest build available now.


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

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

  • Julien04
  • Julien04
  • OFFLINE
  • Posts: 234
  • Thanks: 35
  • Karma: 7
4 years 7 months ago #317212 by Julien04
Great Job !

:cheer:

Have good day !
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum