Ya ok i got something figured out. its very basic but you can easily add to this. here’s the code
This basically ads a field call ‘lp_post_honey_post’ with the question “I am a robot”. if the user answers anything other than ‘no’ the post craps out with an error. currently the error message is that the post parameters are wrong, but maybe if somebody can tell me how to set the bbpress error message I can fix that.
You can see the filter in action here
http://www.thelightningpath.com/forums/room/lobby/pre-registration/
There are a few tweaks you could make to this. if you have a plugin like piklist you can easily have a settings page where you could set both the question and the answer. And of course you can change the question in the hard code.
I choose the wp_insert_post_empty_content filter because it fires early on in the wp_update_post routine, saving some CPU cycles.
If somebody wants to help me set this up as a wordpress plugin we could make this a plugin pretty easily. I’m guessing there would be a lot of interest in this.
incorrect code removed ! - correct version below
hmm…. there’s no limit to the number of ways people want to use the forums !!
Would take a bit of coding, and suspect you’d need to pay to get this developed.
I don’t have time I’m afraid
http://jobs.wordpress.net/
@tools4toni
ideas for plugin exploration
there is a plugin section on this site, it basically pulls information from the wordpress.org plugin section on any plugin tagged “bbpress”
i’d say search the plugins section
search the forums on this site so you would find some developed plugins that are not yet on wordpress.org
check some in the list here https://codex.bbpress.org/feature-plugins-tracking/
on gist.github.com/ there are a few snippets in plugin format , especially netweb’s gists https://gist.github.com/ntwb
there are also paid plugins on sites like codecanyon
and there is always google.com
I’m having trouble and I’m not sure if this just can’t be done or I’m missing something basic.
I’m using wordpress 4.1.1 and bbpress 2.5.4. The set up I’m trying to achieve is anyone visiting the site (not registered) can view the forums, but can’t create topics or reply. Registered users can both create and reply to topics. Is there any way to do this?
I am not searching for a plugin actually. Need the php code to show these options.
Maybe its a wordpress thing or maybe its a BBpress thing or maybe both.
Maybe just have it on the menu?
see
login tab in
https://wordpress.org/plugins/bbp-style-pack/
Most replied to is already in the topics widget (as most popular), so it would be nicking that query code.
It would not be tons of code to do a rating, as long as the rating system stores the score in post_meta, then a simple query with that meta would do it.
Just that I haven’t got time to code it at the moment.
suggest you
a) look at bbpress rating plugins
b) check that they store scores in post_meta
c) either code yourself (see bbpress/includes/common/widgets) for the widget code,
d) or pay someone to do it http://jobs.wordpress.net/
not sure if it would help, but just tried this plugin, https://wordpress.org/plugins/bbpress-notify-nospam/, and works perfectly find with me. =)
Hello there,
So I have an existing bbpress sitting on another WordPress site. We are redesigning this website and migrating its content to a new install.
On the old website I exported Forums, Topics, and Replies using the WP Export tool. On the new website I first import Forums which works fine. Next after I import the Topics xml and check the topics page, I see all the topics, but they aren’t associated with the correct forum, the just say “No Forum”.
Is this a bug? Or is there a better way to pick up and move the entire forum to a new WordPress install?
Thanks so much!
my shortcode
[bsp-display-topic-index show=’100′]
in
https://wordpress.org/plugins/bbp-style-pack/
will let you change the number displayed, but only one page I’m afraid !
ok, I’ve just finished coding a ‘latest activity’ widget that should do what you want.
I’ve added it to my bbp-style-pack
https://wordpress.org/plugins/bbp-style-pack/
which you can load to the site and just use (there’s lots of other stuff in there), or if you’re code savvy, you can fork it form includes/widgets.php into your functions file
Hope you enjoy it !
I think what you want is the template from my plugin bbp style pack
https://wordpress.org/plugins/bbp-style-pack/
you can install this plugin if you like, it has lots of stuff in it, but if you just want the styling above then download the plugin to your pc, and do the following
1. Create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
2. Find bbp-style-pack/extras/loop-forums.php and make a copy
3. Paste this copy into the directory called bbpress that you created in 1. above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-forums.php
4. Reload the site (don’t just refresh)
To stop using this just delete the file wp-content/%your-theme-name%/bbpress/loop-forums.php
I received an email from my host stating that WordPress had been updated to 4.1.1. Now even though people are logged into my site the forum tells them that to reply to this topic you must be logged in. The system even tells me this as adimn. So I tried I logged out then back in to make sure that would not fix the problem. It didn’t, the forum still tells me that I must be logged in to reply to this topic even though I am logged in. Forum worked great before 4.1.1 installed.
download the forums.php file and insert it into your child theme in a folder called bbpress.
https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout
you can also use Robin’s plugin , it has the same file inside the plugin and it gives you options to style your bbpress installation better.
https://wordpress.org/plugins/bbp-style-pack/
Hi,
I started to setup my first forum.
For me it is necessary to share files.
I’m using the WordpRess Download Manager PlugIn
https://wordpress.org/plugins/download-manager/
to share files and I have the following problem:
I would like to use the Short-Codes (e.g. [wpdm_package id=’120′])
of the Download Manager to insert files into a Topic, but ist doesn’t work.
The Topic displays only the commands and doesn’t display the designed download buttons.
Is anyone able to help? Or should I use an other PlugIn to share files?
Thx for your help.
thread can be closed now. had to run wordpress in order to use the bbpress.
OK, having a new problem. I received an email stating that WordPress had been updated to 4.1.1. Now even though people are logged into my site the forum tells them that to reply to this topic you must be logged in. The system even tells me this as adimn. So I tried I logged out then back in to make sure that would not fix the problem. It didn’t, the forum still tells me that I must be logged in to reply to this topic even though I am logged in
bbpress stores its role in the same array as wordpress roles
ie in
usermeta[‘wp_capabilities’]
and an entry looks like
a:2:{s:13:”administrator”;s:1:”1″;s:13:”bbp_keymaster”;b:1;}
with admin being the wordpress role and bbp_keymaster being the bbpress role.
A pure wordpress user would look like
a:1:{s:13:”administrator”;s:1}
Now, and this is probably key, when a users registers they just get the wordpress role. When they then log on bbpress sees that it has no role set, so assigns the default role.
Now if emember is writing info to wp_capabilities, it could be overwriting part or the entire array (so by mistake deleting the bbpress role) or appending to it so that bbpress no longer sees it’s role. Then when the user next logs on, bbpress will see no role set, and set it back to the default.
This could explain why users would be going back to default
the try widget logic
Download “widget logic”
https://wordpress.org/plugins/widget-logic/
This plugin lets you specify conditions for when widget items are displayed.
You would then put all the widgets for both the blog page and the forum page in one sidebar
Against each of these you then specify whether you want it to appear on the forum page, on any page with a sidebar that is not the forum (eg your blog), or on both forum and other sidebar pages.
you do this by putting the following code in the widget logic box that you will see appears against each widget
For a forum sidebar you put : is_bbpress() ie is this page a forum page
For any other sidebar you put : !is_bbpress() ie is this page NOT a forum page
For any item to appear on both, simply leave the logic blank.
Give that a try and come back and let us know how it works
So I am still working on this and what I am learning is that my concept of how WordPress structures things are not exactly how I thought.
Apparently what I am expecting is my breadcrumbs to reflect however I create my custom Menu and this isn’t true.
So the Blog has its own hierarchy and this is what the breadcrumbs will reflect.
My intent was to use my “wp_nav_menu” and I am learning these 2 items are distinctly different.
I am still researching and learning this, but figured I would update in case anyone was watching this or had some additional input.
As far as I can tell, this is related to the permalinks and pretty URLs.
I am researching several plugins like Menu Breadcrumb, Breadcrumb Trail,
Advanced Menu Widget, Breadcrumb NavXT and more.
Trying to see whats right for me.
Thanks