Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get permalink of forums root?

Published on March 18th, 2016 by MarcGuay

Hi,

Is it possible to get the permalink of the forums root without referencing the slug? If the forum root slug is changed in the settings, any reference in the theme to the default ‘forums’ would break.

Thanks,
Marc

showing search bar on category page

Published on March 18th, 2016 by karthickeyang

i want to show search bar on top of category page,
i pasted <?php echo do_shortcode(“

“); ?>
above shortcode in content-single-forum.php , i get search bar in category page but in sub forums page
i get 2 search bar..

“All Replies” admin returns 500 Error

Published on March 18th, 2016 by Type Historian

WP 4.4.2, bbPress 2.5.8-5815

Welcome!

This problem has persisted for maybe two years with regular updates of WP and bbPress. Now that I really need to move some posts, I’m finally getting around to asking for help…

A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. URL: http://____/wp-admin/edit.php?post_type=reply

I tried nearly all of the repair tools without success. If there is an error in the php file, how can I fix it?

Many thanks for your help, Anna

Close Options menu on second click/tap

Published on March 17th, 2016 by tech55541

Hello,
I have this code that I used to create a custom BBPress options menu. It works great. The only thing it does not do is close on a mobile device when the options menu is clicked again. Could you please help me add this functionality?

functions.php code

/* Custom BBPress admin links menu*/
function wpmudev_bbp_admin_links_in_menu($retval, $r, $args) {
   if ( is_user_logged_in() ) {
   $menulinks = '<ul id="bbp_custom_links_menu-' . $r["id"] . '" class="bbp_custom_links_menu">';
    $menulinks .= '<li class="parent"><a href="#bbp_custom_links_menu-' . $r["id"] . '">Options</a>';
    $menulinks .= '<ul class="bbp_custom_links_submenu">';
    foreach($r['links'] as $key => $val) {
        $menulinks .= "<li>{$val}</li>";
    }
    $menulinks .= '</ul></li></ul>';

    echo $r['before'] . $menulinks . $r['after'];
    }
}
add_filter('bbp_get_topic_admin_links', 'wpmudev_bbp_admin_links_in_menu', 10, 3);
add_filter('bbp_get_reply_admin_links', 'wpmudev_bbp_admin_links_in_menu', 10, 3);

add_action( 'wp_footer', 'overflow_overriding' );
function overflow_overriding() {
    if ( !is_user_logged_in() ) {
    }else{
    ?>
    <script type="text/javascript">
		jQuery( document ).ready(function() {
		   jQuery('.bbp-admin-links:even').css({"position": "absolute", "right": "380px"});
		});
    </script>

     <?php
    }
}

Thanks for the help.

Can´t Insert Topictitle

Published on March 17th, 2016 by Leg3ndAry

Hello,

i have the following problem. When i try to enter a topictitle, the topictitle stays empty.

WordPress Version: 4.3.1
BBPress Version: 2.5.8
PHP 5.5.9
I hope you can help me.

“replies to show per page” is not working

Published on March 17th, 2016 by verenar

Hi,

the setting “topic and replies to show per page” has no effect on my installation:

Screenshot: https://drive.google.com/open?id=0B1lNxIs0Ho_Rbkl1NWtiMFBKN0U

All replies are shown in one single page, what can I do?

Thank you!

How to change `bp_topic_last_active_time` format

Published on March 17th, 2016 by mvaneijgen

In loop-single-topic.php the following function is requested <?php bbp_topic_last_active_time();?> and this will display 2 weeks, 1 day ago I would like to only state the first part so 2 weeks ago and lose the specificity of it being a 1 day

There are different kinds of specificity depending on when the topics was last active like:
1 day, 23 hours ago
2 weeks, 1 day ago
1 month, 2 weeks ago

and I would like to convert them all to
1 day ago
2 weeks ago
1 month ago

Any tips on this would be highly appreciated.

Recents topics

Published on March 17th, 2016 by titis14

Hello
i would like to have exactly the same widget on my site, like putting it in place?
Thank you

Post/Reply text runs over date bar on mobile

Published on March 16th, 2016 by tech55541

Hello,
URL: http://yourtechadvisors.com/forums/topic/testing-safe-to-ignore/
For some reason on mobile devices, part of the reply and post text will overlap the bar where the date is. I have tried deactivating all plugins and checking to see that there are no syntax errors in my CSS. Could someone please check my forum to see what is happening?

Here is an image link, as you can see the mobile view looks pretty bad.
https://drive.google.com/file/d/0B_h6oU4LzDtleElpclF5QV9BajA/view?usp=sharing

I cannot switch to the default theme, I do not want to lose any changes, so a CSS fix would be nice if at all possible.

Thanks for your help.

Removing columns and adjusting widths

Published on March 16th, 2016 by volican

When I use bbpress I notice that on the mobile it is all squished up. To solve this I have removed the freshness column and adjusted the spacing of the info, topic and posts columns. This works on the forums page but when I click on one of the forums the freshness column is removed but the spacing seems to be the same. Can you see what I have done wrong with my css?

li.bbp-forum-freshness, li.bbp-forum-freshness {
	display: none;
}

li.bbp-forum-freshness, li.bbp-topic-freshness {
	display: none;
}

li.bbp-forum-info, li.bbp-topic-title { width:50%; }

li.bbp-forum-topic-count, li.bbp-forum-topic-count {
	text-align: center;
	width: 30%;
}
li.bbp-forum-reply-count, li.bbp-forum-reply-count {
	text-align: center;
	width: 20%;
}

////// This is the bit that isn't playing nice

li.bbp-forum-info, li.bbp-topic-title { width:50%; }

li.bbp-forum-topic-count, li.bbp-topic-topic-count {
	text-align: center;
	width: 30%;
}
li.bbp-forum-reply-count, li.bbp-topic-reply-count {
	text-align: center;
	width: 20%;
}

Many thanks 🙂

Skip to toolbar