Skip to Content Skip to Menu

[SOLVED] How do I remove text from memberlist view?

  • basidee
  • basidee
  • OFFLINE
  • Posts: 61
  • Thanks: 0
  • Karma: 0
12 years 8 months ago - 12 years 8 months ago #216541 by basidee
I have some memberlists displayed. I would like to remove the ugly field descriptions ("Profile image:") showing next to the profile image. See what i mean here smeclub.net/component/comprofiler/userslist/Executive%20Committee?Itemid=796

Also, I would like to edit the text at the top of the list which says "<sitename> has <no.> registered users" because it is misleading.

Please tell me how to do these 2 things.
Last edit: 12 years 8 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49441
  • Thanks: 8466
  • Karma: 1465
12 years 8 months ago #216599 by krileon

I have some memberlists displayed. I would like to remove the ugly field descriptions ("Profile image:") showing next to the profile image. See what i mean here smeclub.net/component/comprofiler/usersl...Committee?Itemid=796

Edit your userlist and for Column 1 uncheck display of captions.

Also, I would like to edit the text at the top of the list which says "<sitename> has <no.> registered users" because it is misleading.

This is the following language string in your CB language files, which you can adjust as needed.

_UE_HAS and _UE_USERS or _UE_USERPENDAPPRACTION

The alternative is to edit this in source at the below location.

IN: components/com_comprofiler/plugin/templates/default/default.php
ON: Lines 384-388
Code:
if ( $this->totalIsAllUsers ) { echo $_CB_framework->getCfg( 'sitename' ) . " " . _UE_HAS . " <strong>" . $this->total . "</strong> " . _UE_USERS; } else { echo "<strong>" . $this->total . "</strong> " . _UE_USERPENDAPPRACTION . ":"; }


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.

  • basidee
  • basidee
  • OFFLINE
  • Posts: 61
  • Thanks: 0
  • Karma: 0
12 years 8 months ago #216611 by basidee
Worked perfectly. many thanks.

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

Moderators: beatnantkrileon
Powered by Kunena Forum