[buddypress-trac] [BuddyPress] #2129: add action hook to forum topic theme li

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 4 19:30:28 UTC 2010


#2129: add action hook to forum topic theme li
------------------------+---------------------------------------------------
Reporter:  dwenaus      |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  minor        |   Milestone:  1.2.2
Keywords:               |  
------------------------+---------------------------------------------------
 for the rate forum posts plugin i've created it would be helpful to alter
 forum topic classes, for this i'm requesting a new action hook in the file
 /bp-default/groups/single/forum/topic.php

 on line 29 change this:

 `<li id="post-<?php bp_the_topic_post_id() ?>">`

 to something like

 `<li id="post-<?php bp_the_topic_post_id() ?>" <?php do_action(
 'groups_forum_topic_post_class' ) ?> >`

 or maybe `topic_post_li`

 right now i'm doing it with ajax, which necessitates another useless
 server call, as pointed out by andrew_1. (thanks :)

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2129>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list