Skip to Content Skip to Menu

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

userlists

  • fra11
  • fra11
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 4 months ago #282345 by fra11
userlists was created by fra11
Hello, i'd like to know if (and in casa how) is possible to bring a userlist into a CB tab or field (I mind a way different than the usage of the I-frame code).
Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 4 months ago #282384 by krileon
Replied by krileon on topic userlists
There's no substitution for userlists. You can't display it anywhere except the userlist page unless you use an iframe to load in a userlist URL. Believe there's a 3rd party extension called Components Anywhere that others have used to do this without an iframe, but I've no experience with it.


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.

  • fra11
  • fra11
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 4 months ago #282396 by fra11
Replied by fra11 on topic userlists
ok, thanks. Ans, always about the usrelist, if you click on the profile shown it direct on the profile page, but it is opened in the same window. Do you know where i have to put the target="_blank" string if I want the profile page to be opened in another window? Thanks a lot, best
F.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 4 months ago #282414 by krileon
Replied by krileon on topic userlists
You would need to modify core code to change the target window or turn off the userlist linking then use your own custom code in CB Auto Actions to bind to the user rows and link to users profiles. We do not support core edits so I can not advise beyond location, which is the following.

IN: components/com_comprofiler/comprofiler.html.php
ON: Lines 425 - 448


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.

  • fra11
  • fra11
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 4 months ago #282952 by fra11
Replied by fra11 on topic userlists
thanks a lot. I do not have thecompilator, thus, am not able to find the lines 425-448, could you copy and past them here (all or just a few of them), in order to understand which ones i have to work on?
Sorry about that but hope you can be helpful.
Best,
F.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 4 months ago #283008 by krileon
Replied by krileon on topic userlists
Install latest CB release then open that file in Notepadd++ or Netbeans. Both are free and can display line numbers. Netbeans being a free IDE. Recommended is PhpStorm (what we use), but is commercial. Line 425 begins with the following.

Code:
$js = "var cbUserURLs = [];";


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