Sub Menu
Links Menu
Online Users

In total there are 321 users online :: 2 registered, 0 hidden and 319 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

[MOD] Sender's Name and subject in PM Notification.

Support for IntegraMOD 140

Moderator: Integra Moderator

[MOD] Sender's Name and subject in PM Notification.

PostAuthor: evolver » Mon May 15, 2006 12:51 pm

This is another very small modification I like

[size=99px]
...and to add the PM-subject as well

[size=99px]
REPLACE
Code: Select all
                $emailer->assign_vars(array(                     'USERNAME' => $to_username,                                         'FROM' => $userdata['username'],                                         'ABOUT' => $privmsg_subject,                     'SITENAME' => $board_config['sitename'],                     'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']) ]

[size=99px]
[b]REPLACE[/b][code]                 $emailer->assign_vars(array(                     'USERNAME' => stripslashes($to_username),                     'FROM' => $userdata['username'],                                         'ABOUT' => $privmsg_subject,                                         'SITENAME' => $board_config['sitename'],                     'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "n", "-- n" . $board_config['board_email_sig']) ]

[size=99px][code]{FROM}{ABOUT}
...anywhere you like in that message...
Last edited by evolver on Wed May 17, 2006 6:06 am, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 12:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: Adrian Rea » Mon May 15, 2006 2:16 pm

An interesting idea. Perhaps a useful further addition would be to add the title of the pm? This may allow the user to guage whether to rush to the site, or if it is a backup completed.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

Re: Sender's Name in PM Notification.

PostAuthor: evolver » Tue May 16, 2006 11:38 am

Sorry about this...
Installation was so easy, but I doesn't seem to work.
For some reason, it fails to show those variables.
I have tried other ways, but without success yet <img>

I will look further into this when I have time...
Last edited by evolver on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 12:46 pm
Cash on hand: 0.00
Location: Oostende

Re: Sender's Name in PM Notification.

PostAuthor: Teelk » Tue May 16, 2006 4:53 pm

Heya,

Try doing the same edits but to profilcp/profilcp_privmsg.php instead of privmsg.php.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Sender's Name in PM Notification.

PostAuthor: evolver » Wed May 17, 2006 5:18 am

:)

without your help, I still wouldn't have a clue where it went wrong.

It's working now :P
I will edit the first post about the way to do it...
Last edited by evolver on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 12:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: Adrian Rea » Wed May 17, 2006 5:42 am

Nice one evolver <img>

A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot]

cron