[BETA] Forum Notify MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

[BETA] Forum Notify MOD

Post by Pda0 »

Update:
v1.0.4: phpBB 2.0.4 compatible
http://www.pda0.net/foro/viewtopic.php? ... highlight=

(This mod is splitted in two threads... sheez..)

This mod is phpBB 2.0.3 & EasyMod compliant. I installed it on my own modded phpBB (http://www.fabricadesoftware.cl) with EasyMod, worked perfectly! 8O

While the mod gets validated you can download the latest version here:

http://www.pda0.net/foro/viewtopic.php?t=337

PD: This mod was being developed at http://www.phpbb.com/phpBB/viewtopic.ph ... highlight=, but somewhere between Davil got in the thread with his own mod, etc. and now the whole topic thread is a mess. I think that that topic should be LOCKED (Hint: Moderators around? :) )

Code: Select all

## EasyMod 0.0.7 compliant
##############################################################
## MOD Title: Forum Notification
## MOD Author: Pda0 < [email protected] > (Patricio D. Anguita) http://www.pda0.net
## MOD Description: This MOD will allow you to notify users whenever a new topic gets posted in a watched forum
## MOD Version: 1.0.3
##
## Installation Level: Easy
## Installation Time: 15 Minutes
## Files To Edit: (6)  posting.php, functions_post.php, constants.php , viewforum.php , lang_main.php , viewforum_body.tpl
##
## Included Files: (2) forum_notify.tpl , spanish_addon.txt
##############################################################
.pd
Last edited by Pda0 on Tue Apr 29, 2003 1:53 am, edited 1 time in total.
chinch
Registered User
Posts: 169
Joined: Mon Mar 11, 2002 7:34 pm

Post by chinch »

i'm using a similar hack (and used davils prior to 2.03). a few q's...

* does this email all new POSTS to the board or just all "new TOPICS" as the readme explains?

* does this notify you of your OWN new posts? (prior mods didn't allow this, and i'd much prefer to get my own posts for reference)

* does it notify you of each EDITed post or is there an option to turn that off? (davils did that & it was overbearing - too many emails showing edits)

:) thanks.
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

chinch wrote: i'm using a similar hack (and used davils prior to 2.03). a few q's...

* does this email all new POSTS to the board or just all "new TOPICS" as the readme explains?

* does this notify you of your OWN new posts? (prior mods didn't allow this, and i'd much prefer to get my own posts for reference)

* does it notify you of each EDITed post or is there an option to turn that off? (davils did that & it was overbearing - too many emails showing edits)

:) thanks.


1) Just new topics
2) No! (Lol of course)
3) I dont know :? This is just a Forum notify, the code is almost copy & paste from the topic notify code. Check it out, and tell me =)
We can then fix.

.pd
chinch
Registered User
Posts: 169
Joined: Mon Mar 11, 2002 7:34 pm

Post by chinch »

thanks. after re-reading the original thread, i realized this "notifies" you of new posts with links to the topic. This is no doubt useful for some boards.

I was thinking it emailed the full post contents, allowing you to read new posts from your emailer... that is what i'm looking for.
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

I think Davil's mod does that :)

.pd
chinch
Registered User
Posts: 169
Joined: Mon Mar 11, 2002 7:34 pm

Post by chinch »

Pda0 wrote: I think Davil's mod does that :)

.pd

his doesn't work with 2.03 :(
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

PM him :)

I could easily modify the MOD ( game of words) to do that, but its not the idea of this mod: To be lightweight and mainly to replicate the topic notify algorithm.

If you want something better, check out the [dev] mail to forum MOD
(Nothing released yet though)

.pd
fishfreek
Registered User
Posts: 695
Joined: Tue May 14, 2002 3:05 pm
Location: Virginia
Contact:

Post by fishfreek »

What forum notify mod does not work with 2.0.3? I got what I think is Davil's notify mod and all my sites are 2.0.3 and it works wonderfuly.

I get e-mails of new posts, and of replys to existing posts in watched forums and the message text is within the e-mail.
Have you joined the PetAdvice Network?

Are you in or around the Shenandoah Valley area? If so ask me how to join our local Shenandoah Valley aquarium group.
Zoomer
Registered User
Posts: 12
Joined: Wed Dec 11, 2002 7:24 am

Post by Zoomer »

Pda0, perhaps you could take over Davil's work?

Both him and his sucessor seems to have disappeared.
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

Lol.. well maybe.

You should check out netclectic's MODs, I think he developed some that made a more powerful forum notify.

.pd
Zoomer
Registered User
Posts: 12
Joined: Wed Dec 11, 2002 7:24 am

Post by Zoomer »

Pda0 wrote: Lol.. well maybe.

You should check out netclectic's MODs, I think he developed some that made a more powerful forum notify.

.pd


Problem is that his mod only works for mods and admins. :)
User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

Uhm.. you sure? Well, m2f will fix that in the future ;)

http://www.m2f.netclectic.com
SkyScrap2000
Registered User
Posts: 7
Joined: Thu Mar 06, 2003 11:01 am

Re: [AWAITING VALIDATION] Forum Notify MOD

Post by SkyScrap2000 »

Pda0 wrote: This mod is phpBB 2.0.3 & EasyMod compliant.

Has anyone successfully used that on 2.0.4 yet? I am trying and failing ....
WebSnail
Registered User
Posts: 524
Joined: Sun Nov 11, 2001 2:20 pm
Location: South Yorkshire, UK
Contact:

Post by WebSnail »

Just to note that Davils mod can be made to work with 2.0.4 if you check this thread here...

http://www.snailsource.com/forum/viewtopic.php?t=714

I've not re-written the mod but anyone with reasonable PHP experience should be able to work out how to update it all and make it work...

;)
SkyScrap2000
Registered User
Posts: 7
Joined: Thu Mar 06, 2003 11:01 am

Post by SkyScrap2000 »

Hi,

could it be that there is some error in viewforum.php? For me it did not work until I introduced the new lines (marked with ***):

Code: Select all

//
// Handle watching forums
//
	if ( $userdata['session_logged_in'] )
	{
		$sql = "SELECT user_id
			FROM " . FORUMS_WATCH_TABLE . "
			WHERE forum_id = $forum_id
				AND user_id = " . $userdata['user_id'];
		if ( !($result = $db->sql_query($sql)) )
		{
			message_die(GENERAL_ERROR, "Could not obtain forum watch information", '', __LINE__, __FILE__, $sql);
		}

		$is_watching_forum = false;
		if ( $row = $db->sql_fetchrow($result) ) {
			if ($row['user_id']) $is_watching_forum = true;
		}
	}
	// *** NEW
	$watch = $HTTP_GET_VARS['watch'];
	$unwatch = $HTTP_GET_VARS['unwatch'];
	// ***
if ( $watch == 'forums' )
{
Locked

Return to “[2.0.x] MODs in Development”