Is there any way to control how people register on my bbPress discussion board. I can delete the spamers after registration but it would be nice to have a way of controlling who gets to register. Any solutions to this?
Nev
I’ve turned Bad Behaviour off today, so that may explain why IE6 was ok..?
The plugins I have enabled now are (just in admin order);
Enhanced Registration
Moderation Suite
Auto Add Favorites
Terms of Service
Related Topics
bbPM
Tweaks (incl. _ck_’s IE8 fix)
Approve User Registration
Admin add user
Private Forums
Avatar Upload
Human Test for bbPress
Web Compression gzip
My Views module – Started/Participated Topics
Year Long Cookies
Post Notification
bb-chunk
Moderation Notify
I did have Akismet, Skip Akismet for admins, and Bad Behaviour too, but have now removed these. Interestingly enough, Private Forums now works perfectly, even when I disable and re-enable other plugins or change their settings.
These plugins give me the essential functionality I need (apart from user roles which would be neat) so I think I’ll go with Human Test and watch for spam. If things do get silly spam-wise then I’ll have to invest some more time in stopping it, but for now I have a lot of other things to do to get it all up and running. Many thanks for checking it for me.
Odd… IE 6 works fine, and it’s generally more stupid than IE 7+
What plugins? There may be a conflict.
Thanks, though I did try Hidden Forums on my 0.9.0.4 bbPress. It didn’t work as expected, hiding the first forum when it shouldn’t have done. I’ll give it another look though, as Private Forums is going to have me demented within a week.
[edit]
From my other topic on Bad Behaviour just now: I did have Akismet, Skip Akismet for admins, and Bad Behaviour too, but have now removed these. Interestingly enough, Private Forums now works perfectly, even when I disable and re-enable other plugins or change their settings.
Private Forums looks and works exactly as my inexperienced forum users expect. A consistent interface is far less worrying to technophobes than various displays appearing when triggered by different plugins. Private forums are just marked with an asterix, and all not-logged-in ‘errors’ now go to the same page, which looks identical to the rest of the theme, asking the user to register/log-in.
You can see what I mean at http://letsdoo.org Select a private forum to see the display. Then go back, view the Important Information forum, view a topic, then select ‘Key Master’ (for profile) or ‘PM this user’; same display. (This is a more open forum than the other, but I set a few forums as private to keep community bods happy).
Hey i got this working, the only problem is, when i log into WP or BBpress, it logs the other out. Its not a big deal but i was just curious if theres a way to fix this.
Thanks
I used to use Private Forum myself, and that drove me crazy!
I switched to Hidden Forums, which has all the same features without that annoying quirk (where the private forum opens up when the admin is touched):
https://bbpress.org/plugins/topic/hidden-forums/
I’ve been using Hidden Forums for months now, and the private data has been secure the entire time… it definitely seems more robust and secure.
In 1.0 Release Candidate 1, roles change dramatically from 0.9.x. I appreciate there is Role Manager, but I wanted a simple fix for an existing tweak based on Fel’s original code.
The code below creates a new role, adds capabilities that mimic the ‘member’ role, plus extra capabilities you specify.
global $bb_roles; // Get the master list of roles
$key = 'role_internal_name'; // Edit: Name of new role, as used internally by BBPress
$name = __('Role Public Name'); // Edit: Name of new role, as shown in public
$cap = array ( 'view_by_ip', ); // Edit: Add extra capabilities within this array. Must be pre-defined capabilities. Empty if you just wish to apply member capabilities.
$r = new BP_Role(); // New role class
$r->name = $key; // Assign the internal name
$r->capabilities = $bb_roles->role_objects[ 'member' ]->capabilities; // Copies member capabilities to the new role
foreach ( $cap as $add ) $r->capabilities[ $add ] = 1; // Adds extra capabilities
$bb_roles->role_objects[ $key ] = $r; // Adds the new role to $bb_roles
$bb_roles->role_names[ $key ] = $name; // Adds the new role to the list of role names
Hooked using: add_action/add_filter( ‘bb_got_roles’, ‘my_function_name’ );
I have no idea whether this is the most efficient way of doing this. So I’d welcome improvements.
Please file a ticket for this at https://trac.bbpress.org/
@johnhiler
I want to correct something here. Bbpress latests discussion is a wordpress plugin, not a bbpress plugin. It should not conflict with any bbpress function.
Are you using the “Admin can post anything” plugin? I heard that was causing a problem like this once.
https://bbpress.org/forums/topic/error-when-is-used-in-post
https://bbpress.org/forums/topic/error-while-posting#post-10925
Or:
https://bbpress.org/forums/topic/can-someone-explain-this-bbpress-database-error#post-14463
I’ve heard of a single quote causing problems like this in the past but I don’t think we ever had enough data on the types of server, MySQL and PHP version, PHP config, etc, to figure it out.
Two questions:
1) Do you still get that error if you deactivate the bbPress Latest Discussion plugin?
2) Did you try upgrading the bbPress Latest Discussion plugin to the latest version?
<bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘t posted was that when is Rugby Canada going to have a stadium policy. Are we go’ at line 1]
INSERT INTO bb3_posts (topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (’57’,”,’2009-06-01 05:18:02′,’13’,’24.80.235.218′,’0′,’4′,’2′)
Warning: Cannot modify header information – headers already sent by (output started at /home/content/a/l/e/alexander9999/html/forums/bb-includes/db-mysql.php:130) in /home/content/a/l/e/alexander9999/html/forums/bb-includes/pluggable.php on line 232>
Here is message minus the post. The forum is on this site Canadianrugby.ca
there doesn’t seem to be a problem with latest discussions but with postings on the Forum it seems that a long message and perhaps punctuation such as , or apostrophe can cause the error and the post not posting
@englishlangprof please start a new topic for that question. Thanks.
Looked in the archives here and couldn’t find a topic specifically about this…
I am fairly well versed in HTML and CSS. I have no programming experience though. I’ve been using bbPress for a couple years now, and have used WordPress for much longer.
I want to learn PHP but I don’t have previous programming/coding experience. I’d probably just use this to write plug-ins.
Can you recommend a good book or online tutorial for the absolute newb?
Thanks!
Just noticed – according to the developer notes on the bbPress Latest Discussion plugin, earlier versions of the plugin were using the “wrong table name for 9.0.4”:
https://bbpress.org/plugins/topic/bbpress-latest-discussion-for-wp/other_notes/
This has been fixed in the latest version of the plugin (1.3.9). I noticed you mentioned you were using version 1.3 along with bbPress 9.0.4, which would create a problem… I’m guessing that upgrading to the latest version of the plugin might resolve the issue?
If you deactivate the bbPress Latest Discussion plugin, does the error go away?
Actually I made such a mess of it all that I uninstalled and started again!! I only had a few posts.
Thanks guys!
My real need is to have nice big comment boxes like these ones on this page under my blog posts in my blog http://englishforuniversity.com
Does that mean that I have to choose a whole new theme do you think?
Just trying to get my head wrapped around the issue: so bbPress is working fine for you… it’s just that when you activate the bbPress Latest Discussion plugin, you get the error you mentioned?
The URL (for one that’s not active yet) is http://letsdoo.org I’ve just switch Bad Behaviour back on, and IE7 is just sitting there ticking away. Chrome still loads it fine though. I haven’t had anything like this before, and am on Vista Home Premium with the default firewall active.
Can anyone help me with this issue. I knew that BBpress.org didn’t have paid support but I thought I could get some assistance from the forum or community. My developer can’t get it fixed and I need some assistance. Now the problem is that when you make a post it says that it is interfering with the topic header and the post is left blank. Here is the error message.
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘t posted was that when is Rugby Canada going to have a stadium policy. Are we g’ at line 1]
INSERT INTO bb3_posts (topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (’57’,’
Warning: Cannot modify header information – headers already sent by (output started at /home/content/a/l/e/alexander9999/html/forums/bb-includes/db-mysql.php:130) in /home/content/a/l/e/alexander9999/html/forums/bb-includes/pluggable.php on line 232
URL?
I’ve see IE 6 behind a firewall be a bit tetchy about Bad-B before. You can Contact Michael about generic errors like that. I suspect it’s IE and/or your ISP.
Thanks _ck_. This thread can be dumped unless you think it’s of use to others.
Akismet has been getting worse and worse each week with false positives and unfortunately some of your posts fell victim to it. I have restored them.
I updated a thread (http://bbpress.org/forums/topic/new-minimalist-theme-available) as I’d added some files, but can only see the last two posts when I’ve logged-in. Has something gone wrong, or have they been hidden as they’re multi-posts or something? As I said in one, it’d help if we could edit for 24 hours to save double posting. Also, a theme upload link similar to the plugin one would be useful.