Seite 6 von 8
Verfasst: 06.03.2006 19:52
von julesagogo
Poruchik hat geschrieben:Hi, comrades!

(Excuse me for bad English)
I offer the new version this mod for phpbb 2.0.19.
This mod is further development a mod Forum notification by David Herrmann.
New:
- Removed some hard coded language to be fficially PHPBB MOD Compatible.
- Updated template disclaimer/license to be fficially PHPBB MOD Compatible.
MOD Download
The texts are available both in English, German, Russian.
Translations to other languages you can find at 'translations'.
Thanks Poruchik! Your mod says 'to obtain the latest version go to phpbb...' but I can't find a recent post at phpbb. Just curious.
Verfasst: 06.03.2006 20:52
von julesagogo
Hello again, another question:
EDIT - I just added this after both instances below, so you can disregard the question.
In your updated mod code, you say
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forums.php
#
#-----[ FIND ]------------------------------------------
#
$prune_enabled = '';
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
$prune_enabled = '';
$forum_notify = 1;
}
( $forum_notify == 1 ) ? $notify_enabled = 'selected="selected"' : $notify_disabled = 'selected="selected"';
$notifylist = "<option value=\"1\" $notify_enabled>" . $lang['Forum_notify_enabled'] . '</option>';
$notifylist .= "<option value=\"0\" $notify_disabled>" . $lang['Forum_notify_disabled'] . '</option>';
And I noticed there are two instances of
- which one do I change? Thanks again.
Verfasst: 07.03.2006 05:38
von Poruchik
It is necessary to change the second code.
Full.
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
$forum_id = '';
$prune_enabled = '';
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
$forum_id = '';
$prune_enabled = '';
$forum_notify = 1;
}
( $forum_notify == 1 ) ? $notify_enabled = 'selected="selected"' : $notify_disabled = 'selected="selected"';
$notifylist = "<option value=\"1\" $notify_enabled>" . $lang['Forum_notify_enabled'] . '</option>';
$notifylist .= "<option value=\"0\" $notify_disabled>" . $lang['Forum_notify_disabled'] . '</option>';
I'll correct of mod.
Verfasst: 07.03.2006 07:38
von Dr.Death
The mod works "like a charme" but not perfect.
If more than 1 User watching a forum, the {USERNAME} var in the emails are not coresponding to the user received the email.
To prevent this problem i removed the {USERNAME} in the email templates.
Verfasst: 07.03.2006 13:21
von mgutt
i thought this was the bug that has been solved?
Verfasst: 07.03.2006 14:04
von Poruchik
I'm sorry, comrades.
I knew about this problem, but has forgotten about her

.
I'll decide her.
Any ideas?
Verfasst: 07.03.2006 16:25
von Poruchik
dr.death hat geschrieben:
If more than 1 User watching a forum, the {USERNAME} var in the emails are not coresponding to the user received the email.
To prevent this problem i removed the {USERNAME} in the email templates.
In my opinion it was possible to solve this problem.
The given code while unverified.
Code: Alles auswählen
#
#-----[ OPEN ]------------------
#
includes/functions_post.php
#
#-----[ FIND (3-x)]------------------------------------------
#
$emailer->bcc($bcc_list[$i]);
}
#
#-----[ REPLACE WITH (3-x)]------------------------------------------
#
$emailer->bcc($bcc_list[$i]);
#
#-----[ FIND (3-x)]------------------------------------------
#
'USERNAME' => stripslashes($users_ary[$bcc_list['0']]),
#
#-----[ REPLACE WITH (3-x)]------------------------------------------
#
'USERNAME' => stripslashes($users_ary[$bcc_list[$i]]),
#
#-----[ FIND (3-x)]------------------------------------------
#
$emailer->reset();
#
#-----[ REPLACE WITH (3-x)]------------------------------------------
#
$emailer->reset();
}
julesagogo hat geschrieben: Your mod says 'to obtain the latest version go to phpbb...' but I can't find a recent post at phpbb. Just curious.
I for the present didn't spread MOD on an pphBB.com
Verfasst: 09.03.2006 23:43
von julesagogo
OK - Thanks for your help - I'm not a programmer.

Verfasst: 26.05.2006 13:40
von emha
Hallo zusammen,
kann mir jemand sagen, was ich wo umstellen muss, damit die Benachrichtigung schon für alle auf "ja" steht? - Viele meiner User raffen einfach nicht, dass sie die Benachrichtigung für jeden Bereich extra aktivieren müssen...
Vielen Dank für eure Hilfe,
emha
Verfasst: 26.05.2006 16:06
von julesagogo
dr.death hat geschrieben:The mod works "like a charme" but not perfect.
If more than 1 User watching a forum, the {USERNAME} var in the emails are not coresponding to the user received the email.
To prevent this problem i removed the {USERNAME} in the email templates.
Hi Dr. Death,
I'm trying to find the email templates so I can remove the {USERNAME} var - where are they and what are they called?
Thanks!
Julie
PS - Sorry emha - I don't know the answer to your question, but I'm interested to hear what the answer is.
