[SOLVED] Need Help with 2 Minor issues

11 years 11 months ago - 11 years 11 months ago #198257 by justanotherkenny
[SOLVED] Need Help with 2 Minor issues was created by justanotherkenny
Hello,

I have 2 minor issues that I need Help with, hopefully you can guide me.

#1 CB list Manager: In the front end, by default it says "mywebsite.com has 11 registered users" ...How do I disable that ? I mean I prefer not to show / display how many the number of registered members


and # 2 : in a Users Profile ..for example I'm checking out a users profile, and from the menu items that include "view your profile ..send PM ...Send Email ...Manage connection ...report user ..etc etc" ...How do I disable just one item from that menu ? which is "Send Email" ..so it does not appear in the menu


Can you please guide me to a fix for the above two issues ?

Kind Regards

Please Log in to join the conversation.

11 years 11 months ago #198364 by krileon
Replied by krileon on topic Re: Need Help with 2 Minor issues

#1 CB list Manager: In the front end, by default it says "mywebsite.com has 11 registered users" ...How do I disable that ? I mean I prefer not to show / display how many the number of registered members

You'll have to perform the below edit to your CB template PHP file to remove this. Please note it'll remove it on all userlists if that's ok.

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

and # 2 : in a Users Profile ..for example I'm checking out a users profile, and from the menu items that include "view your profile ..send PM ...Send Email ...Manage connection ...report user ..etc etc" ...How do I disable just one item from that menu ? which is "Send Email" ..so it does not appear in the menu

Unfortunately you can't without disabling the email form feature all together. The alternative is to use CSS to hide it. The below CSS will remove the Send Email menu item.
.cbMenu_UE_MENU_SENDUSEREMAIL {
	display: none !important;
}

Add the above to your Joomla or CB 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: justanotherkenny

Please Log in to join the conversation.

11 years 11 months ago #198380 by justanotherkenny
Replied by justanotherkenny on topic Re: Need Help with 2 Minor issues
Hi Kyle,

Thank you for the Reply, I'm gonna try out the fix in sometime, I'll keep you Posted though. Kudos to You, Your Team and Nant.

Thank you Again ! :)

Please Log in to join the conversation.

11 years 11 months ago #198588 by justanotherkenny
Replied by justanotherkenny on topic Re: Need Help with 2 Minor issues
Hi again Kyle,


Both worked like a charm ! Thank you ...Thank you .....Thank you ...

Man I wanna buy you guys a coupla rounds of Beer ..Just to show my appreciation for the Excellent support I've got from you and your colleagues.


Thank you Again !! :) :) :) :) :)
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.498 seconds

Facebook Twitter LinkedIn