Search Results for '+.+default+.+'
-
Search Results
-
Topic: Language files are ignored
Hello,
It has been 2 years since I couldn’t resolve this issue.
I have a bbpress forum installed on my wordpress site. http://www.outdoorhaber.com/forumThe site is in Turkish.
Some information for you to eliminate errors
I added define(‘WPLANG’, ‘tr_TR’); to wp-config
I exported https://translate.wordpress.org/projects/bbpress/2.5.x/tr/default po and mo files
I renamed the exported files to bbpress-tr_TR.po and bbpress-tr_TR.mo
I put those 2 files both in wp-content/plugins/bbpress/languages and wp-content/languages/bbpress (I tried to put files only in 1 of the folders and vice versa, but did no good)I am about to have a complete brain meltdown, just because of bbpress language issue.
The weird thing is; I download bbpress turkish files from various sources. 1st the official project page (by exporting), then some people translated the files.. I want to translate “Last comment” but there is no match (nothing to translate) in po file. (The one exported from here https://translate.wordpress.org/projects/bbpress/2.5.x/tr/default)
Come one please export a po file from the link above, and ctrl+f “Last comment” in poedit. You will see, there is nothing to translate..Here is a screenshot for what I mean

Here are my po and mo files
http://www.outdoorhaber.com/wp-content/languages/bbpress/bbpress-tr_TR.po
http://www.outdoorhaber.com/wp-content/languages/bbpress/bbpress-tr_TR.moThe reason why I gave so much detail is to eliminate unnecessary “did you do this, that” replies.
Please someone help me.
More specifically, does anybody have working group forums that are not using the WordPress default permalink settings?
I have BuddyPress group forums on my site, but the topics will only show the first page. In other words, the topic pagination does not function properly, and my guess is because I am using “post name” for my permalink settings.
I just was wondering if ANYBODY has functioning group forums because I can’t find any examples.
Topic: Changing Editor buttons
In the editor I need to, at the very least remove the code button.
Is there any way to use the default WordPress Editor where users can see the visual results of their editing instead of the html markup text.
Users of the forum I’m creating are not HTML coders and the way this works will totally confuse them. Also switching it off in settings makes matters worse as then they are presented with an instruction box showing the HTML tags.
I have used the code in the documentation to turn on the visual editor and it is working fine.
However, when you start or reply to a topic neither editor is selected by default. Is it possible to enable the Visual Editor by default? If not is there any way to remove the text editor so that visual is the only option and hopefully that will select by default?
Topic: Import first_name/last_name
I’m migrating from a vbulletin forum (3.x) and I’ve figured out how to do a bit of customization, bringing over custom fields in the user table. But one thing I’m having a tough time figuring out is how to bring in the first_name and last_name to the usermeta table.
For some reason, the following does not work:
// fx: last name Stored in usermeta) $this->field_map[] = array( 'from_tablename' => 'user', 'from_fieldname' => 'lastname', 'to_type' => 'user', 'to_fieldname' => 'last_name' );But the following does:
// fx: last name Stored in usermeta) $this->field_map[] = array( 'from_tablename' => 'user', 'from_fieldname' => 'lastname', 'to_type' => 'user', 'to_fieldname' => 'fx_last_name' );Simply by changing “last_name” to “fx_last_name” it works. I’d prefer to have it bring it in as the WordPress defaults. I understand I can force a move into the correct field once I import, but as I’ll have about 24 hours on the migration day, i’d love to get it accomplished in the import script.
Thanks for any insights.
Hi,
I have a problem where pagination is not working in my theme.
I am doing template redirect in function.php to template file of forum, topic or reply if URL is like http://domain/forums/…
Right templates are loaded and right content is shown, but pagination is not working, first page is always shown/loaded.
Pagination appends …/page/{page}/ to URL when page is selected, but always first page of data loads.
I have tried to set page manually, among others, $bbpressInstance->forum_query->paged, but no luck.My question is, how and where to set page that should be loaded, and how to track where is the problem. Because problem is in my theme, pagination works in WP default themes.
How to debug this?I am on deadline, but stuck on this basic feature and should appreciate some pointers how to debug this.
BBPress forum is included in my template file through shortcode
echo do_shortcode('[bbp-single-forum id='.$id.']');
Topics are included like
echo do_shortcode ( '[bbp-single-topic id=' . $id . ']' );
And Replays like
echo do_shortcode ( '[bbp-single-reply id=' . $id . ']' );Hi everyone!
I’m using a members plugin called UserPro. I’m trying to integrate bbPress forums with the user profiles created through UserPro.
All I’m trying to do is replace the user’s photo and username links to instead link to the UserPro profiles.
The plugin’s developer gave users his own CSS changes to the “Loop-single-topic”, “Loop-single-reply” and the “loop-single-forum” .php files.
Though his supplied CSS works in terms of replacing the links, it also breaks the look of the entire forum and removes all of the info below the user’s pic and name.
Here’s the default “loop-Single-reply”:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?> <div class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></div> <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header clearfix"> <div class="bbp-meta"> <?php if ( bbp_is_single_user_replies() ) : ?> <span class="bbp-header"> <?php _e( 'in reply to: ', 'bbpress' ); ?> <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> </span> <?php endif; ?> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?> <?php bbp_reply_admin_links( array ( 'after' => '<span class="admin_links_sep"> | </span></span>') ); ?> <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id(); ?> --> <div class="bbp-reply-entry"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> <div class="bbp-arrow"></div> </div> </div><!-- .bbp-reply-content --> </div><!-- .reply -->Here’s his supplied CSS:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php /* Integrating UserPro */ global $userpro; $link = preg_replace("/(?<=href=(\"|'))[^\"']+(?=(\"|'))/", $userpro->permalink( bbp_get_reply_author_id() ), bbp_get_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) ) ); echo $link . userpro_show_badges( bbp_get_reply_author_id() ); ?> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> </div><!-- .bbp-reply-content --> </div><!-- .reply -->I would be grateful to get any assistance on how I might change the links alone without modifying or breaking everything else. Thanks so much in advance.
I’m using the Avada theme.
BB Press 2.5.4 running on WP 4.0 using default template Tewnty-Twelve.
I have a regular member who has been posting and replying in my forum for months every day without a problem.A week ago today this member started having all their replies marked as spam.
I have the default settings in Askimet, and no other “special” settings for forum users. I have had their IP address whitelisted, and I have unspammed every comment.
No additions of plugins, templates, or style sheets. As a matter of fact, I was out of town when it happened, so no changes had been at all.I had them make a new user and they were able to post once and then started getting marked as spam again.
Is there anything I can do to get them unstuck?
Thanks in advance for the help
Hi
I am setting up a new BBPRess forum and I have changed the default reply order to descending so new replies begin at the top. So far so good.
However, when a new reply is submitted the user is taken to the other end of the thread rather than to the newest end. Is there a tweak I need to the reverse order code?
this is what I have in my functions:
function custom_bbp_has_replies() { $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending) return $args; } add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );thanks for any help.