Skip to Content Skip to Menu

[SOLVED] CB "send email" feature

12 years 5 months ago - 12 years 5 months ago #200567 by TailorMadeSites
[SOLVED] CB "send email" feature was created by TailorMadeSites
Hi

As you know CB has a "send email" feature where user can send an email to other user.
I have a question about this, is there a way for the user "A" to "block" user "B" so user "B" can't send email to user "A" ?

Because it can happen for example that a user just want's to do bad to other user and sends 1000000 emails to other user which is not good ...

Thanks
Last edit: 12 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #200569 by krileon
Replied by krileon on topic Re: CB "send email" feature
The emails are limited to I believe 10 per hour so they can't exactly spam like that, but no there is no such feature.


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.

12 years 5 months ago #200572 by TailorMadeSites
Replied by TailorMadeSites on topic Re: CB "send email" feature
Yeah, just sent 10 emails and it wrote that I reached the limit)

PS. It's 10 emails for one DAY not per hour ))

Thanks
Cheers
Alex

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

12 years 5 months ago #200574 by TailorMadeSites
Replied by TailorMadeSites on topic Re: CB "send email" feature
krileon can you please give me a hand here, I found the code for the "you reached the emails limit" text, but it's not in a <span> or <p> or <div> so people can style is or something...

if (!defined('_UE_MAXEMAILSLIMIT')) DEFINE('_UE_MAXEMAILSLIMIT','You exceeded the maximum limit of %d emails per %d hours. Please try again later.');

return sprintf( _UE_MAXEMAILSLIMIT, $maxmails, $maxinterval/3600 );

Could you please advise me or help me to put the "_UE_MAXEMAILSLIMIT" in a <span> or something?

Thank you
Cheers
Alex

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #200576 by krileon
Replied by krileon on topic Re: CB "send email" feature
Just add a span to it. It's a language string. If the output location allows for HTML then your HTML will render. Example as follows.

FROM:
Code:
if (!defined('_UE_MAXEMAILSLIMIT')) DEFINE('_UE_MAXEMAILSLIMIT','You exceeded the maximum limit of %d emails per %d hours. Please try again later.');
TO:
Code:
if (!defined('_UE_MAXEMAILSLIMIT')) DEFINE('_UE_MAXEMAILSLIMIT','<div>You exceeded the maximum limit of %d emails per %d hours. Please try again later.</div>');


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

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

12 years 5 months ago #200577 by TailorMadeSites
Replied by TailorMadeSites on topic Re: CB "send email" feature
Stupid me )) thanks

Cheers

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

Moderators: beatnantkrileon
Powered by Kunena Forum