<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Forum Subscriptions</title>
        <description>This module allows users to subscribe to all forums or individual forums in order to receive emails when new messages are posted.  It provides users with the option to receive emails for all new messages or only new threads.  It also allows users to choose to receive an email for each new message when it is posted, or (if the admin allows it) in a daily or weekly digest email which contains all of the messages from the previous day or week.

If you are not able to create a cronjob to process mail queues, this module can still send emails after each message is posted.  If you are able to create a cronjob, this module will queue the emails to be sent after each message is posted so that the posting process is not delayed.  This module will also then be able to send daily and weekly digests.

[b]Template Customization:[/b]
If you would like to make subscription links available on the index and list pages of your forum you can make the following template edits.  These subscription links will subscribe a user either to &quot;All Forums&quot; from the index page or to an individual forum from its list page.

For the index page, edit {your_template}/index.tpl.  For the list page, edit {your_template}/list.tpl and {your_template}/list_threads.tpl.  Wherever you want the link to appear, add these lines:
[code]{IF URL-&gt;FORUM_SUBSCRIPTION}
{FORUM_SUBSCRIPTION-&gt;SubscribeURLText}
{/IF}[/code]

[b]Message Customization:[/b]
Before uploading this module, you may want to customize the email messages sent by the module.  Those messages are found in the forum_subscriptions/lang/your_lang.php file.  Please note that the fields wrapped in %&#039;s (e.g. %subject%) are variables drawn from the forum messages and are inserted when the emails are sent.

Subject for emails sent after each post: NewMessageSubject
Body for emails sent after each post: NewMessage

Subject for daily digest emails: DailyDigestSubject
Body for daily digest emails: DailyDigestBody

Subject for weekly digest emails: WeeklyDigestSubject
Body for weekly digest emails: WeeklDigestBody

Individual messages in an &quot;All Forums&quot; digest: AllForumsDigestFormat
Individual messages in a single forum digest: SingleForumDigestFormat
Separator which appears between messages in a digest: DigestSeparator
* Please note that in the individual message formats there are a number of special fields (eg. %SubjectIntro%).  These fields are &quot;digest_variables&quot; which can be found at the end of the language file.

[b]Example Email:[/b]
[code]From: System Email //set in the general settings
To: User Email
Subject: New message in the Sample forum at Sample Site.
Body: //full body shown between ~~~ lines which do not appear in actual email
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author: Sample Author
Subject: First Post

Message:
Hi,  This is my first post to this sample forum.  I hope to become an active
member here.

View the full thread: http://www.samplephorum.com/read.php?1,1,1#msg-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/code]

[b]Using a Cronjob Mail Queue:[/b]
If you would like to use the Cronjob Mail Queue option you will need to complete two steps:

First, you must add a cronjob to call the Phorum &quot;scheduled&quot; hook from the Phorum script.php file.  I would recommend that this cronjob run every minute.  The module will handle any time-outs or errors which otherwise could cause the cronjob to run two instances of this module.  This is one example cronjob:
[code]* * * * * cd your/phorum/root &amp;&amp; /usr/bin/php ./script.php --scheduled[/code]
There should be no output from this script unless there is an error.  If possible I would also advise that you have the output from this script either logged or emailed.

Second, you must enable the Mail Queue option from this module&#039;s settings page.

Your Forum Subscriptions emails should now be sent through the mail queue system.  I would advise enabling the &quot;Debug email&quot; setting for this module until you are sure the mail queue system is working properly.

[b]Notes:[/b]
I would advise turning off email notification if you use this module as email notification could result in a double email.  One from the forum subscription and one if the user elected to follow the thread.  If not you will probably want to educate your users as to the different options available.

[b]Todo:[/b]
- Add support for an unsubscribe link in each email which would automatically unsubscribe the user from future emails sent by this module.

- Add support for HTML email.

- Add features as they are requested.

[b]Changelog:[/b]
[code]
5.2.1.02
    - Enhancement: Dutch translation provided by Phorum user Franc with thanks 
      for the contribution.
    - Bugfix: Digest messages would not show the proper forum_id in the read 
      url.  Thanks go to Phorum users Marco and Lammi for reporting this bug.
    - Bugfix: Removed a PHP notice which could be generated in the Control 
      Center.  Thanks go to Phorum user korsakov for reporting this.
    - Bugfix: The &quot;Subscribe to All Forums&quot; link would erroneously appear in 
      folders within a vroot.
    - Bugfix: Fixed a bug which would occur if a moderated message was approved.
5.2.1.01
    - Bugfix: Fixed a bug ironically caused by the debugging system which could 
      cause a queue to exceed the PHP memory limit while attempting to insert 
      events into the event logging system.
    - Bugfix: Fixed a bug which could have caused messages in a digest to not 
      be sorted by posting date/time.
    - Bugfix: Fixed a bug which could cause a user to receive multiple emails 
      if they first subscribed to an individual forum, then subscribed to all 
      of the forums.
    - Enhancement: If the cronjob mail queue is finished well before the time 
      limit, the script will continue to the next queue rather than simply 
      stopping and waiting for the next cronjob.
    - Enhancement: Added the option to only show forums to which a user is 
      currently subscribed in the Control Center.  Thanks go to Phorum user 
      korsakov for suggesting this feature.
    - Enhancement: Added the ability to show subscriptions to forums in all 
      vroots in the Control Center.
    - Enhancement: Added support for vroots.  Thanks go to Phorum developer 
      Thomas Seifert for pointing out this need.
    - Enhancement: Added support for potential future database changes.
5.2.1.00
    - Started
[/code]</description>
        <link>https://www.phorum.org/support/read.php?62,143310,143310#msg-143310</link>
        <lastBuildDate>Sat, 08 Aug 2026 22:56:57 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,155913#msg-155913</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,155913#msg-155913</link>
            <description><![CDATA[ The Forum Subscriptions module is working better now that I&#039;ve moved my Phorum to another server, but I&#039;ve realised that notifications don&#039;t get through to Gmail users.The same is true for virginmedia and ntlworld addresses, which run on the Google Apps mail platform. I&#039;ve done the usual checking of Google&#039;s Spam/Promotions/All Mail folders – the messages really aren&#039;t arriving.<br />
<br />
I&#039;ve experimented by changing my own Phorum account to use a few non-Google addresses and, sure enough, the notifications come through almost instantly. The Event Logging module also seems to confirm that the messages are at least being sent in each case, so it&#039;s the recipient end that doesn&#039;t like the content. What a pain.<br />
<br />
Just sharing here in case anyone else runs into the same problem.]]></description>
            <dc:creator>John Espirian</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 21 Jul 2015 09:34:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,155734#msg-155734</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,155734#msg-155734</link>
            <description><![CDATA[ I&#039;ve been having problems with this module for a little while now and can&#039;t work out what&#039;s going on.<br />
<br />
My forum is seeing the same &#039;illegal string offset&#039; errors mentioned by yupri in <a href="http://www.phorum.org/phorum5/read.php?62,143310,153363#msg-153363" target="_blank" >this post</a>. I changed line 483 of db_functions.php to return DB_RETURN_ASSOCS instead of DB_RETURN_ASSOC. This got rid of the errors but the module still wouldn&#039;t send out emails (this was my basic problem to start with).<br />
<br />
I&#039;ve turned on debugging and looked at the output through the Event Logging module. The only users ever to receive emails seem to be those who have subscribed to all forums. Anyone who&#039;s subscribed to individual forums doesn&#039;t seem to receive messages. Individual subscriptions do work for my own account, but I wonder whether that might be because I&#039;m an admin.<br />
<br />
I&#039;m at a bit of a loss to explain what&#039;s happening, so if anyone could point me in the right direction, I&#039;d very much appreciate it.<br />
<br />
If it&#039;s relevant, I&#039;m using a once-per-minute cron job that works perfectly for other forum-related tasks (e.g. importing via External Phorummail).]]></description>
            <dc:creator>John Espirian</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 22 Apr 2015 10:39:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,154328#msg-154328</guid>
            <title>Re: Attachments and store_files_on_disk module...</title>
            <link>https://www.phorum.org/support/read.php?62,143310,154328#msg-154328</link>
            <description><![CDATA[ I updated my save file on disk to the 1.1.1 version and it seems that the phorum_db_file_get is not pulling the data from the file system. I will try and do more digging.<br />
<br />
<br />
Joe, would it be possible to add a link to the file instead of attaching the attachment? I have allow links and it seems like this would be the easy solution to avoid having to deal iwth the store_files_on_disk module. Now that I have really downsized, I should disable that but I don&#039;t want to lose the attachments.]]></description>
            <dc:creator>Rob Granger</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 19 Sep 2013 21:58:10 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,154326#msg-154326</guid>
            <title>Attachments and store_files_on_disk module...</title>
            <link>https://www.phorum.org/support/read.php?62,143310,154326#msg-154326</link>
            <description><![CDATA[ I guess I just was always too busy to look, but it seems that with that module the attachments are not being attached.<br />
I just now saw this, i will attempt to debug and see if maybe replacing the attachment string with the full path to were images are stored will enable the mailer to attache the file.<br />
will follow up when I have more info.<br />
Thanks again for the module, joe!<br />
<br />
I was digging around and maybe I need to find the store_files_on_disk.1.1.1, I have 1.1.0, off to search to see if I can find the changes or the module.]]></description>
            <dc:creator>Rob Granger</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 19 Sep 2013 20:48:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,153578#msg-153578</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,153578#msg-153578</link>
            <description><![CDATA[ I&#039;ve just looked up and read your message.<br />
I noticed the same functioning.<br />
<br />
The reason was incorrect check of user read permissions for forums.<br />
<br />
In mods/forum_subscriptions/forum_subscriptions_after_post.php<br />
<br />
phorum_api_user_check_access(PHORUM_USER_ALLOW_READ, PHORUM_ACCESS_LIST, $user_id)<br />
<br />
and<br />
<br />
phorum_api_user_check_access(PHORUM_USER_ALLOW_READ, PHORUM_ACCESS_LIST, $user_id)<br />
<br />
didn&#039;t return the correct results.<br />
<br />
I&#039;ve rewritten those parts.<br />
<br />
If anyone is interested I can submit my bug fixes of this module.]]></description>
            <dc:creator>yupri</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 17 Apr 2013 06:46:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,153577#msg-153577</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,153577#msg-153577</link>
            <description><![CDATA[ Joe,<br />
<br />
I think forum access functions like<br />
[code=&quot;php&quot;]<br />
phorum_api_user_check_access(PHORUM_USER_ALLOW_READ, PHORUM_ACCESS_LIST, $user_id)<br />
[/code]<br />
or<br />
[code=&quot;php&quot;]<br />
phorum_api_user_check_access(PHORUM_USER_ALLOW_READ, $mail_data[&quot;forum_id&quot;], $user_id)<br />
[/code]<br />
in <b>forum_subscriptions_after_post.php</b> don&#039;t yield the correct results, which can be retrieved from<br />
[code=&quot;php&quot;]<br />
phorum_db_user_get($user_id, true)<br />
[/code]<br />
in <b>&#039;forum_permissions&#039;</b> and <b>&#039;group_permissions&#039;</b>.<br />
<br />
I found that <b>phorum_api_user_check_access</b> with <b>3</b> parameters is called only in your module. It can be the cause of problem.<br />
<br />
Would you please examine this issue and comment?]]></description>
            <dc:creator>yupri</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 17 Apr 2013 06:11:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,153363#msg-153363</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,153363#msg-153363</link>
            <description><![CDATA[ I think there is a bug in the <b>forum_subscriptions/db_functions.php:483</b><br />
<br />
$return_val shouldn&#039;t be DB_RETURN_ASSOC but rather DB_RETURN_ASSOCS. In this case the whole assignment should be pulled out of if-then-else branching and assigned DB_RETURN_ASSOCS.<br />
<br />
Otherwise, it issues a warning like that:<br />
<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 497<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 497<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 498<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 497<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 497<br />
Warning: Illegal string offset &#039;forum_id&#039; in [%phorum_folder%]/mods/forum_subscriptions/db_functions.php on line 498<br />
<br />
I noticed the warning is issued in case a user tries to subscribe to<br />
<ul><li> an already subscribed forum; </li><li> a forum when already subscribed to all of them; </li><li> all forums when already subscribed to all of them. </li></ul>
<br />
Would you confirm this bug should be corrected?<br />
<br />
Looking forward to your answer.<br />
<br />
Thank you.]]></description>
            <dc:creator>yupri</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 21 Feb 2013 06:47:03 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,151750#msg-151750</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,151750#msg-151750</link>
            <description><![CDATA[ I was wonderring if there is a way to have the default state of a new user to be subscribed to all forums?  Then they will have the option to opt out if they want.  This is a rally helpful mod. Thanks.<br />
<br />
-Luis]]></description>
            <dc:creator>lui2010</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 25 Jul 2012 11:42:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,150873#msg-150873</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,150873#msg-150873</link>
            <description><![CDATA[ You could also add to the module error logs Joe integrated within the code in order to check on specific data. I regret that he does not seem to be part of the team anymore.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 27 Jan 2012 10:58:43 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,150871#msg-150871</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,150871#msg-150871</link>
            <description><![CDATA[ I&#039;d say, check the mailserver logs - but I also didn&#039;t write this module.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 26 Jan 2012 15:33:53 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,150867#msg-150867</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,150867#msg-150867</link>
            <description><![CDATA[ Hi Thomas,<br />
<br />
checked twice on two accounts - no mail in inbox&amp;spam folders. What do you suggest to check (logs/files) in engine?<br />
<br />
Thanks for info :)<br />
Bartek]]></description>
            <dc:creator>bartek.s</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 26 Jan 2012 01:14:19 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,150866#msg-150866</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,150866#msg-150866</link>
            <description><![CDATA[ the log entries report it has sent the email. Are you sure that they are not going out and not only landing in the spam folder?]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 25 Jan 2012 15:00:25 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,150860#msg-150860</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,150860#msg-150860</link>
            <description><![CDATA[ Hello, this module functionality looks great for us, thanks Joe!<br />
<br />
One thing is that it do not send emails. NO cronjob. No errors in Event Log (img below). Module settings below.<br />
<br />
<img src="http://www.phorum.org/phorum5/file.php/62/4774/ScreenShot013.jpg" class="bbcode" border="0" /><br />
<img src="http://www.phorum.org/phorum5/file.php/62/4775/ScreenShot014.jpg" class="bbcode" border="0" />.<br />
<br />
What could be the cause of problem? Thanks for advice!<br />
<br />
Kind regards<br />
Bartek]]></description>
            <dc:creator>bartek.s</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 25 Jan 2012 02:32:20 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149761#msg-149761</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149761#msg-149761</link>
            <description><![CDATA[ The number of members is totally irrelevant for the mail functionality.  Apparently your hosting partner does not have their PHP / system setup working for solid mail delivery via PHP directly.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 05 Oct 2011 05:16:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149760#msg-149760</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149760#msg-149760</link>
            <description><![CDATA[ With 500 members plus I had to change to smtp because only about 2% of the emails were going out.]]></description>
            <dc:creator>roymurray</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 04 Oct 2011 22:25:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149725#msg-149725</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149725#msg-149725</link>
            <description><![CDATA[ Having an issue when using the global set options to receive email or digests for &quot;All Forums&quot;, which should set the option the same for all forums.  When using the global setting, users will never get email or digests.  When users select the forums individually for their preferences, emails and digests are sent normally.  Has anyone run into this?]]></description>
            <dc:creator>Kris</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 29 Sep 2011 15:42:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149042#msg-149042</guid>
            <title>Re: Wanted: Forum Subscriptions Expert</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149042#msg-149042</link>
            <description><![CDATA[ Here is the error message I received within my error logs:<br />
<br />
PHP Fatal error:  Cannot unset string offsets in .../mods/forum_subscriptions/forum_subscriptions_scheduled.php on line 86<br />
<br />
[code=&quot;php&quot;]<br />
 :<br />
unset($PHORUM[&quot;phorum_mod_forum_subscriptions&quot;][&quot;pre_run_forums_by_digest&quot;][PHORUM_MOD_FORUM_SUB_FREQUENCY_DAILY]);<br />
:[/code]<br />
<br />
After commenting out this line it seems to work again. Thanks for your quick reply, Thomas.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 01 Jul 2011 12:37:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149040#msg-149040</guid>
            <title>Re: Wanted: Forum Subscriptions Expert</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149040#msg-149040</link>
            <description><![CDATA[ &quot;somehow ... stops&quot; doesn&#039;t really give a hint and removing the db functions isn&#039;t helpful either. Get your php error logs to show you the error occuring.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 01 Jul 2011 10:41:28 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149036#msg-149036</guid>
            <title>Wanted: Forum Subscriptions Expert</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149036#msg-149036</link>
            <description><![CDATA[ I removed [code=&quot;php&quot;]<br />
require_once (&quot;./mods/forum_subscriptions/db_functions.php&quot;);<br />
[/code] and the settings page works now.<br />
<br />
Is there anybody out there who might be able to assist me with a modification of this module? I have already added the code.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 01 Jul 2011 09:28:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,149010#msg-149010</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,149010#msg-149010</link>
            <description><![CDATA[ I just freshly installed this module to an up-to-date Phorum installation but don&#039;t get the settings page up.<br />
<br />
Somehow, the module stops after <i>require_once (&quot;./mods/forum_subscriptions/db_functions.php&quot;);</i><br />
<br />
START of &quot;settings.php<br />
[code=&quot;php&quot;]<br />
<br />
&lt;?php<br />
// Make sure that this script is loaded from the admin interface.<br />
if(!defined(&quot;PHORUM_ADMIN&quot;)) return;<br />
<br />
global $PHORUM;<br />
<br />
// pull in the mail queue database functions<br />
require_once (&quot;./mods/forum_subscriptions/db_functions.php&quot;);<br />
<br />
[/code]<br />
<br />
Could anybody please give me a hint what might be wrong?]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 28 Jun 2011 18:24:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,148461#msg-148461</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,148461#msg-148461</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>choon</strong><br />
I believe I need to add in <b>phorum_api_user_check_group_access()</b> somewhere in order to support private group forums subscription?</div></blockquote>
Nevermind for now.  I found a way and hacked this module to support private group now ;)<br />
<br />
Thanks.<br />
<br />
Kindest regards,<br />
Giam Teck Choon]]></description>
            <dc:creator>Giam Teck Choon</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 12 Apr 2011 13:48:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,148451#msg-148451</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,148451#msg-148451</link>
            <description><![CDATA[ Hi,<br />
<br />
This module currently does not support private group forums subscription. i.e. If I create a group and all forums under this group with no public and registered users (private forum) and only add certain users into this group, those users will not get email notification about new threads and/or replies under those private group forums.<br />
<br />
I check the related code in forum_subscriptions_after_post.php:<br />
[code=&quot;php&quot; number=&quot;24&quot;]<br />
        // if there are no subscribers then we are done<br />
        if (empty($subscribers)) return $data;<br />
        <br />
        $user_ids = array();<br />
        foreach ($subscribers as $subscriber) {<br />
            // if the user does not have read access to this forum <br />
            // or the user only wants new threads and this is a reply<br />
            // then we are done<br />
            if(!phorum_api_user_check_access(PHORUM_USER_ALLOW_READ, $data[&quot;forum_id&quot;], $subscriber[&quot;user_id&quot;])<br />
                || (!empty($data[&quot;parent_id&quot;]) &amp;&amp; $subscriber[&quot;sub_type&quot;] == PHORUM_MOD_FORUM_SUB_SUBSCRIBE_NEW_THREAD)) continue;<br />
            <br />
            $user_ids[$subscriber[&quot;user_id&quot;]] = $subscriber[&quot;user_id&quot;];<br />
        }<br />
        <br />
        // if there are no valid subscribers then we are done<br />
        if (empty($user_ids)) return $data;<br />
[/code]<br />
<br />
I believe I need to add in <b>phorum_api_user_check_group_access()</b> somewhere in order to support private group forums subscription?<br />
<br />
I hope I can explain it better... ... :(<br />
<br />
Thanks.<br />
<br />
Kindest regards,<br />
Giam Teck Choon]]></description>
            <dc:creator>Giam Teck Choon</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 11 Apr 2011 06:56:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,148054#msg-148054</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,148054#msg-148054</link>
            <description><![CDATA[ I understand that you currently focus more on your recent family addition than on Phorum. In case you have a free minute for contemplation I wanted to suggest the improvement of the daily digest mode by listing and numbering the topics on the top of the digest. It becomes a challenge to find anything within large digests. Thanks for your consideration!]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 11 Mar 2011 09:36:13 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147899#msg-147899</guid>
            <title>Re: Module: Forum Subscriptions : Collecting digests in one email?</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147899#msg-147899</link>
            <description><![CDATA[ Joe, please let me know if you want to include my hack that allows to restrict users to only get notified from forums which belong to their groups (when they choose the &quot;All&quot; option). Thanks.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 25 Feb 2011 09:33:24 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147890#msg-147890</guid>
            <title>Re: Module: Forum Subscriptions : Collecting digests in one email?</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147890#msg-147890</link>
            <description><![CDATA[ I am wondering whether anybody has tried to collect digests in one single mail in case the user has signed up for several forums. It would help to unclutter mailboxes.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 24 Feb 2011 08:16:55 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147855#msg-147855</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147855#msg-147855</link>
            <description><![CDATA[ Thanks! This modification apparently fixed the issue.]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 21 Feb 2011 23:28:31 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147835#msg-147835</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147835#msg-147835</link>
            <description><![CDATA[ I cannot replicate the behavior. That module only mangles the http_path setting when SCRIPT_URI or HTTP_HOST is set in the $_SERVER data. In a CLI / cron environment, these should not be set.<br />
<br />
You can try <a href="http://www.phorum.org/phorum5/read.php?62,125914,125914#msg-125914" target="_blank" >version 1.0.6</a>. I changed the isset() check to an empty() check, so a set but empty $_SERVER[&#039;http_host&#039;] variable will not mangle the URL.<br />
<br />
If you keep having troubles, then you&#039;re out of luck. I really don&#039;t see where your issue is originating from.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 20 Feb 2011 03:12:01 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147832#msg-147832</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147832#msg-147832</link>
            <description><![CDATA[ Thanks, Maurice. I found out that &quot;Automatic HTTP Path (version 1.0.5)&quot; is clearly messing with the links from this module. I had to turn it off. Anyway, I am very glad that it works now!]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 19 Feb 2011 14:34:11 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147799#msg-147799</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147799#msg-147799</link>
            <description><![CDATA[ Thanks Maurice! In fact, I do run the module for automatic HTTP paths. Do you suggest to modify this module (although it does not get tripped)?]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 15 Feb 2011 13:39:01 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,143310,147798#msg-147798</guid>
            <title>Re: Module: Forum Subscriptions</title>
            <link>https://www.phorum.org/support/read.php?62,143310,147798#msg-147798</link>
            <description><![CDATA[ Just a hunch: maybe you are running the module for having dynamic HTTP Path settings. From a cron job, there is no server environment, which might trip that module. The module could make use of the default HTTP Path setting when no URL can be derived automatically or the module could have a configuration option to configure the URL to use from there for such cases.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 15 Feb 2011 10:57:29 -0600</pubDate>
        </item>
    </channel>
</rss>
