Forum Replies Created
-
In reply to: Creating Forum Widget and Links Won't Work
I never found a solution to this using the bp function calls. I just wrote a custom query joining the tables that returned the data to build the correct links.
In reply to: Creating Forum Widget and Links Won't WorkSorry, here’s repost of the code. $limit come from the widget setting how many posts can show…
global $forum_template, $bp;
if ( bp_has_forum_topics('type=newest&per_page=' . $limit) ) {
echo '<ul class="latest_form_topics_widget">';
while ( bp_forum_topics() ) {
bp_the_forum_topic();
echo '<li class="forum_topic_widget"><a href="' . bp_get_the_topic_permalink() . '" title="' . bp_get_the_topic_title() . '">' . bp_get_the_topic_title() . ' </a></li>';
}
echo '</ul>';
}I never could get this to work right. I had to instead create a plugin that hooked into actions to save the data and then hooks into the template to add the edit fields on the group profile page.
DJPaul, thanks for that idea. I’ll try that!
In reply to: Completely Integrating a Previous bbPress InstallI think my steps are all that’s needed. I was just looking for some confirmation. Hopefully a dev will update the docs with this.
Now, if I could just figure out how to properly display the html bbPress put on older forum posts ( see https://buddypress.org/forums/topic/how-to-display-html-in-forums )
In reply to: bp_forums_setup error on activationI got the exact same error after those steps. I noticed that if I comment out the lines causing the error, it raises the same error on the next function…
In reply to: bp_forums_setup error on activationI’m really confused. I even tried the previous version of the plugin and it has the same error. I also went ahead and removed the bp-themes directory in case that was an issue. I have checked every single thing I know to (even the mu plugins directory. What could possibly cause this issue?
In reply to: bp_forums_setup error on activationI re-read that page, but I don’t see anything that addressed my issue. I’ve disabled all other plugins (even though they didn’t have buddypress dependencies and I’m just trying to re-activate the plugin.