Page 1 of 1

[Beta] Push Notifications 0.1.0

Posted: Wed Aug 29, 2012 3:48 am
by MasterZ
Modification Name: Push Notifications for phpBB
Author: MasterZ

Modification Description:: This MOD enables Push Notifications for your forum for Android and iPhone. This is done by using the app Pushover (
Modification Version:: 0.1.0

  • A User ID from Pushover (requires registering) to receive notifications
  • An *Optional* Application ID from
Features: Receive a push notification instead of an email in the case of:
  • Private Message
  • Subscribe to forum
  • Subscribe to topic
  • Install the MOD
  • Manually copy over everything from root/styles/prosilver/ to your styles directory
  • Go to the UCP -> Profile -> Push notifications and enter your User Key from
  • ** Optionally ** add a Pushover APP Token/Key in ACP -> .MODS -> Pushover Settings

Demo URL: N/A

Modification Download: Direct Download
Topic on my website

Re: [DEV] Push Notifications

Posted: Wed Aug 29, 2012 6:20 am
by MasterZ
Preliminary test with everything hard coded in worked. I got a push notification for a PM on my forum! :)

Now I just have to set the user key in the UCP, and make sure it sends the notification to the right person.

Re: [DEV] Push Notifications

Posted: Thu Aug 30, 2012 4:38 am
by Blue Blood
Very nice!!!
Looking forward to testing this out!!

Re: [DEV] Push Notifications

Posted: Thu Aug 30, 2012 8:15 am
by Mess
Interesting. :)

Re: [DEV] Push Notifications

Posted: Sun Sep 02, 2012 12:12 am
by MasterZ
- UCP page created
- Users can enter their Pushover User Key in the UCP

- When a PM is sent, the MOD goes through all recipients, if they have a Pushover User Key set then it sends them a push message, if they do not have one set then it adds the user back to the recipients array so phpBB can parse it as normal (i.e. if you have a key set you get a Push message, if not you receive an email)

- Find the code that sends an email for subscribed topics/forums and modify it
- Add an ACP page
- - ACP page can set the *optional* Pushover Application Key
- - ACP page can set an *optional* title to overwrite the default Pushover title
- Create a UMIL installer

I did some searching for the subscription email code but could not find it yet. I will look more tomorrow. If anybody can help me out by pointing out which file it is in and where in the file then that would greatly help.

If anybody would like to help me out by creating a UMIL installer I would be GREATLY appreciative. :D It should be an easy one to make. (We are just adding 1 UCP page, 1 ACP page, and creating 1 table with 2 fields.)

My goal with this MOD is to make it absolutely minimal as possible, in regards to code edits especially. As of now no php code is modified, we just add new code to what is there.

That's all I have for now.

Re: [DEV] Push Notifications

Posted: Sun Sep 02, 2012 5:43 am
by MasterZ
I couldn't sleep, so I got back to work on this. :D

  • ACP page added
  • - Use your own custom Pushover App Key or leave blank to use the default phpBB key
  • - Add your own title to the messages, so you can use your forum name instead of just "phpBB"
  • Push Notifications for subscribed threads and forums
Still To Do
  • Add language file
  • Add UMIL install file
  • Package it up and test in AutoMOD
It's almost done! :D

I could use some help with the UMIL file if someone has the time. If so this could be up in Beta status before the end of the weekend. If not, it may take longer for me to figure out how to create UMIL files and fully test it.

Re: [DEV] Push Notifications

Posted: Mon Sep 03, 2012 5:57 am
by MasterZ
Language file created.

now all I need to do is create the install file.

Re: [DEV] Push Notifications 0.1.0

Posted: Tue Sep 04, 2012 4:34 am
by MasterZ

Download from my website:

There is one issue so far, for some reason AutoMOD will not copy the files to additional styles you have installed, so you have to do that part yourself, but everything else seems to be working great.

Feedback is welcome! :D

Re: [Beta] Push Notifications 0.1.0

Posted: Wed Sep 05, 2012 9:14 pm
by MasterZ
I am trying to gather a list of things to fix/change before I submit this to become an official MOD. Any suggestions?

The one issue I have found so far is that private message's do not include a URL to the board in the push notification, so it creates a link that is blank. So I need to fix that.

After that, I hope to get this MOD reviewed. So if you have any suggestions now is the time.