[ABD] Mobile Notifier

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany

Re: [DEV] Mobile Notifier

Post by tas2580 »

John connor wrote:You need a specific port too?
For Whatsapp you need a socket on port 80 or 443. Some hosting providers allow sockets only on specific ports.
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs

Re: [DEV] Mobile Notifier

Post by mrgoldy »

Will it be possible for me to recode that it is not used as a regular notifier (instead of e-mails) but on a custom page I made. It reads stuff of a database and for example when a variable on that page changed from 0 to 1, it notifies people?

Perhaps an entirely different ext but thought I would ask.
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: [DEV] Mobile Notifier

Post by 2600 »

tas2580 wrote:
John connor wrote:You need a specific port too?
For Whatsapp you need a socket on port 80 or 443. Some hosting providers allow sockets only on specific ports.

Okay, thanks for that answer. Now my next question. Do I need a smartphone for this EXT to work? I just have a dumb cell phone with no Internet access. Could I use my cell phone number? Or would that not be a good idea?

Thanks!
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
Danny_nl
Registered User
Posts: 5
Joined: Mon Aug 31, 2015 1:45 pm

Re: [DEV] Mobile Notifier

Post by Danny_nl »

tas2580 wrote:For Whatsapp you need a socket on port 80 or 443. Some hosting providers allow sockets only on specific ports.
Hello,

Perhaps it can help to make the beta ;-)

I have install the extention and add
- folder nl in /forum/ext/tas2580/mobilenotifier/language/
- folder whatsapp in /forum/language/nl/ with sort message for this specific messages (made some changes in the mobilenotifier.php)

Make the posting faster and don't wait on the server response, because it will wait to long on the 'no' response.

open whatsapp.php (exclude line 197)

find

Code: Select all

 * Send a text message to the user.
replace:

Code: Select all

		$this->wait_for_server($id);
with:

Code: Select all

		// $this->wait_for_server($id);
Or you can send the message with a crontab, like the email message system. So you don't have to wait after posting a message.
Jabhi
Registered User
Posts: 572
Joined: Mon Feb 27, 2012 6:12 am

Re: [DEV] Mobile Notifier

Post by Jabhi »

Hi
Any updates?
Go phpBB go... Respected : Developers, Supporters.
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany

Re: [DEV] Mobile Notifier

Post by tas2580 »

I'm on it, but I try some bigger changes at the moment.
sakkiotto
Registered User
Posts: 236
Joined: Mon Jun 13, 2005 9:45 pm

Re: [DEV] Mobile Notifier

Post by sakkiotto »

working ?? are a couple days that not working .. it's possible? im waiting confirm :D
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany

Re: [DEV] Mobile Notifier

Post by tas2580 »

Should work again, the used Whatsapp version number was outdated. Also I have removed wait_for_server on sending messages so that messages are send faster.
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus

Re: [DEV] Mobile Notifier

Post by donsenilo »

Hello tas,

The problem: I do not get notifications via Whatsapp on my phone.
  • I have your extension installed 0.2.1 and also chat API master.
  • In the ACP, I have the sender's number and PW entered to test out your post.
  • In my profile I have entered my own phone number and "Set Alerts" at times everything bez. Whatsapp activated.
  • The small test.php to check for socket support I have performed and sockets are supported.
I have sent multiple times from my forum Testaccount private messages to me, which does not, however, arrive at the cell phone.

Have I done something wrong or misunderstood?

Please help !

thank you
Markus
mauricep
Registered User
Posts: 2
Joined: Tue Jan 26, 2016 12:49 pm

Warnings when sending or updating extension settings

Post by mauricep »

Hi,

First of all thank you for this great idea!

I've downloaded and installed this extension but when I want to update the settings I get the following error
  • [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.

    Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions_acp.php on line 132
    Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions_acp.php on line 132
    Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions_acp.php on line 132
Also when testing the extension the same seems to happen:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/mobilenotifier/src/whatsapp.php on line 343: socket_select(): You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.

Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php on line 5282
Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php on line 5282
Warning: Cannot modify header information - headers already sent by (output started at /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php:3903) in /home/pips350976/domains/myboard.be/public_html/forum/includes/functions.php on line 5282
Further more I don't receive any WhatsApp messages. I could use some help.

Thank You

Maurice
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany

Re: [DEV] Mobile Notifier

Post by tas2580 »

You MUST recompile PHP with a larger value of FD_SETSIZE. It is set to 1024, but you have descriptors numbered at least as high as 1052. --enable-fd-setsize=2048 is recommended, but you may want to set it to equal the maximum number of open files supported by your system, in order to avoid seeing this error again at a later date.
mauricep
Registered User
Posts: 2
Joined: Tue Jan 26, 2016 12:49 pm

Re: [DEV] Mobile Notifier

Post by mauricep »

Hi there,

Thank you for this but is there a work around? I am using a webhost which doesn't let me compile my own php .... :shock:

Thank you
User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [DEV] Mobile Notifier

Post by waynerh155 »

Hello, I've been using this extension for quite a while. All of a sudden doesn't work.

I running ext. ver 0.2.1 and Whatapps version 2.13.21

Thank you
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3
User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [DEV] Mobile Notifier

Post by waynerh155 »

I'm still having a problem with WhatsApp not working. Any Idea's?

There seems to be a change to the encryption. I have tried to change the program revision (2.16.4) and that did not work.
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3
Jabhi
Registered User
Posts: 572
Joined: Mon Feb 27, 2012 6:12 am

Re: [DEV] Mobile Notifier

Post by Jabhi »

It seems author is not active in these days. I am also watching this thread closely.
Go phpBB go... Respected : Developers, Supporters.

Return to “Abandoned Extensions”