So it isn’t taking you to where you want it to also huh? I click on public discussion and it takes me to my post page, which I dont have any post since this is not a blog site. I have latest bbpress and wordpress.
Sorry for the late reply.
If it is pending the only thing in bbPress’ code that can add posts into pending is when a post contains a word in the comment moderation input box in Settings > Discussion and like I said before some plugins could add their own blacklist and hook into this, so make sure you have some spam plugins while you are testing this.
In the past there was a user that had to approve posts manually because a plugin at the root of the users server called “mojo marketplace” has a hidden blacklist inside of it that affected the posts.
You may also want to remove the “http” and “wwww” in your blacklist as this may be affecting it too.
@uschesch
Are you using a free theme?? We could test to see if we can duplicate this issue.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
@_az_ I am happy to do whatever I can. have you set up the GitHub repo or shall i do it and add the necessary people?
If you need any further research into any variables or testing to see results etc please just tell me and i will find all the info i can.
sorry still don’t understand.
Have you done
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Well, it is fixed in bbPress 2.6 that should come up pretty soon, so if you can hold a bit longer… If not, feel free to install the alpha version (for testing) that is pretty stable : https://bbpress.org/download/
Any input would be welcome !
Thanks, Pascal.
@fterra – thanks for your suggestions.
I have it working using ‘bbp_forum_attributes_metabox_save’ as you suggested but have found, perhaps not surprisingly, my function is fired on an update to the meta date. So with the code below I create a new forum and all users are subscribe; some choose to unsubscribe; I update something in the meta data and everyone is subscribed again – not good. Any idea how I can determine whether this is a first time save or an update?
Also I do not want to auto subscribe to group forums. I have fixed this by hard-coding in the group forum’s id, but maybe there is a better way of testing whether a forum_id is a group forum?
Any ideas welcome thanks.
function ovni_subscribe_users_to_new_forum($forum_id){ // subscribe all users to a new forum unless it is a group forum
if (bbp_get_forum_parent_id( $forum_id ) == 969) return; // if this is group forum, do nothing
$all_user_ids = get_users();
foreach ($all_user_ids as $this_user){
bbp_add_user_forum_subscription($this_user->id, $forum_id);
}
}
add_action('bbp_forum_attributes_metabox_save', 'ovni_subscribe_users_to_new_forum');
@casiepa
Do you think i should just gather any info i can and assign to the trac ticket?
The solution posted a bit further up the thread by @_az_ does the basics of removing the forum slug but as he mentioend there are a few places where the permalinks are claled like breadcrumbs etc
From what i can find out (i am not a programmer but am trying) for a quick fix we would need to get the forum parent id from the post itself then get the slug for that forumid and any parents it has. then the post permalink is built from the parent slug and the post slug.
This needs to hook into the permalink function to override this and there is a good example (for a different purpose) here https://github.com/korobochkin/bbpress-permalinks-with-id which i think covers off all of the different places that the changes need to be made and could possibly be used as a basis for the new plugin / code.
I am happy to do all the testing and research if anyone is able to provide some coding experience to the mix. please just get in contact with me and i will show you everything i have found so far. then we can publish the code into the trac ticket and hopefully the main devs can put this into core.
If anyone has any ideas on blocking issues for this also please tell me.
I know one of the potential issues and the reason for this structure in the first place was duplicated urls. Could anyone please explain the thinking behind this. and how it might present an issue.
I know the current topics post type wont alow duplicates so the only issue i can see would be if the forum name was the same as a topic name. Is that the only time this might happen?
If so we would need to create a check when saving the url/permalink that a forum post type does not have the same permalink and if it does then add 1 to the end?
The way most other forums do this is by appending the thread id into the permalink so it would appear to be /my-friendly-title-11234 for example where the post id is 11234
not saying bbpress should do this but its an option as the id for the post is available.
Whilst it needs sorting in the core product, the ticket says that putting this in the css file will fix, and did on my test site
#bbpress-forums div.bbp-topic-author img.avatar,
#bbpress-forums div.bbp-reply-author img.avatar {
position: relative
}
https://codex.bbpress.org/functions-files-and-child-themes-explained/
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Also can you tell us what language you are set to in
Dashboard>settings>general
Then come back
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Hi Nicolas,
Ah, het studentenleven, waar is de tijd 🙂
It seems that any device with a screen going below 480 pixels in width will have this issue (try to use a browser on the PC and play with the window). You seem to be using a standard 2013 theme, but that does not seem to be the issue because I have the same behaviour on a test website with another theme.
Let me have a look around.
Pascal.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Hi,
I have a closed forum, but why my test user I got this message with I visit this forum !
“This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.”
This test user has no specific role, just “participant”.
What can be the problem ?
Thanks
Hi guys, @netweb @casiepa
I need your help i wanted to show latest topic in my sidebar with THUMBNAILS but the current widget i have doesn’t show latest topic with widget. I really need this as it attract more people. Your help will be highly appreciated. Thanks
Regards
HR
Hi guys,
I need your help i wanted to show latest topic in my sidebar with THUMBNAILS but the current widget i have doesn’t show latest topic with widget. I really need this as it attract more people. Your help will be highly appreciated. Thanksssssssssssssss
Regards
HR
Robin.. thanks for pointing to topic-subscribe.
It works for me mostly. In testing, I found that when a new topic is held for moderation (I have things set for user’s first topic to be moderated), then once the topic is approved all other users get subscribed to the topic except the submitter, who is left unsubscribed. I guess the approval process is unsubscribing.
However, I modified your plugin to hook it on last in the actions:
add_action (‘bbp_new_topic_post_extras’, ‘rw_topic_subscribe’, 1, 99) ;
and now it seems to work even for moderated topics.
I also have bbPress auto subscribe for new topics and replies installed and moderated topics are not getting subscribed despite this plugin ticking the box. {I tested your plugin with this other plugin deactivated. This is probably the same issue although the solution may not be so simple – I have raised it on its support forum.
This may be a bit off-topic as it is not about new forums but I see no better place.
Tony
When I check my site with Google Structured Data Testing Tool, it’s giving errors for BBpress topic pages. How can I add structered data like author and date to topic pages?
Thanks
Have no idea what that means, but it is essentially a copy of my live production site only for testing purposes.
Thanks for the reply!
This is actually something I did before posting here (should have mentioned it) and while running the default 2015 theme, I am running into the same issue. This is the URL /forums/search/french+fries/
that is returning in the browser instead of the normal /?s=french+fries
peram.
It’s strange as I have several other corporate wordpress sites running (not w/ bbpress) but have never had a problem with “out of the box” search widgets :)…
I will continue to test (only running 4 plugins) and see what comes from that.
I could not reduplicate this issue on a default theme like TwentyFifteen.
Try it on your end on a default theme and see if you come across the same result.
Try it on a test site/local site with a WordPress default theme, then try with your current theme.
I mean bbPress is free to use and your theme authors could just set it up and see what is causing the issue. For us we would have to pay or at least in the past paid for the theme first to even test it to see what is causing the issue.
You could hire a developer to fix this issue for you. After just googling if others had a similar issue I also found freelance sites/services that would do the job. Suggest you head to a freelance website for a dev to fix this up for you.
bbpress 2.5.8
wordpress (not sure how to find this since I have limited access to the cms. our company always updates to the newest version)
In the forums the create new post editor doesn’t display correctly. There is no text editor, area of a title or tag/topic. I get two empty boxes with background fill and a submit button. This is the same on a reply to a post. It was working at one point since we tested the forum. I have completely uninstalled the plugin from the FTP and uploaded a fresh download.
Login:
[removed login info]
https://www.equipmentworldpeergroup.com/groups/test-group-a/forum/