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

Home » FUDforum » FUDforum Suggestions » Display "Topic Description" op topic page
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
Display "Topic Description" op topic page [message #39731] Fri, 23 November 2007 07:59 Go 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 noticed that the "Topic Description" is not displayed when viewing a topic.

Shouldn't it be added to the top of the topic page?
Re: Display "Topic Description" op topic page [message #39738 is a reply to message #39731] Sun, 25 November 2007 11:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Good point. I've added this functionality to the CVS. Here is the patch:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11796


FUDforum Core Developer
Re: Display "Topic Description" op topic page [message #39739 is a reply to message #39738] Sun, 25 November 2007 12:56 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
Thanks Ilia! Here is a small correction:

--- msg.tmpl.old        2007-11-25 11:51:50.000000000 -0600
+++ msg.tmpl    2007-11-25 11:52:01.000000000 -0600
@@ -71,7 +71,7 @@
 {TEMPLATE-DATA: admin_cp}
 <a name="page_top"> </a>
 {FUNC: draw_forum_path($frm->cat_id, $frm->name, $frm->forum_id, $frm->subject)}
-{IF: $frm->tdescr}<span class="small">$frm->tdescr</span><br />{ENDIF}
+{IF: $frm->tdescr}<span class="small"> ({VAR: frm->tdescr})</span><br />{ENDIF}
 <span id="threadRating">{IF: $FUD_OPT_2 & 4096 && $frm->rating}{TEMPLATE: thread_rating}{ENDIF}</span>
 <table cellspacing=0 cellpadding=0 border=0 class="wa">
 <tr>


Similar fix must be applied to tree.tmpl.

Re: Display "Topic Description" op topic page [message #39745 is a reply to message #39739] Mon, 26 November 2007 16:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Thanks for the patch, similar fix was applied in CVS.

FUDforum Core Developer
Re: Display "Topic Description" op topic page [message #39853 is a reply to message #39745] Thu, 13 December 2007 15:57 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
Another problem with this functionality: the topic description is lost when the topic is moved to another forum.
Re: Display "Topic Description" op topic page [message #39856 is a reply to message #39853] Thu, 13 December 2007 20:21 Go to previous message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Fixed in CVS
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11798


FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Pruning of posts with less than 'x' replies
Next Topic: Posts don't count towards a user
Goto Forum:
  

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

Current Time: Wed Oct 18 11:01:40 EDT 2017

Total time taken to generate the page: 0.00643 seconds