Firefox PHP

Module: Forum Subscriptions

Posted by Joe Curia 
Re: Module: Forum Subscriptions
December 16, 2010 10:11PM
Joe, no problem! I shut down my big board. I just checked back and will install this update and see if it fixed the issue or if we still need to do some debugging.
Cheers
Merry Chirstmas
Re: Module: Forum Subscriptions
December 16, 2010 11:40PM
Quote
dperkins
Well, narrowed my problem down to ModSecurity that they have installed on my hosted site. Don't know what its complaining about exactly yet, but something about either the number or names of the "select" controls on this form is causing it to reject the request.

Don

Don,

Check for any limits to the post or request arrays. I recently had an issue with the Suhosin package limiting the max post and mas request vars.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Forum Subscriptions
December 17, 2010 11:53PM
Joe, I get nothing. I see nothing in the logs (debug mode) in the module and debug in the logging page.

I do see emails if someone signs up for notifications via the post options.

I have set it to send my own posts and to send emails after each post.

Thanks in advance,
Rob
Re: Module: Forum Subscriptions
December 18, 2010 09:47PM
Joe, I have pinned it down to one of these tests:

//if (!empty($PHORUM["phorum_mod_forum_subscriptions"]["send_only_new_threads"]) && !empty($data["parent_id"])
// || !empty($PHORUM["phorum_mod_forum_subscriptions"]["ignore_selected_forums"]) && empty($PHORUM["phorum_mod_forum_subscriptions"]["forums_to_ignore"][$data["forum_id"]])
// ) return $data;

when them commented out, I get email. going to expand them and see which one is failing. I don't have the "send new threads only" checked. and this is not one of the ignored forums, or shouldn't be so I don't know why this is exiting the function.
Re: Module: Forum Subscriptions
December 19, 2010 02:59AM
Rob, thanks a lot for tracking down the source of the problem. It looks like I missed a little "!" in that second clause. Please replace those lines with these and let me know if that fixes the problem.

Language: PHP
  1. if (!empty($PHORUM["phorum_mod_forum_subscriptions"]["send_only_new_threads"]) && !empty($data["parent_id"])
  2. || !empty($PHORUM["phorum_mod_forum_subscriptions"]["ignore_selected_forums"]) && !empty($PHORUM["phorum_mod_forum_subscriptions"]["forums_to_ignore"][$data["forum_id"]])
  3. ) return $data;


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe, english.php fixes...
December 27, 2010 02:51PM
I noticed in a few spots you have "Your have", should be "You have"
Thanks again, love the mod!!
Rob
Joe, a follow up. I notice that attachments are not being sent....
December 27, 2010 09:20PM
it appears that there is a jpg in the subscription email, but they all are 288 Bytes. Is there a module that I am missing for this to function?
Cheers,
Rob
Re: Joe, a follow up. I notice that attachments are not being sent....
December 29, 2010 02:25PM
Rob,

First of all, thanks for the English lesson *smacks head*.

Second, for your attachment issue, I have confirmed that my demo Phorum can send jpg attachements. Can you give me a little more information:
  • Does the jpg attachment appear correctly in the forum post?
  • Does the email show an attachment but the attachment is corrupted?
  • What are the email headers (pm me if necessary)?
  • Do other attachments work?
  • If other jpg's work, Can you email me the original jpg for testing?


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Joe, a follow up. I notice that attachments are not being sent....
December 29, 2010 04:13PM
Joe,
I sent you a PM with my email info. I have setup a test forum and posted a picture, 60K and now have the email that I can forward to you. I will also send you the login for the test forum.
Rob
Re: Module: Forum Subscriptions : Link issue
January 24, 2011 04:33PM
I reinstalled this module but I still receive incorrect links, ie:

View the full thread:
http://:/read.php?..


I tried to debug this error... Can anybody help?


I just had daily digests sent to me from two forums I had subscribed to. There seems to be a problem with the link creation:
I receive:
View the full thread:
http://:/read.php?...

Also, what would it take to summarize all posts for a user (who might be subscribed to various forums) in one daily/weekly digest email?
Thank you!



Edited 2 time(s). Last edit at 01/27/2011 03:28PM by korsakov.
Sorry, only registered users may post in this forum.

Click here to login