Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Send Email on Page Load

9 years 4 months ago
  • Pedro's Avatar
    Topic Author
  • Pedro
  • Offline
  • Fresh Boarder
  • Posts: 61
  • Thank you received: 2
Licenses:
JomSocial Expired

ISSUE SUMMARY:

If I set the "Send Email on Page Load" will this work for joomla pages or only jomsocial pages. And if it is only jomsocial pages how can I make it work with all pages, like a plugin?

Thanks

9 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

it will work on jomsocial page, because the code only be executed on jomsocial controller page. You cant change it to work on all joomla pages, except you create your own plugin, and this is the trigger :

    require_once(JPATH_BASE . '/components/com_community/libraries/core.php');

$cron = new CCron();
    $cron->sendEmailsOnPageLoad();

thank you!

9 years 4 months ago
  • Pedro's Avatar
    Topic Author
  • Pedro
  • Offline
  • Fresh Boarder
  • Posts: 61
  • Thank you received: 2
Licenses:
JomSocial Expired

Hi,

Can I add that code to the existing plugin: System - JomSocial System ? Will it work? Or to other plugin from jomsocial?

Thanks

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW