Skip to Content Skip to Menu

Email notification - Default

  • jeffason
  • jeffason
  • OFFLINE
  • Posts: 53
  • Thanks: 0
  • Karma: 3
18 years 2 months ago #15649 by jeffason
Replied by jeffason on topic Re:Email notification - Default
ahhhh good idea

Please Log in or Create an account to join the conversation.

  • martzy
  • martzy
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
18 years 1 week ago #20454 by martzy
Replied by martzy on topic Re:Email notification - Default
I can't seem to set the forget me not any lower than 14 days? Even if I set it to 14 it jumps back once I hit save... any hints?

Please Log in or Create an account to join the conversation.

  • undoIT
  • undoIT
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 10
17 years 11 months ago #21293 by undoIT
Replied by undoIT on topic Re:Email notification - Default
I'd like to see this too. I'm glad I didn't waste too much more time digging through the code trying to figure out a way to hack in "E-mail-notification when offline" as the default option before finding this thread :P It would be great to have the ability to set which E-mail Notification option is default in the admin control panel. Thanks Benjamin. Great plugin!

Post edited by: undoIT, at: 2006/09/21 20:47

Please Log in or Create an account to join the conversation.

  • Tim230981
  • Tim230981
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #29197 by Tim230981
Replied by Tim230981 on topic Re:Email notification - Default
martzy wrote:

I can't seem to set the forget me not any lower than 14 days? Even if I set it to 14 it jumps back once I hit save... any hints?


Hi there, :woohoo:

change this little part of code. To find at /administrator/components/uddeim/admin.uddeim.php

Line 151!!!

[code:1]if ($config_longwaitingdays<14) { $config_longwaitingdays=14; }[/code:1]

to

[code:1]if ($config_longwaitingdays<0) { $config_longwaitingdays=14; }[/code:1]

should work for this.

Now you can set the amount of days lower than 14.

Post edited by: Tim230981, at: 2007/01/17 02:15

Please Log in or Create an account to join the conversation.

  • Tim230981
  • Tim230981
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #29199 by Tim230981
Replied by Tim230981 on topic Re:Email notification - Default
Hi again, :woohoo:

I have tried this solution for some minutes & it looks good. No problems to set the parameters to 1.

Hope this is helpfull for some of you!

greetings

Post edited by: Tim230981, at: 2007/01/17 03:27

Please Log in or Create an account to join the conversation.

  • pakito1
  • pakito1
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 1
17 years 7 months ago #31024 by pakito1
Replied by pakito1 on topic Re:Email notification - Default
Hi, I found another way to force email notification

1.- Set Allow e-mail notification to yes in config

2.- modify components/com_uddeim/uddeim.php

add this
[code:1]
//Force email notify
$ison = 1;
//--
[/code:1]

before line #1637
[code:1]
if (($ison==1) || ($ison==2 && !$currentlyonline) || ($ison==10 && !$itisareply) || ($ison==20 && !$currentlyonline && !$itisareply)) {
[/code:1]


3.- If you use Quick message PMS plugin

do the same with file
components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php

add this
[code:1]
//Force email notify
$ison = 1;
//--
[/code:1]

before line #751
[code:1]
if (($ison==1) || ($ison==2 && !$currentlyonline) || ($ison==10 && !$itisareply) || ($ison==20 && !$currentlyonline && !$itisareply)) {

[/code:1]

This will overide any user settings, so hide this feature

Hope this helps

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum