Topic: [Release] Topic description
Topic description
Allows users to write a description for the topic
URL:
SVN http://kanekt-punbb.googlecode.com/svn/topic_desc/
ZIP http://kanekt-punbb.googlecode.com/file … _0.5.0.zip
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → [Release] Topic description
Topic description
Allows users to write a description for the topic
URL:
SVN http://kanekt-punbb.googlecode.com/svn/topic_desc/
ZIP http://kanekt-punbb.googlecode.com/file … _0.5.0.zip
Hey KANekT
I just installed this extension on a board.
When I wrote a new Topic I can enter a description.
But where does that description show? Who can see it? Where?
Location of that image is forbidden, i.e. not showing
Can you (or anyone) test it in oxygen. Not working my side.
Thx.
Thx got it to work in a 1.3.4 here aswell now
But in another 1.3.4 board (but with Cobalt Style):
Notice: Undefined index: topic_desc in /home/[...]/viewforum.php(315) : eval()'d code on line 10
It doesn't work in 1.3.2 according to my tests... just FYI.
I tested only 1.3.4
extension not depend on the style.
I think possible bug, but when it happens I do not know.
maybe it will help
<hook id="vf_row_pre_item_subject_merge"><![CDATA[
if (isset($cur_topic['topic_desc']))
{
$forum_page['item_body']['subject']['topic_desc'] = '<p><small>'.forum_htmlencode($cur_topic['topic_desc']).'</small></p>';
}
]]></hook>
Should I check my other ext installed to see if they're using any of the below hooks ?
Or is the description data somehow not being put in the db?
<version>0.2.0</version>
<description>Topic Description</description>
1 <hook id="po_pre_post_contents" priority = "2">
2 <hook id="po_end_validation, mr_confirm_split_posts_form_submitted"><![CDATA[
3 <hook id="po_pre_add_topic"><![CDATA[
4 <hook id="fn_add_topic_qr_add_topic"><![CDATA[
5 <hook id="ed_qr_get_post_info"><![CDATA[
6 <hook id="ed_pre_message_box" priority = "2"><![CDATA[
7 <hook id="ed_qr_update_subject"><![CDATA[
8 <hook id="vf_qr_get_topics"><![CDATA[
I did the update extension.
Bugs should be fixed
Didn't help....
Didn't help....
при каких условиях происходит ошибка? (url or картинка)
версия форума?
Under what conditions is a mistake? (url or picture)
version of the forum?
It just doesn't show the topic description. It looks like any other normal topic (without description)
I can enter the topic description but it doesn't show afterwards.
No errors are reported anywhere.
this forum works http://punbb-e.keydogbb.info/index.php
or don't work in Cobalt Style ?
http://punbb-exp.keydogbb.info/viewforum.php?id=1
That one doesn't work.
Neither did another I tried.
The E board has worked since this post
http://punbb.informer.com/forums/post/133265/#p133265
punbb-exp - 1.3.4 ?
pliz
define('FORUM_SHOW_QUERIES', 1);
in this forum
It's on, changed it in config.php
You forum
0.00071 SELECT t.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM xxx_topics AS t WHERE t.id IN (16,15,14,13,2,1)
0.00073 SELECT t.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, t.topic_desc FROM xxx_topics AS t WHERE t.id IN (16,15,14,13,2,1)
my forum
0.00025 SELECT t.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, t.topic_desc FROM n_topics AS t WHERE t.forum_id=14 ORDER BY t.sticky DESC, t.last_post DESC LIMIT 0, 30
code viewtopic.php (93-100)
// Fetch list of topics
$query = array(
'SELECT' => 't.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to',
'FROM' => 'topics AS t',
'WHERE' => 't.forum_id='.$id,
'ORDER BY' => 't.sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 't.posted' : 't.last_post').' DESC',
'LIMIT' => $forum_page['start_from'].', '.$forum_user['disp_topics']
);
I think something has changed in the code viewtopic.php line 93-100
must be that board then that is problem (running with 1.3.4 experimental by pun)
just got your ext working on another test board with version 0.3.0 [edit: anyone know why the "by KeyDog" is on the very left in that last post - it's ugly..., where to change?]
so we can say that it works on 1.3.4
thanks again for your help
need to change the style *.css
Yesterday 12:11:59 - little characters
this would be great if you could make the description appear when a user mouseover the topic link. I don't want the description to take up any vertical space you see.
Can this be done?
PunBB Forums → PunBB 1.3 extensions → [Release] Topic description
Powered by PunBB, supported by Informer Technologies, Inc.