Forum Replies Created
In reply to: How to modify the msg: " You must be logged in "
grep -lIire ‘You must be logged in’ .
Are you using bbp-theme-compat?In reply to: bbPress language defined by WPLANG?
There’s no such thing as BBLANG in bbPress +2.0. It is a global define’d constant of the old standalone branch.In reply to: I want to do the translating bbPress into Arabic
Hi. The wordpress gettext template file is bbp-languages/bbpress.pot. You have to use a specific program for translating the strings. I use POEdit cause it works on all my machines.
Open POEdit and “create a file from template” on the “file” menu. There are a lot of strings taken out of the context and so I suggest you to check the source file line if you have problems.
Building a dictionary from widely used translations (WordPress/Akismet/Others) can speed up the process cause a lot of strings are the same of WordPress.In reply to: Don'tIn reply to: Changing name of "Key Master"
Put this code somewhere in your theme functions.php
Otherwise you can change the roles editing the bbPress gettext file. Check ‘\wp-content\plugins\bbpress\bbp-languages\bbpress.pot’, create a .po for your language (if you already hasn’t one) and change the string “Key Master” at line 3311. If you don’t know what I’m talking about I can generate the file for you.In reply to: Created Forums cannot be found on server
Try refreshing the permalink structure on /wp-admin/options-permalink.phpIn reply to: BBpress 2.1.3 Update Error
This particular error occurs when WP can’t unzip the .zip file. Check if you have enough space on disc or that you haven’t hit the quota. Also check if you have the permissions for doing such operation. Have you ever updated other WP plugin?
> If I use English slugs
What “english slugs”? Are you using a multi-language plugin such as WPML?
Probably the problem here is that your CSS is included the wrong way. Long story short: if a permalink is used and the style is included with a relative path then the browser will try to retrieve the CSS from the apparent folder. Let’s make an example in order to circumvent my horrible english. This page URL is: https://bbpress.org/forums/topic/style-changes-after-modifying-slugs/
If I include a CSS in this way:
[link rel=’stylesheet’ href=’style.css’ type=’text/css’ /]
the browser will try to download:
which is obviously wrong. Check your page source and maybe trace an eventual 404 error with Firebug. Or provide me a link to your forum and I will check it for you.
> When I changed the slugs for the pages into Spanish
What do you mean? You changed the permalink structure? Or do you loaded a es_ES gettext catalog?In reply to: Nonce check fail using reverse proxy
WordPress and bbPress use $_SERVER[‘HTTP_HOST’] here and there and this is a bad thing if a reverse proxy is involved.
If you are using Apache mod_proxy use:
If you’re an nginx guy go with:
proxy_set_header Host $http_host;
Also check if you are using HTTP_X_FORWARDED_HOST in the correct way, in order to get the “real” IP address of the request.
Do not touch bbp_verify_nonce_request.In reply to: Ask for a plugin
“I would happy to test your first release!”
That’s great. Write me at za AT zaerl.com. I will send you the prototype. I need to solve a problem regarding merged/splitted topics but the plugin is ready.
Are you sure you selected the right ID from the admin page? The shortcode accept a numeric ID, not the slug.In reply to: Converting BuddyPress Users/Posts to bbPress
You can import BuddyPress data from http://example.com/wp-admin/tools.php?page=bbp-converter
It supports BuddyPress forums as far as I know.In reply to: Topic and reply content not displaying
I’m glad but yours is a workaround the problem. Maybe in future release bbPress will reconsider the FORCE INDEX.
1) Create a bbpress.php file in the root directory of your theme (or archive-forum.php).
2) bbPress is a plugin and so every single function that are include()d are automatically available on the global scope. Take a look at the bbpress() function.
3) By testing. bbPress isn’t obtrusive and at 99% it will not raise problems.In reply to: Activate New User Account
Maybe the email has been catalogued as spam. It is a common problem especially if you are using a shared host or something similar. The admin can activate the user in the admin area at http://example.com/wp-admin/users.php
The activation codes are unique.
> how about shortcode single topic tag?
Do you mean a shortcode that display all topics which have tag N? [bbp-single-topic-tag id=N]In reply to: Mark topic as closed
Unfortunately this forum has a lot of problems with HTML entities.In reply to: page.php as templateIn reply to: Import from another bbpress
You can export WP data from the /wp-admin/export.php page.In reply to: Editing a shortcode
It’s in wp-content/plugins/bbpress/bbp-includes/bbp-core-shortcodes.php. Don’t edit a core file. Use a filter.In reply to: Difference between those two code tags?
The function doesn’t accept an array. See get_avatar: https://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/pluggable.php#L1583
bbp_topic_author_avatar(0, 80);In reply to: Topic Reply Formatting is strangeIn reply to: security
“disable the ability to create new accounts”: Admin panel -> Settings -> General -> Anyone can register (no)
“What’s the prefered way for a newbie to do that? “: Admin panel -> Forums -> All forums -> The selected forum -> right column (Visibility)
“Are these the preferred plug-ins?”: yes indeed
“Do I just copy the code that the author lists into my .htacess file?”: yes, those two vulnerabilities affect every single non-trivial piece of dynamic web software, not only WordPress