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

Home » FUDforum Development » FUDforum 3.0+ » Matching Authors with Users During NNTP Import
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Matching Authors with Users During NNTP Import [message #166173 is a reply to message #166170] Thu, 06 October 2011 09:40 Go to previous messageGo to previous message
jm2morri is currently offline  jm2morri   
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma:
Senior Member
naudefj wrote on Thu, 06 October 2011 02:42
FUDforum will use the 'From:' name if there is no E-mail address.
However, if it finds an E-mail address, it will not look at the 'From:' portion.
You can change it in scripts_common.inc.


Thanks for the pointer Frank.

So if I comment out the line


$user_id = q_singleval('SELECT id FROM '. sql_p .'users WHERE email='. _esc($from_email));

in scripts_common.inc

then it will always try to matchup the name in the From: to a login name? That is actually what I think I want. It might make a bunch of new users to start with but it should clean itself up I think. Any side effects I haven't considered?

James.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Call to undefined function fud_use() 3.0.3RC2 (resolved)
Next Topic: 3.0.3 NNTP Import Limit
Goto Forum:
  

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

Current Time: Thu Nov 28 05:44:08 GMT 2024

Total time taken to generate the page: 0.04100 seconds