Please Log in or Create an account to join the conversation.
Suppose you could examine the HTML of the link, copy it to a delimiter field, then add substitutions where necessary. Not the best approach (API in a new plugin), but certainly the easiest and quickest. Example of the source as follows.1) Is it possible to create a separate tab/menu item only for "Request Connection" similar to how UUEID provides a tab for "Send Private Message"?
CB Menu can't be duplicated. You could have what you're wanting with a new plugin to use similar API to render it however you please.2) Is it possible to create multiple cb menus (ue_menu's)? i.e., one for each user group? I think that would be the only way I can get the tabs/fields protection to work correctly. I have a number of groups/plans, each can be seen by the other but only some can connect with each other.... Same concept applies to the PMS. I think my only option is to create unique menus so that each group can can act as "owner" individually so that I can set each one with specific "viewers".
What is UUED IM menu? We've no such thing. CB Menu will show a PM link, is that to which you are referring?3)How can I disable the compose tab in the UUED IM menu?
Please Log in or Create an account to join the conversation.
krileon wrote:
Suppose you could examine the HTML of the link, copy it to a delimiter field, then add substitutions where necessary. Not the best approach (API in a new plugin), but certainly the easiest and quickest. Example of the source as follows.1) Is it possible to create a separate tab/menu item only for "Request Connection" similar to how UUEID provides a tab for "Send Private Message"?
Code:<a name="cbAddConn" onclick="return overlib('Personalize your invitation to connect by adding a message that will be included with your connection.<br /><form action="index.php?option=com_comprofiler&act=connections&task=addConnection&connectionid=[user_id]" method="post" id="connOverForm" name="connOverForm">Message:<br /><textarea cols="40" rows="8" name="message"></textarea><br /><input type="button" class="inputbox" onclick="cbConnSubmReq();" value="Submit" /> <input type="button" class="inputbox" onclick="cClick();" value="Cancel" /></form>', STICKY, CAPTION,'Connect to [username]', CENTER,CLOSECLICK,CLOSETEXT,'CLOSE',WIDTH,350, ANCHOR,'cbAddConn',CENTERPOPUP,'LR','UR');" href="javascript:void(0)">Request Connection</a>
Have already replaced the users id and their name with the [user_id] and [username] substitutions. This likely will only work on users profiles. Probably needs further changes to fit your needs and of course isn't multilingual without new language definitions. It also isn't conditional like CB Menu where it changes based off current connection status.
CB Menu can't be duplicated. You could have what you're wanting with a new plugin to use similar API to render it however you please.2) Is it possible to create multiple cb menus (ue_menu's)? i.e., one for each user group? I think that would be the only way I can get the tabs/fields protection to work correctly. I have a number of groups/plans, each can be seen by the other but only some can connect with each other.... Same concept applies to the PMS. I think my only option is to create unique menus so that each group can can act as "owner" individually so that I can set each one with specific "viewers".
What is UUED IM menu? We've no such thing. CB Menu will show a PM link, is that to which you are referring?3)How can I disable the compose tab in the UUED IM menu?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.