[Bb-trac] Re: [bbPress] #674: New topic posted to top-level forum appears in subforum

bbPress bb-trac at lists.bbpress.org
Sun Jun 24 19:19:52 GMT 2007


#674: New topic posted to top-level forum appears in subforum
-----------------------+----------------------------------------------------
 Reporter:  riddle     |        Owner:         
     Type:  defect     |       Status:  new    
 Priority:  high       |    Milestone:         
Component:  Front-end  |      Version:  0.8.2.1
 Severity:  major      |   Resolution:         
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by riddle):

 By the way, I can confirm the problem at the HTML level.  In my site under
 construction, I have a top-level forum with ID 4 and three subforums with
 IDs 10, 11 and 12.  Here's an excerpt from the forum list:


 {{{
 <tr class="bb-parent bb-follows-niece bb-root alt">
         <td><a
 href="http://notmyrealsite.net/bbpress/forum.php?id=4&#038;page">Community</a><small>
 &#8211; Kids, pets, events, activities, and more</small></td>
         <td class="num">1</td>
         <td class="num">1</td>
 </tr>
 <tr class="bb-precedes-sibling bb-first-child bb-child">
         <td><div class="nest"><a
 href="http://notmyrealsite.net/bbpress/forum.php?id=11&#038;page">Gardening
 and Landscaping</a><small></small></div></td>
         <td class="num">0</td>
         <td class="num">0</td>
 </tr>
 <tr class="bb-precedes-sibling bb-follows-sibling bb-child alt">
         <td><div class="nest"><a
 href="http://notmyrealsite.net/bbpress/forum.php?id=10&#038;page">Kids and
 Schools</a><small></small></div></td>
         <td class="num">0</td>
         <td class="num">0</td>
 </tr>
 <tr class="bb-last-child bb-follows-sibling bb-child">
         <td><div class="nest"><a
 href="http://notmyrealsite.net/bbpress/forum.php?id=12&#038;page">Parks
 and Recreation</a><small></small></div></td>
         <td class="num">0</td>
         <td class="num">0</td>
 </tr>
 }}}

 But if I click through to the top-level forum (ID 4) and examine the
 source for the New Topic form, the hidden variable "forum_id" which
 appears to govern where it will be posted is set to 12, not to 4:

 {{{
 <input type="hidden" name="_wp_http_referer"
 value="/bbpress/forum.php?id=4&#038;page" />
 <input type='hidden' name='forum_id' value='12' />
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/674#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list