Forum Replies Created
-
In reply to: I need to add code in the panel
Could you explain further?
In reply to: I need to add code in the panelCould you explain further?
In reply to: Only forum not Latest DiscussionsIf you edit your front-page.php template (make a copy and edit the copy), you can remove the code about latest discussions.
In reply to: Only forum not Latest DiscussionsIf you edit your front-page.php template (make a copy and edit the copy), you can remove the code about latest discussions.
https://plugins-dev.bbpress.org/changeset/3022
On the settings page, there is a new section where you can send a private message to every user on the forum. You automatically unsubscribe from the threads after they are created and inbox size restrictions do not apply.
In reply to: Where are cookies set?In reply to: Topic tooltipsfunction topic_tooltip() {
$topic_id = get_topic_id();
$post = bb_get_first_post( $topic_id );
$post_content = strip_tags( get_post_text( $post ) );
// Do something to $post_content to make it short here
echo ' title="', esc_attr( $post_content ), '"';
}In reply to: Use bbPress with MobileMe?MobileMe does not support server-side scripting languages, so it wouldn’t work. bbPress runs using PHP and MySQL. https://bbpress.org/about/requirements/
In reply to: SpamI cannot do anything about the users. I mark the posts as spam, but that info is not getting back to akismet (if it’s even supposed to.) So, all I can do here is remove the posts but cannot affect the users at all.
Actually, it is. Akismet is sent all the posts that you mark as spam or not spam.
If Bozo users is installed, Akismet can mark newly registered users as bozos but will not change the status of people that are already registered.
I personally think that a plugin such as bbPress Moderation Suite (or a modified version of the bozos plugin that allows moderators to mark users as bozos) would do very well here.
In reply to: My part of Contribution to bbPressCould you add bbBlu? http://nightgunner5.is-a-geek.net:1337/bbpress/my-templates/bbblu.zip
In reply to: Uniq titles for custom pages?Search engines generally ignore meta description and keywords because they get abused frequently. However, if you really want them, you can use
add_action( 'bb_head', 'my_function_that_outputs_stuff' );
.In reply to: Uniq titles for custom pages?$bb->static_title = 'My Awesome Page';
right before thebb_load_template
call.Akismet automatically marks a newly registered user as a bozo if it gets a spam response to some of the user’s profile fields. Bozo status simply marks new posts from the user as spam. A post can be marked as spam by Akismet without the user being a bozo.
Don’t override the core files with a theme’s files. Try putting the theme in a separate folder under
my-templates
.In reply to: Taking a look at bbPress 0.9$bb->email_login = true;
There you go, instant feature!
In reply to: Taking a look at bbPress 0.9_ck_
Moderator
Ben L.
Member
If I changed my display name to _ck_, I would still be marked as “Member”. I could change my name to administrator as well, but people on this site are used to seeing Name – Rank, not Rank – Member.
And if you’re going to bash 1.0 or 1.1, don’t do it because of added features. 1.0 added several security fixes (for example, try going to an admin page “admin-base.php?plugin=
[name of destructive function here]
” in both 0.9 and 1.0. Only 0.9 executes the function._ck_, I could just as easily apply your arguments against display names to email, instant messaging, or IRC.
We don’t need a fork – bbPress standalone (which isn’t going to be discontinued until there’s a perfect converter to the plugin version) can easily be replaced with a WP install with only the bbPress on it.
In reply to: Questions about bbPM Pluginzaerl, go ahead and share it. I won’t be offended. This is open source software, after all.
In reply to: Bavatars 0.4.1 plugin – avatar in postWhat you want is
<?php post_author_avatar_link(); ?>
or<?php post_author_avatar(); ?>
, depending on whether you want it to be a link to the user’s website or not.In reply to: How Can I Fix a Slow Queries Problem ?Try installing this plugin: https://bbpress.org/plugins/topic/bb-benchmark/
And adding the following line to your
bb-config.php
:define('SAVEQUERIES', true);
Then, you can view source on any forum page (when logged in as admin) and it will tell you the slowest query, along with the function that used it. It’s usually simple guessing to figure out which plugin a query came from after that.
In reply to: Profanity filter messing forum upFirst of all, line 145 is blank – https://plugins-dev.bbpress.org/browser/profanity-filter/trunk/profanity-filter.php?rev=2946#L145
I already told you to try re-downloading it on the plugin page. There’s no need to post these error messages in multiple places.
The reason Profanity Filter makes your meta table bigger is that it caches the filtered text of posts, topic titles, and usernames to avoid having to filter through them and slow down your forum.
If the meta table did become a hundred times larger, it’s because you don’t have any other plugins that use meta.
In reply to: Can I add form fields to the registration page?<?php
/*
Plugin Name: My Profile Keys
*/
function my_profile_keys( $a ) {
$a['my_key_id'] = array(
true, // Required
'ID number', // Label
'text', // Type
'', // Value
'' // Default when not set
);
return $a;
}
add_filter( 'get_profile_keys', 'my_profile_keys' );Untested, but should work. (Change the lt thing to a less than sign – the bbPress.org forums have some kind of glitch).
In reply to: function bb_authbb_auth
callsbb_validate_auth_cookie
, which callsWP_Auth::validate_auth_cookie
, which uses a variable defined inbb-settings.php
. The cookies you can check for are auth and logged_in, with auth automatically switching to secure_auth if you’re on SSL.In reply to: ' when i use apostrophekikko088, Did you add the green and remove the red? It sounds like you added both by accident.
In reply to: function bb_authbb_auth()
can be called with'logged_in'
as the$scheme
to check if a user is logged in.In reply to: function bb_authThere’s also
bb_auth( 'logged_in' )
if you aren’t checking if the user can be in bb-admin.