We use cookies to understand how you use our site and to improve your experience on our website.

If you do not change browser settings, you agree to it. Learn more

I understand

By continuing to use our site, you accept our use of cookies, Privacy Note and Terms of Service.

Forum
  1. Juan Manuel Barranco Escañuela
  2. General Questions / Issues
  3. Thursday, 02 January 2020
  4.  Subscribe via email

Hi,

I recently acquired a joompush license and I would like use push notification via php file. I installed joompush cli plugin, but I don't know how to use it. Could you publish any example about this?

Thanks in advance

Best regards

Rate this post:
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo

Hello,

 
After installing the JoomPush CLI plugin, you will get 'cli_joompush.php' file in your Joomla root's cli folder. You just need to set that file path in your cron job. 
 
For ex. if you want to set cron job for every minute then 
 
*/1 * * * * php PATH-TO-THE-YOUR-JOOMLA-SITE-FOLDER/cli/cli_joompush.php

PATH-TO-THE-YOUR-JOOMLA-SITE-FOLDER = physical path of your httpdoc or public_html folder
 
If you have any questions, please let us know

--
Warm Regards,
Team Weppsol 
Skype: weppsol
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo

Hi!

Thanks for your answer. I set cron job avery minute as yoy recommend me. How should I use it? For example if I need send a push notification from script php, how I call the function to do this task?

 

Best regards,

Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo

Hello,

Actually when you send push notification from JoomPush admin component then it goes into a queue. Cron job function executes that queue as per the time set. 

Have you configured the JoomPush as per the documentation? If you want, we will set up it for you. Just send your Joomla site credentials. 

 

Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo

Hi,

I understood, push notifications work fine from JoomPush admin component. My question is I could queue notifications via my own script php, doing the suitable entry in the joompush table

Best regards

Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo

My reply in bold 

My question is I could queue notifications via my own script php, doing the suitable entry in the joompush table
=> yes you can do it but need proper data as per table. What kind of notification do you want to send via custom script? Do you want to integrate JoomPush with any extension or custom code? 

Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo

Hi,

I would like integrate with custom code.

BR

Comment
There are no comments made yet.
  1. more than a month ago
  2. General Questions / Issues
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,jpeg,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
Share Location

Sharing your current location while posting a new question allow viewers to identify the location you are located.

Latitude:
Longitude:
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.