[RC] Prime Notify - Put the message in notification emails

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!
Ideas Centre
Locked
User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

[RC] Prime Notify - Put the message in notification emails

Post by primehalo » Mon Jul 28, 2008 6:34 am

MOD Title: Prime Notify
MOD Description: Inserts the content of a post or private messages into the notification e-mail.

MOD Version: (see Installation Instructions for current version number)
MOD Download: Main Download
Demo Board: http://www.absoluteanime.com/forum/viewforum.php?f=95
Demo Username: Not required
Demo Password: Not required

For the release history, please view the Installation Instructions.

Note: This MOD combines the functionality of two of my other MODs, Prime Notify Topic and Prime Notify PM, so if you have those installed, please remove them before installing this one. Those two MODs will be discontinued in favor of this one.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [RC] Prime Notify - Put the message in notification emails

Post by IPB_Refugee » Mon Jul 28, 2008 5:42 pm

Hi Ken,

will be be able to decide if we want to put the message of a post and/or of a private message in the notification mail? Will this be configurable via ACP?


EDIT: Or even better: Will users be able to decide what they want?

Regards
Wolfgang

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [RC] Prime Notify - Put the message in notification emails

Post by ttuu » Mon Jul 28, 2008 6:02 pm

the file language/en/email/prime_notify_privmsg.txt, is not found in pakg.

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Tue Jul 29, 2008 8:41 am

IPB_Refugee wrote:Hi Ken,

will be be able to decide if we want to put the message of a post and/or of a private message in the notification mail? Will this be configurable via ACP?


EDIT: Or even better: Will users be able to decide what they want?

Regards
Wolfgang
Version 1.0.1 allows you to set it individually for posts and private messages. Currently, the optional User's Choice add-on only works with posts.
ttuu wrote:the file language/en/email/prime_notify_privmsg.txt, is not found in pakg.
Whoops, thanks for pointing this out. It has been corrected.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

wolfman24
Registered User
Posts: 387
Joined: Tue Mar 07, 2006 12:07 pm

Re: [RC] Prime Notify - Put the message in notification emails

Post by wolfman24 » Tue Jul 29, 2008 10:41 am

2 more errors I discovered.
1. in includes/functions_posting.php ist must be

Code: Select all

 	$prime_notify->setup_post($sql);
2. in includes/prime_notify.php at line 187 it must be

Code: Select all

					$sql = substr_replace($sql, ', u.user_notify_content ', strpos($sql, 'FROM'), 0);
Correct me if I'm wrong, but I needed those two changes. Other than that, keep up the good work.

EDIT:
Hm, colours don't work in code-tag, so here again in quote tags for better view:
$prime_notify->setup_post($sql);
$sql = substr_replace($sql, ', u.user_notify_content ', strpos($sql, 'FROM'), 0);
Also dicovered something else: in includes/functions_posting.php does it have to be
$prime_notify->setup_post_template($notify_rows[$row['user_id']],$row);

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Tue Jul 29, 2008 5:49 pm

Wow, I really messed things up. I didn't realize how many changes I made. Thanks for pointing them out.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Sat Aug 02, 2008 9:14 pm

Version 1.0.2
  • Change smiley image links to plain text smiley codes.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Prime Notify - Put the message in notification emails

Post by stokerpiller » Sun Aug 10, 2008 7:05 am

Thanks for this Mod.
I have translated to danish: http://www.2shared.com/file/3736069/4a4 ... anish.html
I am done with phpBB

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Thu Aug 14, 2008 10:01 am

Thanks!
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by Sunka » Sun Aug 24, 2008 1:59 am

Looking good
2 in 1 :mrgreen:
www.pijanitvor.com

Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here ||

somniumaudio
Registered User
Posts: 4
Joined: Wed Aug 27, 2008 7:19 pm

Re: [RC] Prime Notify - Put the message in notification emails

Post by somniumaudio » Wed Aug 27, 2008 7:27 pm

I was wondering if any knows why I am getting this error.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/prime_notify.php on line 159: Missing argument 2 for setup_post_template()  
I get this error repeated 3 times but only when I reply to a post.

Also is there a way to make the notifications go to the person posting the topic. Currently it does not do this.

Best

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Wed Aug 27, 2008 8:59 pm

Looks like there was a mistake in the installation instructions. In includes/functions_posting.php, change this:

Code: Select all

$prime_notify->setup_post_template($notify_rows[$row['user_id']]); 
To this:

Code: Select all

$prime_notify->setup_post_template($notify_rows[$row['user_id']], $row); 
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by DragonMaster1 » Wed Aug 27, 2008 10:49 pm

Is that for anyone who installed this mod?

User avatar
primehalo
Former Team Member
Posts: 2787
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by primehalo » Wed Aug 27, 2008 11:17 pm

Well, for the latest version anyway.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [RC] Prime Notify - Put the message in notification emails

Post by DragonMaster1 » Wed Aug 27, 2008 11:30 pm

primehalo wrote:Looks like there was a mistake in the installation instructions. In posting.php, change this:

Code: Select all

$prime_notify->setup_post_template($notify_rows[$row['user_id']]); 
To this:

Code: Select all

$prime_notify->setup_post_template($notify_rows[$row['user_id']], $row); 

shouldn’t this be in includes/functions_posting.php and not posting.php?

Locked

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

Who is online

Users browsing this forum: No registered users and 29 guests