Search Results for 'code'
-
Search Results
-
I’ve read a lot of the documentation and posts on this, but it unfortunately is not sinking into my skull. From what I can tell, there are basically three pages to the standard bbPress installation & usage: Forum Index page, Forum page, and Topic page. I saw something referring to the
wp-content/plugins/bbpress/templates/default/bbpressfolder, available after installing bbPress. How do I know which of these files to copy/modify, and to which file name should I copy it? Any help or insight you might be able to offer would be appreciated. I am completely lost on this.Topic: Misc characters in emails
I have tried searching, and haven’t found this issue. I may not be using proper terms.
The email notifications are being sent just fine. However, they all are proceeded by a bunch of characters, i.e. similar to the following (plus there are strange codes within the email itself)
=?UTF-8?Q?ly=20To:=20Safety=20in=20Chir?==?UTF-8?Q?iqui?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printableThe subject lines are fine. However, there are also lines of the notification showing extraneous codes and line breaks in strange places, including middle of a word, like the following:
A new reply has been posted by a user. Please login to read full p=
osting and respond.
IMPORTANT: You cannot reply to forum postings via email. You must be logged=
in to reply.=20Lastly, the end of the excerpts show codes too, such as =E2=80=A6
Using latest version of WP and plugin.
Hello everyone.
I have been issues with sorting my BBpress forum topic on the front end.
So i tried to use a custom function i got from one of the threads.
Here is the code i used.
//* Change sort order of Topics within a specified bbpress forum
function my_custom_display_topic_index_query ($args) {
$thisforumid = bbp_get_forum_id();if($thisforumid == 43135) {
$args[‘orderby’] = ‘date’;
$args[‘order’] = ‘ASC’;
}return $args;
}
add_filter(‘bbp_before_has_topics_parse_args’, ‘my_custom_display_topic_index_query ‘ );and i got this error
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘my_custom_display_topic_index_query ‘ not found or invalid function name in /home/flexol5/public_html/wp-includes/plugin.php on line 235
Warning: array_merge(): Argument #2 is not an array in /home/flexol5/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1419
I don’t know what i did wrong or maybe the coding structure of bbpress as changed. I would like someone to help with a way to arrange a specific forum topic in ascending order.
Thanks
Topic: PHP 7.0 Compatibility
Hello,
I ran the PHP 7 Compatibility test against bbPress with the following results. Be nice if they could be fixed so I can use bbPress with PHP 7.
FILE: /usr/share/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php ------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------ 310 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4. ------------------------------------------------------------------------------------------------ FILE: /usr/share/wordpress/wp-content/plugins/bbpress/includes/admin/parser.php -------------------------------------------------------------------------------------------------------- FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES -------------------------------------------------------------------------------------------------------- 293 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7 1149 | ERROR | preg_replace() - /e modifier is forbidden in PHP 7.0 1150 | ERROR | preg_replace() - /e modifier is forbidden in PHP 7.0 1386 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead --------------------------------------------------------------------------------------------------------THank you,
EdwardI have made some adjustment to the default theme files it now looks like this:

In the last Colom I want to display the last activitie in that category something like this

But I don’t know which function I need and how I need to implement it in the theme.
The code looks something like this

Hello,
I am very new to bbPress. I have a few basic questions:
1. To simplify my question, suppose I create page A, B, C, D. For each separate page, I create forum A, B, C, D. When creating the forums, bbPress creates a page for each forum, let’s call them page FA, FB, FC, and FD. My goal is to add a shortcode for forum A to page A such that whenever a user submit a question, it will stay on page A instead of getting forwarded to page FA. The same goes for page B, C, and D. Is it possible to do this? I create these pages and forums, but everytime I submit a question or subscribe to the forum, the site brings me to page FA instead of letting me stay on page A.2. Is it possible to change the front end of the text editor? here we have “b i link b-quote del img ul ol li code close tags”. For general user, they will be more familiar with more common buttons like Bold, Italic, Underline, a button to attach image, a button to add symbols, etc.
wordpress version: 4.5.3
bbPress version: 2.5.10Thank you so much for your help!
Topic: Plugin not translated
Wordpress version: 4.5.3
bbPress version: 2.5.10
theme: Zippy Courses
site: http://escuela.palabrasalavida.com/forums/forum/el-yoga-de-las-palabras/Hi,
Pleased I’m stuck with this. I have my WordPress installed in es_ES, I have translated the Zippy Courses theme without problems and now I am trying to translate the bbpress pluging by copying the es_ES.mo file into the languages folder and it doesn’t work. The plugin is not getting translated.
I have tried to do it using the plugin “Codestyling localization” and I get this message:
Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.
Any hints?
Thanks for your help!
So, I have recently found out that my topics content weren’t showing correctly. Spent a lot of time trying to solve this, and finally came with a solution to my case.
I use ElasticPress on every query on my WP installation, including, of course, bbpress queries. Because some bug or something I really don’t know what, ElasticPress query filter was conflicting with bbpress queries.
The solution I found is “ep_skip_query_integration” filter of EP.
This is what I did, I’m running this in functions.php:
function disable_elasticpress_integration( $query_args ) { add_filter( 'ep_skip_query_integration', '__return_true' ); return $query_args; } add_filter( 'bbp_include_all_forums', 'disable_elasticpress_integration' );Hope it helps.
Renan

