Skip to Content Skip to Menu

Remove how many user are registered on member list

  • reders
  • reders
  • OFFLINE
  • Posts: 64
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #157392 by reders
Please can you tell me how I remove how many users are registered on the menu list.
Please see the attached pic to see what I mean.

Thanks in Advance.

Attachments:

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

  • reders
  • reders
  • OFFLINE
  • Posts: 64
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #157604 by reders
Any body helping around here...?

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

  • sengles
  • sengles
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #157637 by sengles
I was searching the forum for the same thing - how to remove the number of registered users. For new websites, you don't want to show how few users you have... can anyone help?

Thanks

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

  • reders
  • reders
  • OFFLINE
  • Posts: 64
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #157651 by reders
Hi there,
I managed to sort this.

You can hide it in the css

Regards,
Sean R.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
13 years 2 months ago #157720 by krileon
This can be removed by editing the default.php of your CB template and removing the below line of code inside function _renderHead of class CBListView_html_default.
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.

  • sengles
  • sengles
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #157849 by sengles
That worked, thanks krileon!

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn