Is there any way to add favorites in the profile
bbPress support forums » Requests and Feedback
favorites in profile
(4 posts)-
Posted 1 year ago #
-
What do you mean? Favourite threads? I don't think so, like you see in the "Favourites" section of your profile, right?
Posted 1 year ago # -
yep the favorites that on the favorites section want it to show on the profile. i try everything still trying to figured it out
Posted 1 year ago # -
I think that's a tricky one. The code block that makes the output of favourites is below, but since it checks
if( $topics )the actual getting of favourites I guess happens much earlier on in bbPress' execution. Can't think how you'd get around that easily.<?php if ( $topics ) : ?> <table id="favorites"> <tr> <th><?php _e('Topic'); ?></th> <th><?php _e('Posts'); ?></th> <th><?php _e('Freshness'); ?></th> <th><?php _e('Remove'); ?></th> </tr> <?php foreach ( $topics as $topic ) : ?> <tr<?php topic_class(); ?>> <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td> <td class="num"><?php topic_posts(); ?></td> <td class="num"><small><?php topic_time(); ?></small></td> <td class="num">[<?php user_favorites_link('', array('mid'=>'x'), $user_id); ?>]</td> </tr> <?php endforeach; ?> </table>Posted 1 year ago #
Reply
You must log in to post.