Search Results for '+.+default+.+'
-
Search Results
-
Topic: back up settings
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 . ']' );