@capsx Those are phpBB ‘magic_url’ and phpBB by default will truncate/shorten all URL’s to 55 characters. It does this so there are not extremely long URL’s in posts. eg. This URL is 63 characters in length, phpBB will leave the ‘href’ in tact but shorten the displayed URL to 55 characters.
<a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a>
phpBB SQL DB stores this in the posts table with the following code
<!-- m --><a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a><!-- m -->
There is more info on ‘magic_url’ here and here.
Thanks for posting your example code above.You may also want to look at https://bbpress.trac.wordpress.org/ticket/1884
-
This reply was modified 13 years, 7 months ago by
Stephen Edgar. Reason: code formatting
Using WordPress 3.4.1 and bbPress 2.1.2.
Ever since I began using bbPress, about two years ago, one thing has driven me up the wall– the forums root, or forums index, or forums archive– whatever you want to call it. It’s the page that you land on when you go to the forums, the page that you get to when you click the root page “Forums” in the breadcrumbs, the same “Forums” link after “Home” in the breadcrumbs. No other forums system except bbPress uses a slimmed-down, so-bland-it’s-not-worth-looking-at template for the root of their forums like the Forums Index.
I tried several ways to make the root page of the forums look like a Single Forum page, in all its not-slimmed-down glory:
- Rename the Forums Base on the settings page to “forums-index” and use a WordPress page with “[bbp-single-forum id=####]” in it for the landing page of my forums. This, however, still keeps the breadcrumbs link, “forums”, linking to the Forums Index. Since I can’t figure out how to change that link, this method doesn’t work.
- Edit content-archive-forum.php so that it displays the content of my WordPress page with “[bbp-single-forum id=####]” in it, and nothing else but the site header and footer and whatnot. Having a custom Forum Index page like this would be ideal, but for some reason it glitches out, displaying like the normal Forums Index, but with the entire forums index, including all categories, under a single category header. For every new single-forum shortcode you add to show another forum, it just repeats what the first shortcode did, too.
- I could rename the forums base to “forums-index” like said before, and redirect “forums-index” to my WordPress page, but it’s a little ridiculous that I would have to rely on something as sloppy as a redirect hack…
Somebody please help me figure out what I can do. Every other forums out there shows their forums index in what bbPress calls “single forum” view. I just want to do that with bbPress too.
-
This topic was modified 13 years, 7 months ago by
MTPrower.
This problem isn’t solved. I’m using bbPress 2.1.2 now, and I can’t, for the LIFE of me, find any way to make it so that “content-archive-forum” looks like “content-single-forum”. Or make it so that the breadcrumbs root, “forums”, just goes to a page of my choosing, ignoring “content-archive-forum” altogether. I wish content-archive-forum just looked like content-single-forum to begin with. That would solve ALL my problems!
This is getting real old. It is, and has always been, the one thing ruining bbPress for me…
in example above, the problem is the DOTS.if we will remove those dots, parsing will be correct:
<a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N105769752/</a>
is parsed to:
<a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N105769752/</a>
also btw – in the bbpress is bug in link parsing:
link:
<a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N ... 105769752/</a>
is parsed to:
<a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/"></a><a href="http://www.flickr.com/photos/29725651@N">http://www.flickr.com/photos/29725651@N</a> … 105769752/
Give this plugin a try if you only want to do some CSS tweaks.
https://wordpress.org/extend/plugins/bbpress-custom-css-file/
If you do want to go down the custom templates route https://codex.bbpress.org/theme-compatibility/
You should add this to the codex showcase page.
You can stop bumping this. I don’t know what “proper attention” means to you, but I can’t look at it any more than I already am. If it’s critical to you and your site, dive into the code and start fixing things.
Not a bbPress problem. Looks like your theme is a child theme of BuddyPress’s bp-default, and it uses hardcoded relative paths in its @import rules. Any number of things could be going wrong here, but it wasn’t updating bbPress that caused this to happen.
Don’t copy any templates into any of the bbPress plugin folders (/wp-content/plugins/bbpress)
The details of what to do are here: https://codex.bbpress.org/theme-compatibility/
Check the Codex https://codex.bbpress.org/ for the latest docs and to get you up and running please see:
‘Getting Started with bbPress’ https://codex.bbpress.org/getting-started-with-bbpress/
If you would like to help us get the docs updated please login with the same credentials you use here on bbpress.org to https://codex.bbpress.org/wp-admin and help out however you can.
-
This reply was modified 13 years, 7 months ago by
Stephen Edgar. Reason: verbiage!
OK, I’m with you now, are you going to use a BBCode plugin for bbPress to render the HTML output?
I have just started working on a patch to add CSS for bbcode_quote, bbcode_quote_head, bbcode_quote_body and a few of the other CSS classes that are are parsed with bbp-parser.php
You need to use the login shortcode and the register page template. Theres also a login widget available.
I’ve spent days on this too, and although this topic didn’t help. it’s one i came across in my search, so thought i’d update with what worked for me.
I think it’s now quite simple, but very unintuitive. Hopefully my explanation works for you guys too.
IT’S NOT IN THE BBPRESS.CSS file! Arghhhhhhh
Firstly, I started using chrome instead of iexplore/firefox. Using this I navigated to the topic/reply box that wasn’t letting me see the text, right click, and select inspect element. The box at the bottom, and to the right, can then help you identify where it’s picking up styles from. You should see a section at the bottom saying matched styles, in my case ‘content.css’
If you hover over the style name (content.css for me) it should show you the location file and the section of code you need to change
The file I needed to amend was http://www.your_website_here.co.uk/wordpress/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
And I just changed the section below, where color: #fff was previously different
body { font-family: Georgia, “Times New Roman”, “Bitstream Charter”, Times, serif; font-size: 13px; line-height: 19px; color: #fff; margin: 10px; min-height: 100%;}
I really hope this method helps others, as it’s been getting right on my nerves
I’m having the same issue. I see two conflicting instructions for theming:
This page shows to make your own template within /my-templates/your-theme/. This page shows to put it in your wordpress theme folder: /themes/your-theme/bbpress/bbpress-files.php. So which is it?
Nevertheless, I tried doing it both ways, and neither show in the dropdown in forum settings. I tried copying the theme-compat theme in order to customize bbpress.
Can someone help, please?
I have been trying for ages to make this works for my website, i activated the bbpress forum and create a page name forum, insert some few bbpress shortcodes and all i get is the “Forum is Empty” is there anywhere this can be resolved? Is there any tutorial on it?My site is at Latest Universities Newsany help will be appreciated.
those was RAW data from MYSQL DB …
i actually DON’T NEED to convert BBCodes – i need original post texts, and that is the problem, cause bbpress converter convert [quote] to DIV
temporary fix was – to get original text from the phpbb_posts table via wp_postmeta key _bbp_post_id
-
This reply was modified 13 years, 7 months ago by
capsx.
-
This reply was modified 13 years, 7 months ago by
capsx.
Have a look at the raw data in your MySQL database not the rendered HTML output, apart from some ‘line breaks’ (<br />) you will find this data is identical.
phpBBv3: phpbb_posts.post_text bbPress: wp_posts.post_content
If you are actually wanting the importer to convert phpBB’s BBCode during import that is being worked on for future versions of bbPress and the import/conversion tool.
-
This reply was modified 13 years, 7 months ago by
Stephen Edgar.
-
This reply was modified 13 years, 7 months ago by
Stephen Edgar. Reason: markdown
Thanks for all the work you do, netweb. I was also happy to see some dude suddenly appeared with a solution to this important feature of stripping bbcode of useless stuff: https://bbpress.trac.wordpress.org/ticket/1884
When importing from phpBB BBCode is NOT converted, this will hopefully be an option in future releases.
Here’s the list of bbPress User Roles and Capabilities if that helps:
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
Every thing up ^^^^ here looks and sounds good as does the FAQ š
“Is there any way to subscribe to tag feeds?”
Only by RSS, just add /feed to the end or a tags URL https://bbpress.org/forums/topic-tag/faq/feed
“What Iām wondering is whether we need to provide anything for the forum members?”
As the docs get better I think they will be universal enough to be used by all parties and by utilizing a plugin such as https://wordpress.org/extend/plugins/bbpress-admin-bar-addition/ I think ‘the docs’ can be delivered to quite a few target audiences being discussed above.
> The new admin bar entries will only be displayed if the current user has the bbPress/ WordPress capability of moderate. (Note: I am open for suggestions here if this should maybe changed to a more suitable capability.)