 |
 |
 |
 |
Registered: 06/05/06
Posts: 709
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#223948 - 03/11/09 07:20 PM
Re: PM Replies to automated PMs
[Re: Ruben]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
I know what you mean, i registered myself as new user, received the welcome message and the participant is just me (the new user) and admin isn't. So probably it could be solved by changing adduser.inc.php Find: $query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','$Uid',1)
";
$dbh->do_query($query,__LINE__,__FILE__);
Add under it: $query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','{$config['MAIN_ADMIN_ID']}',1)
";
$dbh->do_query($query,__LINE__,__FILE__);
Rob
Edited by Robje01 (03/11/09 08:15 PM)
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#223967 - 03/12/09 12:21 AM
Re: PM Replies to automated PMs
[Re: Robje01]
|
addict
|
Registered: 08/18/06
Posts: 685
Loc: Southwest US
|
|
I know what you mean, i registered myself as new user, received the welcome message and the participant is just me (the new user) and admin isn't. So probably it could be solved by changing adduser.inc.php Find: $query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','$Uid',1)
";
$dbh->do_query($query,__LINE__,__FILE__);
Add under it: $query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','{$config['MAIN_ADMIN_ID']}',1)
";
$dbh->do_query($query,__LINE__,__FILE__);
Rob Thanks! That seems to do what I want!
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#223971 - 03/12/09 04:02 AM
Re: PM Replies to automated PMs
[Re: Gizmo]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
Okay, replace the newly added text:
$query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','{$config['MAIN_ADMIN_ID']}',1)
";
$dbh->do_query($query,__LINE__,__FILE__);
with:
$date = $html -> get_date();
$dateread = $date + 1;
$query = "
insert into {$config['TABLE_PREFIX']}PRIVATE_MESSAGE_USERS
(TOPIC_ID,USER_ID,MESSAGE_LAST_READ)
values
('$message_id','{$config['MAIN_ADMIN_ID']}','$dateread')
";
$dbh->do_query($query,__LINE__,__FILE__);
You'll receive the PM but it is marked as red. Rob
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224010 - 03/12/09 07:08 PM
Re: PM Replies to automated PMs
[Re: Gizmo]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
That's quiet easy to solve Yarp™, Open scripts/viewmessage.inc.php Find: // Track this for quick reply; $last_post = $post_id;
$plist = ""; Paste under that lines: 2 lines ahead you see: foreach($participants as $pvisit => $pdata) { Paste under that line: Find: $postrow[$i]['replylink'] = make_ubb_url("ubb=mess_handler&replymess=1&Number=$message&id=$post_id", "", false); $postrow[$i]['quotelink'] = make_ubb_url("ubb=mess_handler&replymess=1&Number=$message&q=1&id=$post_id", "", false); Replace with: if ($counter > 1) { $postrow[$i]['replylink'] = make_ubb_url("ubb=mess_handler&replymess=1&Number=$message&id=$post_id", "", false); $postrow[$i]['quotelink'] = make_ubb_url("ubb=mess_handler&replymess=1&Number=$message&q=1&id=$post_id", "", false); } Find: $user['USER_TOTAL_PM'] = $total_unread; Paste this under that line: if ($counter <> 1) { $qr = 1; } else { $qr = 0; } Find: Replace with: See next post for turning off the quick reply function... Rob
Edited by Robje01 (03/12/09 07:24 PM)
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224012 - 03/12/09 07:23 PM
Re: PM Replies to automated PMs
[Re: Robje01]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
Disabled the quickreply box while there's just 1 participant: Open templates/default/viewmessage.tpl Find: <a name="quickreply"></a> Paste above that line: Find: (Somewhere around line 94) Paste above that line: Hope this helps you... Rob
Edited by Robje01 (03/12/09 07:25 PM)
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224147 - 03/15/09 07:00 AM
Re: PM Replies to automated PMs
[Re: DLWebmaestro]
|
Carpal Tunnel
|
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
|
|
You will be pleased to know that using paypal subscription a member receives a board generated private message WITHOUT any "Do Not Reply" Notices to be seen. "Donation Received Thank you for your donation. You have been added to the ' xxxxx ' Subscription Group." Ive tested it and you can reply from the user point of view but you dont get the private message. If they need to ask any questions. SO version 7.4.2 there is no DON NOT REPLY Warnings in any of the payment subscription generated private messages. 
_________________________
Version v7.5.6 < Threads satisfaction status People who inspire me Rick Gizmo Ian David jgeoff ntdoc Oooo i hear 8 is coming? just after 7 my friend.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224234 - 03/17/09 03:26 AM
Re: PM Replies to automated PMs
[Re: Mark S]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
|
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224391 - 03/19/09 02:29 PM
Re: PM Replies to automated PMs
[Re: pinkmelon]
|
enthusiast
|
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
|
|
|
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#224396 - 03/19/09 02:40 PM
Re: PM Replies to automated PMs
[Re: Robje01]
|
|
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
|
|
|
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|