Forum Replies Created
-
also respects posts hidden by s2member bbpress level restrictions
i was mistaken, topics hidden by s2member restrictions are hidden, but replies are not hidden in search results when using this snippet
davidddn, you may have another plugin or theme function interfering with this search code, so try testing with default wp theme and disable other plugins etc
otherwise, including bbpress in standard wp search results as a standard option in bbpress would be great
sam
the bbpress search code posted above by robkk works fine for me with wordpress 4.2.2 + bbpress 2.5.8, shows expected bbpress topics and replies in wp search results for admins, non admin members, and non logged in users
also respects posts hidden by s2member bbpress level restrictions
sam
In reply to: i dont want to use bbpress on wordpressIn reply to: If statement for users logged intry the wp “is_user_logged_in” function
https://codex.wordpress.org/Function_Reference/is_user_logged_in
<?php if ( is_user_logged_in() ) { echo 'Welcome, registered user!'; } else { echo 'Welcome, visitor!'; } ?>
or
<?php if ( is_user_logged_in() ) { ?> <p>Welcome logged in user<p> <?php endif; ?>
sam
s2member will allow creating a paid membership bbpress site and restrict access to specific forums by user role (membership level)
https://wordpress.org/plugins/s2member/
paid membership pro works with bbpress as well, requires (free) optional add-on plugins to restrict forums per member levels and/or per user role
https://wordpress.org/plugins/paid-memberships-pro/
sam
In reply to: MAJOR noobie with a lot of questionsany kind of wordpress/bbpress or other website that has open public registration needs very strong anti spambot protection, i use a few different plugins, but some spammers still get through sometimes, no one plugin will get them all…
these 2 work well together, but a few bots etc will still slip though, search this bbpress forum for more anti-spam info
https://wordpress.org/plugins/wangguard/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
sam
In reply to: Edit forum homepage – where is it?click on the “documentation” link on the top of this page, the info you seek is there –
template info – https://codex.bbpress.org/amending-bbpress-templates/
conditionals – https://codex.bbpress.org/bbpress-conditional-tags/
etc
sam
In reply to: Add forum rolesthere is an excellent article here on using wordpress functions.php file
sam
In reply to: Where can I find good themes for bbPresspretty much every wordpress them is compatible w bbpress out of the box at this point, but this is a good place to start –
https://wordpress.org/themes/search.php?q=bbpress
sam
In reply to: edit profile in menu linktry “user_nicename” instead of “display_name”, this should return the proper value
sam
In reply to: Help for rolesi have not tried it myself, but this plugin says it allows user media uploads (photo & video) & inline posting for bbpress + buddypress
rtMedia for WordPress, BuddyPress and bbPress –
https://wordpress.org/plugins/buddypress-media/
sam
In reply to: Looking for a bot for my own forumsee this article for info on creating bbpress test users and data
sam
In reply to: Looking for a bot for my own forumsee this article for info on bbpress test data –
or just download and import this file –
https://bbpress.trac.wordpress.org/ticket/2516
sam
In reply to: Removing/Blocking Adsense Adyou could also try to select the specific adsense css element within whatever bbpress element and then do something like
li.bbp-header .adsense {
display: none;
}sam
In reply to: Blog and Forum in different directoriessorry, i think i may have misunderstood the OP
if your root wp root is site.tld/blog, i do not think you could have a bbpress 2.x forum at site.tld/forum, unless maybe some .htaccess trick might allow it
sam
In reply to: Blog and Forum in different directoriesbbpress 1.0.2 is obsolete for a few years now and is no longer supported, current bbpress is version 2.5.4
https://wordpress.org/plugins/bbpress/
using wordpress and bbpress 2.x, you could set up wp at domain.tld/blog and put bbpress (2.x) on a wp page like domain.tld/blog/forum
see the bbpress codex for more info on setting up bbpress 2
see here for info on importing other forums
https://codex.bbpress.org/import-forums/
sam
In reply to: How do I stop spam registrationsthese anti-spammer and security plugins look interesting too, but i have not tested them myself, they should work fine with bbpress but always test carefully for possible confilicts with other plugins you are using, especially plugins that have similar functionality
https://wordpress.org/plugins/avh-first-defense-against-spam/
and wordpress security is a bigger topic than just dealing with spammers, but sorting out the specifics is up to you 🙂
https://codex.wordpress.org/Hardening_WordPress
http://premium.wpmudev.org/blog/keeping-wordpress-secure-the-ultimate-guide/
https://wordpress.org/plugins/bulletproof-security/
https://wordpress.org/plugins/tags/security
https://wordpress.org/plugins/tags/wordpress-security
sam
In reply to: How do I stop spam registrationsnot really fair to blame the bbpress developers (free software made by volunteers) for not having every possible feature built into core, all forum apps (phpbb, etc) that i am aware of require separate anti-spam plugins
bbpress itself is just a plugin for wordpress, so anti-spam is more a wordpress problem than only a bbpress problem, and there are many anti-spam wordpress plugins out there, and dealing with spammers & bots etc is a BIG topic, and a continually evolving battle for anyone running any sort of website…
otherwise, i think it would help keep this forum orderly if there were a sticky or somesuch with a maintained list of commonly requested bbpress plugins like anti-spam, polls, custom avatars, granular membership permissions, etc
here are the wordpress anti-spam plugins i mentioned in the other topic, all work well with bbpress, start with wangguard which is the easiest to use, all require careful config and monitoring to make sure they are functioning properly
https://wordpress.org/plugins/wangguard/
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
sam
In reply to: How do I stop spam registrationsIn reply to: Social integration with bbPresseither of these 2 work fine for social register and login for wordpress/bbpress
https://wordpress.org/plugins/socialauth-wp/
https://wordpress.org/plugins/wordpress-social-login/
more here –
sam
In reply to: spam users are registering in my websitethese 3 wordpress plugins are very effective in eliminating spambots and other spammers on wordpress/bbpress site
i use all 3 with no apparent problems, but read the notes for each plugin, all need to be properly configured and stop spammer reg can be very aggressive and may deny some of your legit visitors access if not properly configured
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
In reply to: spam users are registering in my websitethese 3 wordpress plugins are very effective in eliminating spambots and other spammers on wordpress/bbpress site
i use all 3 with no apparent problems, but read the notes for each plugin, all need to be properly configured and stop spammer reg can be very aggressive and may deny some of your legit visitors access if not properly configured
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
In reply to: Mass spam attackthese 3 plugins are very effective in eliminating spambots and other spammers on wordpress/bbpress site
i use all 3 with no apparent problems, but read the notes for each plugin, all need to be properly configured and stop spammer reg can be very aggressive, stop spam reg and bad behavior will both check visitors against a blacklist of known spammers and will deny them access to reg and posting forms etc
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
In reply to: making forum roles bigger/betteryou would need to edit bbpress template files to add a unique css class to each bbpress role as well as add custom css, see this article for details –
https://bbpress.org/forums/topic/roles-under-username-bb-author-role/
sam
In reply to: making forum roles bigger/bettertry adding something like this to your child theme css, this will give you a light grey box around the role title, but there does not seem to be a selector to differentiate roles and thus use different color per role
div.bbp-author-role { background-color: #eee; }
otherwise, you can use your browsers web inspector etc to examine any element and use that as starting point to alter appearance of bbpress
sam