UPDATES PayPlans 5.0.8 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Want to customize Blog Approve process

Prakash Reddy · ·
6:40 PM Tuesday, 05 July 2016
Normal
Hi,

I've a requirement to customize the blog approve process in EasyBlog.
Currently moderators can see list of pending posts and open the blog in composer and when clicked on "approve and publish", the blog is being published. I need to add some custom code there.

Can you please point me where exactly the functions "approve()" and "publish()" get called after clicking the button in composer.

From Composer/actions.php, I could not figure out which function will be called.

<a class="btn btn-success eb-composer-primary-button eb-composer-approve-post-button" data-eb-composer-approve-post-button>
<i class="fa eb-loader-o size-sm color-white eb-composer-loader hide"></i>
<i class="fa fa-send"></i> <?php echo JText::_('COM_EASYBLOG_APPROVE_AND_PUBLISH_POST'); ?>
</a>

Thanks for your help.
Prakash.
The replies under this section are restricted to logged in users or users with an active subscription with us