Skip to Content Skip to Menu

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

[SOLVED] What Parameters to use in the bot cb_content to Display other Members Profile Fields in article to take their Profile fields Print

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #228008 by krileon
If I understand correctly you want moderators to be able to edit a users profile? This is doable, but you'll need to use CB Menu so the Edit > Update Profile link will be available. The alternative is you can use the below in a Delimiter field to reach profile edit (you may want to put this on a tab with Special access so only admins will see it) of the user.
Code:
<a href="index.php?option=com_comprofiler&task=userdetails&user=[user_id]" target="_blank">Edit My Profile!</a>

Unfortunately you won't be able to have a Joomla menu link for profile edit like this, because it needs to be dynamic and replace user variable with the user_id of the profile you're viewing so you need to use a substitution in a delimiter field or even a CB Content Module would work or simply use CB Menu.


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.

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago #228031 by madhu
Dear sir,
Thank you very much for your reply and support,
and sorry i cant able to do this,
but i place the menu tab in the profile,
but do you have any idea on how to remove the
"Messages" and "View" tabs in the Menu Tab.

Thanking you
Madhusudhan krishnan

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 #228037 by krileon
The below CSS will get rid of both of those. To get rid of other links inspect with Chrome or Firebug for Firefox for their CSS classes or IDs to remove them.
Code:
.cbMenu_UE_MENU_VIEW, .cbMenu_UE_MENU_MESSAGES { display: none; }

I suggest adding the CSS to the bottom of your Joomla template CSS file.


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

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

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago #228043 by madhu
Thank you sir,
it is worked,
and another thing is, is it possible to put the following code you have given me in the menu tab? beside the edit tab.

<a href="index.php?option=com_comprofiler&task=userprofile&user=[user_id]&tmpl=component&print" target="_blank">Print Profile View</a>

This is Profile print code you have given me to enter in the delimeter field, it is working great.
Thanking you

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 #228053 by krileon
You'd need to use latest CB Auto Actions and its new Menu action to add new menu items like that.


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.

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago #228072 by madhu
Dear sir,
The CSS code is working fine, but in the print page it is displaying again,
you can see this in the images below,
so is there any other css files i need to add the code you have given.





Thanking you
Attachments:

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

Moderators: beatnantkrileon
Powered by Kunena Forum