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

Home » FUDforum Development » Bug Reports » Prefix on answers
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Prefix on answers [message #162056] Tue, 16 March 2010 17:52 Go to next message
danliker is currently offline  danliker   Switzerland
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
looks like when i do a normal answer we get an language specific Prefix and on a quick answer the English prefix.

the result is this:
Re: Aw: Re: Aw: Re: Aw: Willkommen

bug or no bug ?
wrong settings somewhere ?



Re: Prefix on answers [message #162071 is a reply to message #162056] Wed, 17 March 2010 09:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I've seen it as well. If you can track it down (in the source code) it should be fairly easy to fix.
Aw: Re: Prefix on answers [message #162073 is a reply to message #162071] Wed, 17 March 2010 11:54 Go to previous messageGo to next message
danliker is currently offline  danliker   
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
i think the bug is in FUDForum/src/quick_reply.inc.t line 15:

$quick_reply_subject = (substr($obj2->subject, 0, 3) == 'Re:') ? $obj2->subject : 'Re: '.$obj2->subject;


"Re:" is hard-coded, but i do not know how to fix it ...
Re: Aw: Re: Prefix on answers [message #162074 is a reply to message #162073] Wed, 17 March 2010 12:39 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Please apply this patch and let me know if it solves the problem:
http://sourceforge.net/apps/trac/fudforum/changeset/4923
Aw: Re: Aw: Re: Prefix on answers [message #162075 is a reply to message #162074] Wed, 17 March 2010 15:42 Go to previous message
danliker is currently offline  danliker   
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
looks good, i think it solved the problem.

thank you!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUDApi - fetch categories
Next Topic: custom avatar
Goto Forum:
  

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

Current Time: Sun Nov 24 15:48:32 GMT 2024

Total time taken to generate the page: 0.02268 seconds