By Ferlin Mogot on Monday, 13 January 2014
Posted in Technical Issues
Replies 7
Likes 0
Views 582
Votes 0
When user posted standard article (privacy: public and no password protected), SU get an email notification.
but when a user posted an article in EB with privacy: only me or protected, no email notification sent to the SU.

how to keep SU got an email when a user posted an article in EB with privacy?

Thanks
Hello Ferlin,

We are sorry, it is not possible as Easyblog will check whether the blog post is public or private. If it is not public which is Only Me or Protected, it will skip the Mail notification.
·
Monday, 13 January 2014 18:58
·
0 Likes
·
0 Votes
·
0 Comments
·
hello, how to hack in order to SU keep get email notification though user post an article in "only me" or "protected" ?

Thanks
·
Friday, 24 January 2014 16:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ferlin,

So sorry for the delay in getting back to you. Please go to the file

JOOMLA/administrator/components/com_easyblog/controllers/blogs.php

and change the codes in line 632 from
if( $blog->published == POST_ID_PUBLISHED && $isNew && !$blog->private )

to
if( $blog->published == POST_ID_PUBLISHED && $isNew )

and the file

JOOMLA/components/com_easyblog/controllers/dashboard.php

and change the codes at line 1039 from
if( $isNew && !$blog->private && $blog->published != POST_ID_SCHEDULED )

to
if( $isNew && $blog->published != POST_ID_SCHEDULED )

and the file

JOOMLA/administrator/components/com_easyblog/tables/blog.php

change the codes at line 1164 from
if( !empty($this->send_notification_emails) )

to
if( !empty($this->send_notification_emails) && !this->private )

Hope this helps.

Thanks!
·
Friday, 24 January 2014 17:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Adelene,
I just update my EB to version 3.9.15218, then check file in JOOMLA/administrator/components/com_easyblog/tables/blog.php, but unfortunately I don't found code
if( !empty($this->send_notification_emails) )

at line 1164.

Thanks
·
Tuesday, 28 January 2014 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ferlin,

So sorry for the delay in getting back to you. The codes is at line 1165 now http://screencast.com/t/iRkk4mAjyrCA Hope this helps.

Thanks!
·
Tuesday, 28 January 2014 17:43
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Adelene,

I have change code in JOOMLA/administrator/components/com_easyblog/controllers/blogs.php at line 632 and JOOMLA/components/com_easyblog/controllers/dashboard.php at line 1039. and my web seem normal.

But when I change code in JOOMLA/administrator/components/com_easyblog/tables/blog.php at line 1165,
the link to write post in EB is error.

are you know the problem?

FYI: currently, I has removed the edited code there.
Thanks
·
Wednesday, 29 January 2014 11:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ferlin,

Sorry for the confusion here. There is a typo in my codes Please change it to this instead
if( !empty($this->send_notification_emails) && !$this->private )

Hope this helps.

Thanks!
·
Wednesday, 29 January 2014 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post