Skip to Content Skip to Menu

[SOLVED] VCF address book integration?

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
11 years 2 months ago - 11 years 2 months ago #232832 by fribse2011
Replied by fribse2011 on topic VCF address book integration?
Ahh, much neater :-)
Ok, that hides it almost everywhere, but not on the own profile.
I've created the conditional like this, but it still shows up on my profile:
(oh, and I corrected the 'Value' to not show the word value since the snapshot, but it didn't help).

Can I activate a content plugin for a field?

No, but this is a great idea so I'll try implementing it for next CB release.
forge.joomlapolis.com/issues/4183

Great, looking forward to it, then I'll try and make a tab with the vcard converted to a QR code :-)

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:
Last edit: 11 years 2 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
11 years 2 months ago #232843 by krileon
Replied by krileon on topic VCF address book integration?
Please see my previous reply. Your conditional does not look correct. You don't need to condition the username field. Custom Value supports substitutions so we can check the profile owners user id directly against the viewing users user id.

The usage proposed in my previous reply hides the field from the profile owner themselves, but still displays to everyone else. It will still display on profile. If you don't want it displayed on profile then move it to a tab that is in a not shown on profile position.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
11 years 2 months ago - 11 years 2 months ago #232894 by fribse2011
Replied by fribse2011 on topic VCF address book integration?
Hi Krileon

Ah, found it, took a lot of experimenting, but now it reads:

But the tab and field still shows up?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:
Last edit: 11 years 2 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
11 years 2 months ago #232929 by krileon
Replied by krileon on topic VCF address book integration?
It's going to. That conditional only hides the tab from the users self. Everyone else viewing the profile will see the tab. Isn't that what you were wanting? If you're wanting it to not show on profile at all then move the tab to a not shown on profile position.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
11 years 2 months ago #232948 by fribse2011
Replied by fribse2011 on topic VCF address book integration?
Hi Krileon
That is exactly what I would like. To hide the tab only for the user himself.
Is there something special fir a cb moderator, is that why the tab isn't hidden when I view my own profile?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
11 years 2 months ago #232955 by krileon
Replied by krileon on topic VCF address book integration?
Ah, that's a field conditional. Looks like a bug. The below quickfix will fix it.

IN: /components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php
ON: Line 793
FROM:
Code:
$fieldPair = explode( ',', $params->get( 'cbconditional_field' . $conditional, null ) );
TO:
Code:
$fieldPair = explode( ',', $params->get( 'cbconditional_field' . $conditional, null ) ); if ( count( $fieldPair ) < 2 ) { array_unshift( $fieldPair, 0 ); }


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