pftq.com
Welcome! Please Login or Register!
November 21, 2024, 07:09:59 AM
Home Login Register
pftq Forums  |  Software and Scripts  |  SMF Mods and Add-Ons  |  SMF Mailing List - Discussion and Feedback 0 Members and 1 Guest are viewing this topic. « previous next »
Latest News!Lunar Trigger(Aug 27, 2023)
Pages: 1 ... 7 8 [9] 10 11 Print
Author Topic: SMF Mailing List - Discussion and Feedback  (Read 137607 times)
soroosh
Member
*****
Offline Offline

Posts: 8

« Reply #120 on: February 27, 2012, 10:42:20 PM »

Hi there is no setting for that because it works with any notificationtopic sent out.These are the same notifications you get when you click Notify for a boardor topic and someone else replies.
Hi, Thanks for your reply.
I think my settings must works for posting new threads (If not, please guide me to do that).
Then how can I correct settings on ACP or hosting control panel to active this feature?
Logged
soroosh
Member
*****
Offline Offline

Posts: 8

« Reply #121 on: February 28, 2012, 01:21:17 AM »

When I enabled the debug mode and find the test.txt file freezed at this lines:
Code:
DEBUGGER -> Initiating...2012-02-28, 12:25:42

DEBUGGER -> Loading SSI...
I also receive an email on my inbox with this subject: Mail delivery failed: returning message to sender
and these content:
Code:
The following text was generated during the delivery attempt:

------ pipe to |/home/******/public_html/bbf/emailpost.php
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

 pipe to |/home/******/public_html/bbf/emailpost.php
   generated by test@******.com

The following text was generated during the delivery attempt:

------ pipe to |/home/******/public_html/bbf/emailpost.php
      generated by test@******.com ------

PHP Warning:  PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below
 anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0
Can you guide me to solve that?
Is there any incompatibility with my host PHP version?
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #122 on: February 28, 2012, 06:31:33 AM »

That last email is helpful thanks.So apparently the PHP version you are supplying the script for pipe usageis less than PHP5. (the bash line at the top of emailpost.php) I am notsure how your server is configured but you'll want to check on how the PHPinstallation for that was set up.
Logged
soroosh
Member
*****
Offline Offline

Posts: 8

« Reply #123 on: February 28, 2012, 09:23:18 AM »

I checked my host:
Code:
PHP version is 5.2.17
MySQL version: 5.1.56
Apache version: 2.2.22
Is it incompatible? Is there anyway to run it on the existing host with PHP 5.2.17 ?
If not wich PHP version is compatible with this module?
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #124 on: February 28, 2012, 10:39:38 AM »

The mod is not dependent on any PHP version.

It is this top line in emailpost that you must check:
#!/usr/bin/php -q

It seem like it might be a different path for your server or you need to configure your server to support this type of functonality (piped scripts - not sure what the formal term is).
Logged
soroosh
Member
*****
Offline Offline

Posts: 8

« Reply #125 on: February 28, 2012, 09:09:29 PM »

Hi,
After editing the top line of emailpost.php I test it and get this Mail Delivery Failure email in my inbox:

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

 pipe to |/home/*****/public_html/bbf/emailpost.php
   generated by test@******.com
   local delivery failed
An there is no change on test.txt file
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #126 on: February 28, 2012, 10:16:30 PM »

Make sure emailpost.php has chmod settings of 0755 (reuploading the file might have reset that).

If not update to test.txt still, then the top line is invalid (PHP is not running).
Logged
soroosh
Member
*****
Offline Offline

Posts: 8

« Reply #127 on: February 28, 2012, 10:43:48 PM »

Make sure emailpost.php has chmod settings of 0755 (reuploading the file might have reset that).

If not update to test.txt still, then the top line is invalid (PHP is not running).
Hi
After many manipulation with this top line code, I think the default path is OK because only with this path I have time change on test.txt file and the error is different:
Code:
------ pipe to |/home/*****/public_html/bbf/emailpost.php
      generated by test@******.com ------

PHP Warning:  PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0
I think the error was raised because this script needs PHPSuHosin extension that it may be not available on my host!
Can you approve this?
;

 
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #128 on: February 28, 2012, 10:58:25 PM »

That would make sense - it was what I was referring to earlier about the
server not being configured for scripts to run via pipe.

I can't give you an exact yes/no answer because I'm not actually there
working on or seeing the server, but it sounds like that is probably what
you need to look into.
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #129 on: March 27, 2012, 11:57:18 AM »

I've added support for another webhooks service called cloudmailin.com
This seems to be newer and more reliable than mailhooks.com if you were having trouble setting that up before.
Logged
Chris_Nelson
Member
*****
Offline Offline

Posts: 5

« Reply #130 on: April 10, 2012, 05:23:07 PM »

Hey,

I am pretty new to programming and websites in general so try to be patient.

I have set up a forum for a group of people.   They are wanting to have it moderated and also able to reply to threads through email.

I went through and downloaded the mod and set everything up using cloudmailin.com    But when I reply to my test thread it isn't coming through.

I was wondering if the mod doesn't work when the board is moderated?
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #131 on: April 10, 2012, 05:31:51 PM »

I haven't tried this without moderation before, but I don't think there would be any conflicts.

Have you tried without post moderation to see if they go through first?
Logged
Chris_Nelson
Member
*****
Offline Offline

Posts: 5

« Reply #132 on: April 10, 2012, 06:53:34 PM »

I just tried and still no dice.

Maybe the theme is messing with it.

I am running CLS pro sidebar.   I might try going back to the default and see what happens
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #133 on: April 10, 2012, 06:58:10 PM »

Things to check:
- Is emailpost.php (in main forum folder) given 755 permissions?
- Edit emailpost.php so that debug=true and look for test.txt generated when emails sent to it.
Logged
Chris_Nelson
Member
*****
Offline Offline

Posts: 5

« Reply #134 on: April 10, 2012, 07:03:28 PM »

Things to check:
- Is emailpost.php (in main forum folder) given 755 permissions?
- Edit emailpost.php so that debug=true and look for test.txt generated when emails sent to it.

(1) It is in there and given the correct permissions.

(2) Got it set for debug.   Sent an email.   And now I look at it again for the test.txt file?
Logged
Pages: 1 ... 7 8 [9] 10 11 Print 
pftq Forums  |  Software and Scripts  |  SMF Mods and Add-Ons  |  SMF Mailing List - Discussion and Feedback « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | RSS Feed Valid XHTML 1.0! Valid CSS!
Page created in 0.162 seconds with 21 queries.