Search Results for '\"wordpress\"'
-
Search Results
-
To all those smart coding guys out there, please can someone help me with the bbP functions needed to complete the code below. I think there are two bbP functions needed – see square brackets [??…]. Or maybe someone has a better way of doing it.
I’m trying to integrate BP1.6.1, the new bbP2.2.2 forums and WordPress SEO1.3.1.1 so that the WordPress SEO (meta) page titles are shown when a bbP Topic is being shown within a BP page (just like they are shown for native bbP forum pages).
I’ve hooked functions into ‘bp_modify_page_title’ before and managed to extract ‘_yoast_wpseo_title’ before. So I’m part way there I guess.
I also understand that I need to change the priority from 10 to 16 (or more) in line below (in buddypress>bp-core>bp-core-filters.php), to make bp_modify_page_title filter execute after, and hence overrule, WPSEO title which has priority 15 (in worpress-seo>frontend>class-frontend.php).
add_filter( ‘wp_title’, ‘bp_modify_page_title’, 16, 3 );
add_filter( 'bp_modify_page_title', 'new_page_title', 10, 4 );
function new_page_title( $new_page_title, $title, $sep, $seplocation ) {
global $bp, $bbp;
/** If bbP Topic is being shown within a BP page then replace title with title input via Yoast WordPress SEO plugin */
if ( [?? a bbp function that is true when bbP Topic is being shown within a BP page] && bp_is_active( 'groups' ) && !empty( $bp->groups->current_group ) ) {
[?? a bbp function that loads the bbP Topic Post ID to $topic->ID];
$new_page_title= get_post_meta( $topic->ID, _yoast_wpseo_title, true);
}
return $new_page_title;
}
If you can help please, and I can then get this to work, I’ll post the result back again so others can benefit.
Many thanks.
WP 3.4.2
BBPress Plugin – 2.2.21) Installed BBPress plugin. Did basic setting in admin for the plugin.
2) Copied archive-forum.php and single-forum.php from bbpress plugin directory to mytheme root directory.
3) Copied “css/bbpress.css” to mytheme root directory and then customized.
4) That’s it. I have not created any new template/page for the forum.All look fine and working but I have this problem.
If you go to this link http://www.clouni.com/askquestions/
You will notice the title “Forums” in left side. How can I hide it ? If I understand correctly, it is page title generated through wordpress. But how to hide it only for forum pages and not other page in wordpress ??
Hello,
I have a clean install of
Wordpress 3.4.2 and
bbPress 2.2.2When I activate the bbPress Plugin, I get the following message. Does anyone have an idea, how to fix this? thanks in advance.
(r3961) * @param type $args * @return type */ function _bbp_has_replies_query( $args = array() ) { return apply_filters( ‘bbp_has_replies_query’, $args ); } add_filter( ‘bbp_after_has_replies_parse_args’, ‘_bbp_has_replies_query’ );
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w00fe199/wordpress/wp-content/plugins/bbpress/includes/core/filters.php:1) in /www/htdocs/w00fe199/wordpress/wp-includes/pluggable.php on line 881I’m running bbPress on a WordPress Multisite install. Whenever a user with super admin rights attempts to create a new site (through /wp-signup.php, from the primary site), bbPress throws a PHP error.
Warning: array_keys() expects parameter 1 to be array, boolean given in/home/admin/public_html/beeforums.net/wp-content/plugins/bbpress/includes/core/capabilities.phpon line 453Warning: Invalid argument supplied for foreach() in /home/admin/public_html/beeforums.net/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453
The site creation completes successfully and there is no evidence that there is anything wrong. The errors are not shown when a non-superadmin creates a new site.
I’ve been able to reproduce this on two network installs, but they’re both on the same server so I’m not sure if this is caused by something specific on that server.
Can anyone reproduce?
Topic: How to use converter?
I have filled out all the information correctly, and when I click Start, it tells me:
No posts to convert-
No tags to convert-
No topics to convert-
No forums to convert parents-
No forums to convert-
I have a standalone BBpress 1.02 installation, on a different database than my WordPress installation. But all on the same server.
I would like to update my old forum, because its now being attacked by spambots every day. I want to bring all my users and content over to my new BBPress 2.2.2 installation.
How do I do that?
Number of topics listed for each forum on my /forums page is not matching the number of topics in the forum!
It’s a recently installation so I only have 3 topics. and it’s saying there are 2…
I’m using the latest versions of wordpress and bbpress
Thanks!
Topic: Translation in Glot
Hi I was wondering what version of bbPress is in the GlotPress (here) I’m pretty sure it’s behind.
I’m trying to complete the Dutch one but in the reference files I see its referencing wrong (thus old?) folders like `bb-admin` instead of `admin`.
Also when using the `.pot` file that comes with bbPress it shows 952 strings while an exported version from the glot only shows 927 strings.
Is there any indication when the Glot gets updated? If it does get updated soon I will complete the Dutch Translation.
Topic: Custom loop
Hi guys!
Having a huge struggle trying to make a custom loop in bbPress. I’ve tried to find the solution for 2 days no but I’ve had it. I’m too sucky at both wordpress and php to make it on my own.
So what i want to do is to make a loop for my front-page.php that contains all of the forums (I think). Like this
And for you who doesn’t understand swedish I want to grab all the forums (with description if possible), and for every forum I want to show a counter of both topics and replies. As well as I want to grab the most recent topic, display the author and the time it was published.
Now I might be able to do that i i just know how to make a loop like you do it in wordpress (). So if anyone can be a champ and point me in the right direction I’d be forever thankful!
Hi,
I installed bbpress on my website a few weeks ago, recently after plugin upgrade, i noticed that the forums topics no longer had the reply edit box, and the only thing i can see is a ‘comments are closed’ notification at the end. Previously it used to work correctly.
The website is http://www.funinfinite.com
Theme is atahualpa
Wordpress version is 3.4.2