[REL] Forum Notification Mod v1.4 für phpBB 2.0.6

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
julesagogo
Mitglied
Beiträge: 5
Registriert: 03.03.2006 19:47

Beitrag von julesagogo »

Poruchik hat geschrieben:Hi, comrades! :grin: (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.
julesagogo
Mitglied
Beiträge: 5
Registriert: 03.03.2006 19:47

Beitrag von julesagogo »

Hello again, another question:

EDIT - I just added this after both instances below, so you can disregard the question. :oops:

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

Code: Alles auswählen

$prune_enabled = '';
- which one do I change? Thanks again.
Benutzeravatar
Poruchik
Mitglied
Beiträge: 12
Registriert: 16.01.2006 21:21
Kontaktdaten:

Beitrag 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.
Benutzeravatar
Dr.Death
Moderator
Moderator
Beiträge: 17412
Registriert: 23.04.2003 08:22
Wohnort: Xanten
Kontaktdaten:

Beitrag 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.
Benutzeravatar
mgutt
Mitglied
Beiträge: 2999
Registriert: 31.08.2004 16:44
Wohnort: Hennef
Kontaktdaten:

Beitrag von mgutt »

i thought this was the bug that has been solved?
meine Foren: http://www.maxrev.de/communities.htm
Ich kaufe Dein Forum! Angebote bitte an marc at gutt punkt it
Benutzeravatar
Poruchik
Mitglied
Beiträge: 12
Registriert: 16.01.2006 21:21
Kontaktdaten:

Beitrag von Poruchik »

I'm sorry, comrades.
I knew about this problem, but has forgotten about her :oops: .
I'll decide her.
Any ideas?
Benutzeravatar
Poruchik
Mitglied
Beiträge: 12
Registriert: 16.01.2006 21:21
Kontaktdaten:

Beitrag 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
Zuletzt geändert von Poruchik am 28.04.2006 15:10, insgesamt 1-mal geändert.
julesagogo
Mitglied
Beiträge: 5
Registriert: 03.03.2006 19:47

Beitrag von julesagogo »

OK - Thanks for your help - I'm not a programmer. :oops:
emha
Mitglied
Beiträge: 34
Registriert: 05.03.2006 00:03

Beitrag 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
julesagogo
Mitglied
Beiträge: 5
Registriert: 03.03.2006 19:47

Beitrag 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. :oops:
Antworten

Zurück zu „phpBB 2.0: Mods in Entwicklung“