By okkhalid on Monday, 19 November 2012
Posted in General Issues
Replies 6
Likes 0
Views 1.1K
Votes 0
Hello,

I have 2 categories that is must all our users need to be subscribed to it.
I also have other categories which are optional for them to subscribe.
my question is, is there is any way to add the users to these 2 categories to receive the update regardless if they did not wish, the reason is these 2 categories are the website announcements, so I would like to have all the site users to get notifications once we post an article.

Thank you, and have a good day.
Hello, I'm in process to update the version of the easy blog I have, but the only problem I do not want to lose the sending out email notification to all my users email except some of them. would the code above work with the new version of easyblog?

administrator/components/com_easyblog/tables/blog.php : around line 1071

if( $this->category_id == '2' || $this->category_id == '3' )
{
$notification->getAllEmails( $emails );

foreach( $emails as $email )
{
if( $email->email == 'ericPublic@email.com' || $email->email == 'ericManager@email.com' )
{
unset($emails[$email->email]);
}
}
}
else
{
// @rule: Send to subscribers that subscribe to the bloggers
if( $config->get( 'notification_blogsubscriber' ) )
{
$notification->getBloggerSubscriberEmails( $emails , $this );
}

// @rule: Send to subscribers that subscribed to the category
if( $config->get( 'notification_categorysubscriber' ) )
{
$notification->getCategorySubscriberEmails( $emails , $this );
}

// @rule: Send notification to all site's subscribers
if($config->get('notification_sitesubscriber') )
{
$notification->getSiteSubscriberEmails( $emails , $this );
}
}
·
Saturday, 14 December 2013 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry for the late reply. Please backup the file and perform an upgrade then you will need to reapply the changes. Do not just replace the whole file It will work if you have applied it cirrectly.

Thanks!
·
Saturday, 14 December 2013 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, I have applied the changes to to blog.php, and then i setup the cron jobs. I tested by writing some articles but no one get an email notification .

I checked the Mail Activity in the easyblog backend and there is no emails there, I have attached the blog.php to help to find what it went wrong.

Thank you
·
Sunday, 15 December 2013 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry for the late reply. Please use this file instead. Also please understand that we cannot keep rehacking the files for you. This is not actually in our scope of support. Hope this helps.

Thanks!
·
Monday, 16 December 2013 01:36
·
0 Likes
·
0 Votes
·
0 Comments
·
If it's not scope of your support then please remove the file from your last post

I do not need it anymore mom with this attitude.

Wow you guys changed a lot

Keep the file for your self I will try in my own as you suggested
·
Monday, 16 December 2013 01:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Khalid,

I am really sorry if my colleague may or may not have offended you in her post earlier. However, we do not have any intentions of being rude at all. She is just implying that our support policy does not cover customizations which is stated in http://stackideas.com/support (I do apologize if there's any misunderstanding here).

We have never changed and we will still help customers as much as we can but as you know, we have lots of customers and we can't be keeping track of every files that is modified on every customer's site It's almost impossible to do that. (I wish that was possible).

Thanks for being understanding.
·
Monday, 16 December 2013 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post