Forum Replies Created
-
@_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.
@casiepa. ok ill sumamrise all i know there then. thanks for the feedback
@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.
the Trac ticket that was opened for this is Here
https://bbpress.trac.wordpress.org/ticket/2258
It is 3 years sold and was moved to a future release to wait for the WordPress Permalinks page to be using the settings API, so that these settings were not under the forum page.Not quite sure putting off a fix of this type for 3 years so you can make it appear in a different page is really a good idea but that’s where we are now.
Can it be moved back from a low priority? This is really a high priority for me / anyone wanting to use bbpress for a forum where URLs already exist and need rewriting, or for good SEO URLs.
Ok, so if i can find someone to do the work and get the urls fixed then submit the code into trac it might get integrated into the core by someone in the future?
I understand about the money thing also. I am just trying to think of a way to kickstart the development on the platform again as its on its way to being a really good forum software. it has almost all of the basics covered and some great plugins too. its just those few bits that mean it cant be used by some people. I would love to see bbpress be the defacto choice over phpbb or vbulletin and thought if i could sponsor the development then perhaps it might encourage a valuable dev to get more involved?
Thanks for drawing some attention to it.
If you want to get devs interested then money always helps.
possibly have a central “i want this feature” area where people could individually, or as groups, sponsor certain bits of development? they would need to be core devs to be able to bid on the other jobs and do x amount of commits to qualify
perhaps automattic could sponsor some initial bits to get it kickstarted again? and my contribution to the url bit id be happy to do the first sponsored fix.
alternatively being part of the “Best” thing might make a differnce. as WP is arguably the best platform to build a site on out there then bbpress should really be the bbest forum software. buddypress is on its way to being the best social platform, but its the new cool and has left bbpress in the dust. and i still believe that forums are th lifeblood of the internet. social is fun and all but its the serious discussions that affect everything that come from forums.yep. its a shame no one seems to be interested
even with payment for the cause ? i suppose we need to try and find a freelancer who can submit to the core code after making a plugin perhaps?currently you cant. i am trying to get some attention on this . but there doesnt seem to be any
Any way to eliminate redundancy/weirdness in permalinks (i.e. “forums/forum”)?
This issue was first flagged 7 years ago and has never been “Fixed” because in essence it works. it just doesnt work correctly
@netweb this is probably for you btw. as you seem to be the only active dev on bbpress?
the answer is probably. although i would say i am not going to let the last 3 weeks go to waste because of a url rewriting issue.
I am happy to put in $200 to sponsor this fix. anyone else willing to add something to this and make a bugfix bounty style approach. it might help to kickoff the bbpress development again.
Basically i want to have the ability to create the forum url permalink structure and the thread permalink structure. as per this ticket, https://bbpress.trac.wordpress.org/ticket/2258
I dont care where it goes although within the tools > forums would be fine. or under settings permalinks a forum tab there to actually group similar tools in a sensible way.
If you want to do this development please let me know
Plugin is required also and must not be htaccess rewrites. As i use nginx not apache htaccess style fixes are not an option which suits everyone.