Search Results for 'code'
-
Search Results
-
Hi all. This evening I was just about to translate some pieces of BBpress into my native Czech lang. I am used to use Codestyling Localization plugin for translating plugins. This same I saw some strange warning. First time in my life.:-) Is here someone able to provide me with more details on following error message regarding bbpress?
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. (Codestyling Localization plug error message)
Topic: Forum Description Vanished
Since updating to bbpress 2.1 the Forum Index is blank (whether pulled up through http://domain.com/?post_type=forum, or with the shortcode), and the descriptions entered for each of the Forum posts are not showing up. When all of the forum topics are set to private, a user who is not logged in sees the dialogue “Oh bother! No forums were found here!” But once the user is logged in, that dialogue disappears, but none of the Private Forums appear.
I’ve reset the permalinks in Settings and in the Forum slugs area, and tried the Repair functions as well.
Hi bbPress community,
Thank you for all your collective hard work on this great plugin. I’m working on an integration of the new 2.1 plugin into my own theme, and I had a question about scripts and styles that bbPress enqueues into the wp_head.
In general, for plugins which are highly localized on the site (ones that only get used in very specific places), I prefer to conditionally enqueue styles and scripts to keep the head section of the main site relatively clean. bbPress currently initializes the following code site-wide:
/** Scripts ***********************************************************/ add_action( 'bbp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS add_action( 'bbp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); // Enqueue theme JS add_filter( 'bbp_enqueue_scripts', array( $this, 'localize_topic_script' ) ); // Enqueue theme script localization add_action( 'bbp_head', array( $this, 'head_scripts' ) ); // Output some extra JS in theNormally I’m fairly handy with actions and filters in my functions.php file, but I’ve had a load of trouble getting these scripts to conditionally enqueue. Ideally, I would want to condition them on is_bbpress(). Can anyone offer a snippet to filter these unless is_bbpress() is true?
Thanks in advance, and let me know if my question is unclear in any way.
Andrew
Topic: Mandatory Anonymous Posting?
Hello,
I’ve seen a lot of talk on these forums about Anonymous posting, and I was wondering how easy/feasible it would be to have an anonymous posting system work like the following:
Users need to register in order to post. They have their own username, password, etc. etc., but when they post their username doesn’t show up whatsoever to other posters. Guests CANNOT post at all, which is how this is very different from the previously used versions of Anonymous posting.
I would hope it’d be fairly simple in the posting code, but I’m not experienced enough to know exactly what I’d do. In the simplest terms, whenever there is a post, remove the field that shows the Username of the poster. Similarly, in the Topic view, remove the username from that field as well. Is that possible?
Any help would be greatly appreciated. Thanks!
WP Version: 3.4.1
bbPress Version: 2.1.1
Permalink Custom Structure: /%category%/%postname%/User Settings:
Show Toolbar when viewing site – Unchecked
Username (all small w/o spaces) – forumuserbbPress Login Widget is used to provide login box which displays user profile image as well as name of user with the link to its profile page:
http://domain.dom/forums/users/forumuser/
I am having problem in accessing the above user profile page. The error displayed on the page is:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.However, if admin logins and goes to the url “http://domain.dom/forums/users/admin/” then bbPress’s profile page for admin is displayed correctly.
What could be the problem? Can someone here help me to rectify it so that proper user profile of all respective users are displayed correctly?
Thanks.