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

Home » FUDforum Development » Bug Reports » Prefix on answers
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Prefix on answers [message #162056] Tue, 16 March 2010 13:52 Go to next message
danliker is currently offline  danliker   Switzerland
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 05:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 07:54 Go to previous messageGo to next message
danliker is currently offline  danliker   
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 08:39 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 11:42 Go to previous message
danliker is currently offline  danliker   
Messages: 57
Registered: January 2004
Location: Schweiz
Karma: 0
Member
add to buddy list
ignore all messages by this user
looks good, i think it solved the problem.

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

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

Current Time: Fri Oct 20 12:00:31 EDT 2017

Total time taken to generate the page: 0.00711 seconds