Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

unlink option not visible in menu

11 years 5 months ago #228069 by michaelgreen252
unlink option not visible in menu was created by michaelgreen252
Hello, I have searched the forums but have not found a solution..my unlink option which displays in the cb menu is not there..
my cb connect is published..
app id and secret in place.
fb link displays on login menu..
user can receive posts to their fb page..
menu > unlink/invite backend options are enabled
button style: module orientation
its enabled..
but there is no unlink displayed in my cb menu

i have no related errors in max reporting settings
is there any thing else i can look at?
thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #228095 by krileon
Replied by krileon on topic unlink option not visible in menu
Ensure you're using latest release of CB Connect (4.0.3). It only displays on their own profile and only if their profile is linked. If you see the FB "Link" button in the login module then they're not linked and won't see the Unlink menu item.


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.

11 years 5 months ago - 11 years 5 months ago #228126 by michaelgreen252
Replied by michaelgreen252 on topic unlink option not visible in menu
Hey, thanks..so i was actually on (4.0.2) and i just updated the connect plugin to version 4.0.3..
also
cb login plugins are enabled and fb link displays and works well...

within the owners profile..who has already linked their fb account and was able to receive postings to their fb page via (my websites facebook social plugin wall)

i checked the menu plugin and tab..found no settings that would enable additional fb link in menu...

only thing that seems to be missing is the required facebook unlink option
whats also missing is my fb invite icon in case thats relevant..

ive checked my file directory...i can see references to my invite and unlink in the button.css...

heres the code i have referencing to unlink/invite ...plugin.cbconnect.php if needed...
thanks

if ( $fbId ) {
$facebook = cbconnectFacebook::getInstance();
$fbUserid = $facebook->getConnectID();

if ( $fbUserid && ( $fbId == $fbUserid ) && $facebook->loadAPI() ) {
if ( $plugin->params->get( 'facebook_unlink', 1 ) ) {
$unjoin = array();
$unjoin = array( '_UE_MENU_EDIT' => array( '_UE_MENU_FB_UNJOIN facebook_unlink' => null ) );
$unjoin = 'menuBar';
$unjoin = htmlspecialchars( CBTxt::T( 'Unjoin this site' ) );
$unjoin = "javascript: void(0);";
$unjoin = '';
$unjoin = '<img src="' . $plugin->livePath . '/images/facebook/icon.png" width="16" height="16" />';
$unjoin = htmlspecialchars( CBTxt::T( 'Unauthorize this site from your Facebook account.' ) );

$this->addMenu( $unjoin );
}

if ( $plugin->params->get( 'facebook_invite', 1 ) ) {
$invite = array();
$invite = array( '_UE_MENU_EDIT' => array( '_UE_MENU_FB_INVITE facebook_invite' => null ) );
$invite = 'menuBar';
$invite = htmlspecialchars( CBTxt::T( 'Invite Friends' ) );
$invite = "javascript: void(0);";
$invite = '';
$invite = '<img src="' . $plugin->livePath . '/images/facebook/icon.png" width="16" height="16" />';
$invite = htmlspecialchars( CBTxt::P( 'Invite your Facebook Friends to join [sitename].', array( '[sitename]' => $_CB_framework->getCfg( 'sitename' ) ) ) );

$this->addMenu( $invite );
}
}
}
any ideas will be helpful..thanks
Last edit: 11 years 5 months ago by michaelgreen252.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago - 11 years 5 months ago #228133 by krileon
Replied by krileon on topic unlink option not visible in menu
I don't know what to tell you, but it's working perfectly fine in all my tests. You can see it working fine in the below screenshot.



The menu items are added to CB Menu. So if you don't have CB Menu enabled or accessible to the user then they won't be able to access those 2 menu links.

The user viewing their profile needs to have an active FB session, because without one it won't function so won't display. To have an active FB session simply login to your site using FB. If you logged in through Joomla normally then you won't have an active session then those API calls won't work so the links don't bother displaying in such cases.


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.
Attachments:
Last edit: 11 years 5 months ago by krileon.

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

11 years 5 months ago #228162 by michaelgreen252
Replied by michaelgreen252 on topic unlink option not visible in menu
you were correct...when i logged in via cb login..then the fb invite/unlink options did not display...but logging out then back in via fb login button...then the fb invite/unlink displays...
thanks..

one more question if you dont mind..

in cb connect plugin > config > Facebook > Registration > Fields

The Select Facebook Field: does not give any options...when clicked it just stays on select facebook field....
the Select community builder field does the same thing..

all fb permissions have been selected...
are there any other settings that i should look at in order to activate/enable these fields?

thanks again

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #228186 by krileon
Replied by krileon on topic unlink option not visible in menu

The Select Facebook Field: does not give any options...when clicked it just stays on select facebook field....
the Select community builder field does the same thing..

Don't understand the issue. It's just a standard select input. Simply click it then select a field from the dropdown. Does clicking it do nothing? Please provide a screenshot of what you're seeing when clicking it.

all fb permissions have been selected...

Don't do that. You don't need all permissions and it's going to be off putting to anyone that wants to use your app. Only request what you absolutely need.

are there any other settings that i should look at in order to activate/enable these fields?

No, you click the dropdown and select a FB field then click the other and select a CB field.


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