FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Turn off Private Messaging for mailing list users
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Turn off Private Messaging for mailing list users [message #26507] Sat, 23 July 2005 19:54 Go to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
I'm seeing forum users sending Private Messages to IDs which are created by the forum for those who post only via the mailing lists. Is there a way to turn off Private Messaging for mailing list users?

Thanks.
Re: Turn off Private Messaging for mailing list users [message #26508 is a reply to message #26507] Sat, 23 July 2005 20:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No, you can modify the user creation code (based on mlist users) to set "Allow Private Messages" by default disallowing messages PMs to be sent to them.

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26509 is a reply to message #26508] Sat, 23 July 2005 20:24 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Sat, 23 July 2005 15:06

No, you can modify the user creation code (based on mlist users) to set "Allow Private Messages" by default disallowing messages PMs to be sent to them.


Perhaps this might be a suggestion for future versions of the software. Since IDs created by the forum when people post via the mailing list(s) don't even have passwords, any Private Messages sent to those IDs will never be read.

Are Private Messages stored indefinitely if they're never read? Or, are they automatically purged after a period of time?

Thanks.
Re: Turn off Private Messaging for mailing list users [message #26510 is a reply to message #26509] Sat, 23 July 2005 20:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I've already added such a feature to CVS. Private messages are not automatically purged.

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26721 is a reply to message #26510] Fri, 05 August 2005 18:51 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Sat, 23 July 2005 15:54

I've already added such a feature to CVS. Private messages are not automatically purged.


Where in cvs is this fix?

Thanks.
Re: Turn off Private Messaging for mailing list users [message #26731 is a reply to message #26721] Mon, 08 August 2005 02:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7139

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26742 is a reply to message #26731] Mon, 08 August 2005 23:21 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Sun, 07 August 2005 21:11

http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7139


OK, I replaced the users_reg.inc.t file with version 1.84. Then I established a new test user on the mailing list and sent a test message via the mailing list. Once it was posted on the forum, I gave that user a forum password and logged in as that test user. The "Allow Private Messages" option was set to "Yes" by default.
"Private Message Notification" was turned off, but "Allow Private Messages" needs to be set to "No" by default.
Re: Turn off Private Messaging for mailing list users [message #26743 is a reply to message #26742] Mon, 08 August 2005 23:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you rebuild the theme?

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26744 is a reply to message #26743] Tue, 09 August 2005 00:01 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Mon, 08 August 2005 18:31

Did you rebuild the theme?


I have now, and now it is not adding the user at all or even posting the message. Someone replied to my second test message from the second test user, but the original test message did not post.
Re: Turn off Private Messaging for mailing list users [message #26745 is a reply to message #26744] Tue, 09 August 2005 00:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you have any query errors in your log file?

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26746 is a reply to message #26745] Tue, 09 August 2005 00:15 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Mon, 08 August 2005 19:09

Do you have any query errors in your log file?


This, in the SQL error log:

(/srv/www/hml/FUDforum/include/theme/default/db.inc:124
/srv/www/hml/FUDforum/include/theme/default/db.inc:228
/srv/www/hml/FUDforum/include/theme/default/users_reg.inc:153
/srv/www/hml/FUDforum/include/scripts_common.inc:67
/srv/www/hml/FUDforum/include/scripts_common.inc:25
/srv/www/hml/FUDforum/scripts/maillist.php:422
) 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1123545222, '', NULL, 1123544976, NULL,
Query: INSERT INTO fud26_users ( login, alias, passwd, name, email, icq, aim, yahoo, msnm, jabber, affero, posts_ppg, time_zone, bday, last_visit, conf_key, user_image, join_date, location, theme, occupation, interests, referer_id, last_read, sig, home_page, bio, users_opt, reg_ip ) VALUES ( 'Justa Test', 'Justa Test', 'a25280c8af867031c55c08fd3e0ffe77', 'Justa Test', 'webmeister(at)gipsykings(dot)net', NULL, NULL, NULL, NULL, NULL, NULL, 40, 'America/New_York', , 1123545222, '', NULL, 1123544976, NULL, 1, NULL, NULL, 0, 1123545222, NULL, NULL, NULL, 4357012, 2130706433 )
_GET: 3=&
Server Version: 4.1.10-max-log
Re: Turn off Private Messaging for mailing list users [message #26747 is a reply to message #26746] Tue, 09 August 2005 00:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try the following fix:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7186


FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26748 is a reply to message #26747] Tue, 09 August 2005 00:48 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Mon, 08 August 2005 19:36

Try the following fix:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7186


Now it's working perfectly. Many, many thanks!!

Is there a general rule for what mods require rebuilding the theme?
Re: Turn off Private Messaging for mailing list users [message #26749 is a reply to message #26748] Tue, 09 August 2005 00:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Any time you manually update source files with *.t extension or .tmpl files you need to rebuild the theme.

FUDforum Core Developer
Re: Turn off Private Messaging for mailing list users [message #26750 is a reply to message #26749] Tue, 09 August 2005 00:55 Go to previous message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Mon, 08 August 2005 19:49

Any time you manually update source files with *.t extension or .tmpl files you need to rebuild the theme.


That will help a lot in the future. Thanks again!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How Often to Check Consistency?
Next Topic: Forum attachments going out over the mailing list
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 14:22:54 GMT 2024

Total time taken to generate the page: 0.02530 seconds