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

Home » FUDforum » How To » NNTP Issue (New User) (New User)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: NNTP Issue (New User) [message #162433 is a reply to message #162431] Sun, 09 May 2010 09:12 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
For starters, open include/nntp.inc, and search for:
$this->subject = htmlspecialchars(trim(decode_header_value($this->headers['subject'])));

Replace this line with:
echo "FORUM CHARSET=[". $GLOBALS['CHARSET'] ."]\n";
echo "RAW SUBJ=[". $this->subject ."]\n";
$this->subject = htmlspecialchars(trim(decode_header_value($this->headers['subject'])));
echo "NEW SUBJ=[". $this->subject ."]\n";
die();


Reset the NNTP tracker to the problematic message by running this statement from the SQL Manager:
UPDATE fud30_nntp SET tracker = 2037610 WHERE id = 1;

Run the import script and you should see something like this:

Importing microsoft.public.windowsxp.general message 2037610
FORUM CHARSET=[utf-8]
RAW SUBJ=[=?Utf-8?Q?Sound_Schemes_=C2=BB_Altering=2C_etc._=28?= =?Utf-8?Q?XP_Professional=29?=]
NEW SUBJ=[Sound Schemes ยป Altering, etc. (XP Professional)]


You may also want to add extra echo statements to decode_header_value() in include/scripts_common.inc.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't Log in to Admin
Next Topic: PDF and code page
Goto Forum:
  

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

Current Time: Wed Nov 27 16:38:12 GMT 2024

Total time taken to generate the page: 0.04749 seconds