Search Results for 'bbpress'
-
AuthorSearch Results
-
January 19, 2018 at 7:31 pm #189542
TechHaus
ParticipantGood call! And guess what, it works if I use the shortcode on a page via the wordpress backend.
January 19, 2018 at 6:04 pm #189540Robin W
ModeratorI’ve found a trac ticket for this and logged this chat here
January 19, 2018 at 5:45 pm #189537TechHaus
ParticipantIt didn’t load the style for the shortcode on twentyfifteen either!
January 19, 2018 at 5:21 pm #189534Robin W
Moderatorinteresting…
so I can see in style editor that
the bbpress.min.css is not being loaded on the home page
but bbpress.min.css IS being loaded on the bbpress pagecan you confirm that with 2.6 under twenty fifteen it is loading the bbpress.min.css on the homepage?
January 19, 2018 at 4:04 pm #189532TechHaus
ParticipantYes, correct! OMG, i recorded this…
I just hit save there with the shortcode on 2.5.14
At 20:05 if the video doesn’t load at the right time. Thanks again! You made me remember that I actually documented this so I don’t have to fire up a new wordpress instance to retest. I recorded every thing I’ve done so far on this bbpress installation.
January 19, 2018 at 3:11 pm #189529urbexjordan
ParticipantHi bbPress,
I am looking for help to make my bbPress full width, I’ve tried a bunch of CSS, tried to make a new bbPress.php template, nothing works.
Note – I am not the best coder , but I do know some stuff.
My issue (IMG)

I am trying to make it go full width, but keep that 30-50px padding on either side. Just my OCD kicks in with that stuff, lol.
bbPress Version: 2.5.14
My Theme: Socialize by GhostPoolJanuary 19, 2018 at 2:57 pm #189527TechHaus
Participant@robin-w, thank you for the response. Nothing too clever going on! There is a 999 priority to enqueue the site’s css after plugin css, to over-ride things like some woocommerce styles, but that seems like pretty normal practice. I don’t think that’s it. The plugin styles still load, in this case, just first.
Besides, the shortcode worked when i originally used bbPress 2.5.14, and the when i switched to bbPress 2.6 Release Candidate 5, the styles stopped loading.
Hmmm….
They were both (local and server) clean installations, and only contain bbpress plugins right now. I didn’t copy the databases over.
And yes, they work as expected on twentyfifteen.
Stumped! ahhh. Ty again.
January 19, 2018 at 2:19 pm #189523Robin W
Moderatoryour theme (or maybe other plugin) is only loading bbpress.css on what it thinks are bbpress pages, and it is not treating the front page and profile as bbpress.
I don’t think bbpress 2.6 is doing that, but a quick flip to twentyfifteen would confirm, although I think you are saying you have already tested that above?
Do you have a plugin that is trying to minimise css loading or is your theme being too clever ?
January 19, 2018 at 6:02 am #189514TechHaus
ParticipantHi Robin W. – just want to say that thank you so much for all the responses and help you give to this community. Super inspiring.
I ended up just uploading the theme and putting up a little dummy content.
The two areas of note I mention, on the front page, http://jockjams.com, you can see below the blog post that what the shortcode out put on my page isn’t styled.
However, if you dig around at http://jockjams.com/forums/ or go to http://jockjams.com/forums/topic/do-the-nets-suck/, these look ok.
Another place where there is an issue is if you go to some of the lists on the profile page:
http://jockjams.com/forums/users/bobby/topics/
That is a good example. The list is THERE, you can see it when you inspect the page. Somehow the styling (or lack of) just pushed it way off to the side.
Both of these looked right in twenty fifteen, and I know for sure the shortcode worked on bbPress 2.5.14 from wordpress plugin repository, but not on bbPress 2.6 Release Candidate 5 that I downloaded from this form.
I guess those are all of the details. I would love to know why the styling worked on twenty fifteen, yet it doesn’t work on my theme, while the other two examples above are styled correctly along with my theme and are being properly targetted by bbpress css as well for the list styling.
Thoughts?
Sorry if this is beyond the scope of this forum. I use JointsWP.com btw as my starter theme.
January 19, 2018 at 4:56 am #189513In reply to: Importing from Rainmaker; Topics’ post_parent = 0
Stephen Edgar
KeymasterI’d still prefer to see the database schema, not data that’s already been parsed.
From what I can see you’ve got various issues with that WXR data:
•
<wp:post_type><![CDATA[topic]]></wp:post_type><-topicshouldn’t be wrapped in![CDATA[/]], I’m not sure if that or any other instances apart from content will be affected by this.•
_wp_page_templateshouldn’t be included, if thepost_typewaspage, then yes, buttopicpost type shouldn’t have a_wp_page_templatemeta key, again, I’ve no idea what the resultant behaviour of this would be, maybe ok, maybe not.• You have the following, which is correct:
1327is the “forum ID”`
<wp:postmeta>
<wp:meta_key><![CDATA[_bbp_forum_id]]></wp:meta_key>
<wp:meta_value><![CDATA[1327]]></wp:meta_value>
</wp:postmeta>
`• Just above the above, you have the following which is *not* correct,
post_parentis *not* “post meta”, this should be in thewp_poststable and *notwp_postmeta`
<wp:postmeta>
<wp:meta_key><![CDATA[post_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[1327]]></wp:meta_value>
</wp:postmeta>
`• Closer to the top of your code you have
<wp:post_parent>0</wp:post_parent>, this is where thepost_parentshould include that1327forum id.I suspect if you can get
1327into that last item above you’ll be all set, or at least progressed somewhat, I’m pretty sure the repair tools will be able to recalculate the topic meta once that is in, so that’s another option to repair any meta issues.This might be a handy reference https://codex.wordpress.org/Database_Description
Also checkout https://bbpress.trac.wordpress.org/ticket/2516, the file attached to that ticket is a pretty comprehensive WXR XML file of forum, topics, and replies layed out per the description in that ticket, it might be worth importing into a test site to help visualise the data when looking at the source of the XML file 🙂
January 19, 2018 at 4:49 am #189512In reply to: Do not see the topic in forum
Robin W
Moderatorok, 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
January 19, 2018 at 3:14 am #189511In reply to: Importing from Rainmaker; Topics’ post_parent = 0
liderxlt
ParticipantThanks for answering…
As I mentioned in the open topic today https://bbpress.org/forums/topic/do-not-see-the-topic-in-forum/ What I did was prepare an xml file with the information to upload in the forums , topic and replies.I am using the plugin all import to load because it allows me to use cron tasks daily, not overload the server and not rewrite what is already loaded.
I can do the import and visualize it correctly in the dashboard. The problem is that it is not displayed in the frontend. As far as I could see the post_parent of the topic is 0 … It must be equal to _bbp_forum_id.
These are the parameters for the topic:
_bbp_topic_id = 2231
_bbp_forum_id = 2229
_bbp_reply_count = 0
_bbp_voice_count = 1
_bbp_forum_parent_id = 2229Parameters replies:
_bbp_topic_id = 2231
_bbp_forum_id = 2229
the_reply_parent_topic_id = 2229The other parameters, such as Post Status, are already automated.
The good thing about the import plugin is that it allows you to introduce functions in import http://www.wpallimport.com/documentation/advanced/execute-php/I leave an extract of the topic export, there you can see how it takes the values but not the post_parent one
<title>2586/15</title> <link>http://localhost/expedientes/forums/topic/2586-15/</link> <pubDate>Fri, 19 Jan 2018 03:22:16 +0000</pubDate> <dc:creator><![CDATA[liderxlt]]></dc:creator> <guid isPermaLink="false">http://localhost/expedientes/forums/topic/2586-15/</guid> <description></description> <content:encoded><![CDATA[<p style="text-align: center;"><strong><span style="text-align: start;"> <strong>CAUSA:</strong> JUICIO EJECUTIVO]]></content:encoded> <excerpt:encoded><![CDATA[]]></excerpt:encoded> <wp:post_id>2113</wp:post_id> <wp:post_date><![CDATA[2018-01-19 00:22:16]]></wp:post_date> <wp:post_date_gmt><![CDATA[2018-01-19 03:22:16]]></wp:post_date_gmt> <wp:comment_status><![CDATA[closed]]></wp:comment_status> <wp:ping_status><![CDATA[closed]]></wp:ping_status> <wp:post_name><![CDATA[2586-15]]></wp:post_name> <wp:status><![CDATA[publish]]></wp:status> <wp:post_parent>0</wp:post_parent> <wp:menu_order>0</wp:menu_order> <wp:post_type><![CDATA[topic]]></wp:post_type> <wp:post_password><![CDATA[]]></wp:post_password> <wp:is_sticky>0</wp:is_sticky> <category domain="topic-tag" nicename="2586-15"><![CDATA[2586/15]]></category> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_activity_id]]></wp:meta_key> <wp:meta_value><![CDATA[10]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_author_ip]]></wp:meta_key> <wp:meta_value><![CDATA[120.000.001]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_last_active_time]]></wp:meta_key> <wp:meta_value><![CDATA[2016-02-03]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_reply_count]]></wp:meta_key> <wp:meta_value><![CDATA[0]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_voice_count]]></wp:meta_key> <wp:meta_value><![CDATA[1]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key> <wp:meta_value><![CDATA[default]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_forum_id]]></wp:meta_key> <wp:meta_value><![CDATA[1327]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[_bbp_forum_parent_id]]></wp:meta_key> <wp:meta_value><![CDATA[1327]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[post_parent]]></wp:meta_key> <wp:meta_value><![CDATA[1327]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[wp_get_post_parent_id]]></wp:meta_key> <wp:meta_value><![CDATA[1327]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[parent_id]]></wp:meta_key> <wp:meta_value><![CDATA[1327]]></wp:meta_value> </wp:postmeta> </item>Can it be solved with the correct function?
Thanks for your time @netwebJanuary 18, 2018 at 11:45 pm #189507In reply to: Importing from Rainmaker; Topics’ post_parent = 0
liderxlt
ParticipantHi Mike!
I have the same problem. https://bbpress.org/forums/topic/do-not-see-the-topic-in-forum/
Have you been able to solve the problem? I’m almost sure it’s the post_parent although I still can not assign a value to that paramenter. If I could do it with the others _bbp_forum_id, _bbp_reply_count, etc.When I’m doing the import I tried to force it with the function
<?php function pariente($id){ include "wp-load.php"; wp_get_post_parent_id( $id ); return ; } ?>But I have not succeeded
January 18, 2018 at 4:16 pm #189497TechHaus
ParticipantI also notice that my lists are really messed up when i go to my profile page, look at Topics Started, etc. (and both look fine on twenty fifteen).
So I think both of these are using the base styles from twenty fifteen for their list, whereas the lists on Forum and Topic pages are using their own CSS. This seems…not ideal and they should share similar markup, no?
I will upload after lunch to share what’s going on. But I feel like all lists in bbpress should be based off of the same styles as the Forum and Topic lists.
January 18, 2018 at 2:42 pm #189485Topic: [bbp-topic-index] shortcode displaying without styles
in forum TroubleshootingTechHaus
ParticipantHi,
I started working on bbpress 2.5.14 last night and used the shortcode [bbp-topic-index] on my front page, and it rendered as expected.
Today I switched development to 2.6 Release Candidate 5, and now it is displaying without styles. For example, the all of the lists are showing up completely unstyled with bullets, etc.
However, when I switch to twentyfifteen and use the shortcode on a page, it looked fine.
Any ideas?
Sorry the site is only on my local server as of now, but I could upload later if necessary.
Thank you,
BobbyJanuary 18, 2018 at 1:52 pm #189484Topic: Threading not working
in forum Troubleshootingrichard.miller
ParticipantWP 4.9.2
BBPress 2.5.14
(Site is hidden for privacy reasons)Tried with the 20-x themes, still doesn’t work.
Deactivated related plugins, still doesn’t work.
Is this a known issue? What can I try?
January 18, 2018 at 1:48 pm #189483Topic: Do not see the topic in forum
in forum Installationliderxlt
ParticipantHello people!
I am trying to create a forum with information files that I have on my pc. I have it ordained in the following way: The forum is the category, the title of the file is the topic and the chapters are replies.
They are more than 100.000 records so I have developed a script for import. I have had success importing and putting together the aforementioned structure.The problem is that in each forum the topics are not seen. If I enter the worpress dashboard in the topic section, they are each one. I can see them if I enter directly with the topic URL.
I tried to fix it with the repair tool but I have not been successful.Is there a bbpress function that updates or refreshes the topic when I’m importing 1 at a time?
From already thank you for your time. Excuse me if it is understood I am using google translator.
Regards!January 18, 2018 at 1:18 pm #189480In reply to: @mentions not working
Robin W
Moderator@pjbarry21 – thanks for that.
Having looked at the link (https://bbpress.org/forums/topic/mentions-not-becoming-links-some-times/ ) you gave, and that both @elhardoum and @netweb – I’m not going to better their responses.
I’m not sure if 2.6 helps – the trac ticket is marked as closed, but the milestone is 2.6
January 18, 2018 at 12:10 pm #189479In reply to: @mentions not working
pjbarry21
ParticipantDoes not autopopulate/work in forum discussions using the visual editor, although cutting and pasting or typing handles changes them into links upon saving — most of the time. Sometimes we have to go back in and edit/remove spaces around the entry for it to show up.
To try to get a little more functionality on a test site, I’ve added code from here: https://bbpress.org/forums/topic/mentions-not-becoming-links-some-times/ — but this only works in the text editor and not in the visual editor.
It does autopopulate in activity feeds and does work in resources (bpdocs).
January 18, 2018 at 8:13 am #189478makingcircuits
ParticipantYes after installing bbpress your plugin works, but it is not quite doing what we want.
It has options to migrate all wordpress comments to bbpress but it does not open this migration under the individual posts.
we want the forum to replace the wordpress comment section, meaning the existing comments should be be replaced with bbpress forum under all the relevant post, so that next time the user wants to comment he has to comment using the bbpress box under the posts.
I hope you can arrange this facility in your plugin…then it will be just great!!
thank you very much.January 18, 2018 at 7:34 am #189476makingcircuits
ParticipantDo you mean we must first have bbpress installed?…no I did not install bbpress, I directly installed your plugin first?
OK I’ll install bbpress first and then your plugin…let’s see.
January 18, 2018 at 5:47 am #189473In reply to: how to switch bbpress template?
Robin W
Moderatorall the templates are held in
templates/default/bbpress
the main forum is displayed using
content-archive-forum.php
and that then calls pretty much the rest in a hierarchy, so start there
January 18, 2018 at 1:45 am #189466In reply to: Does bbPress work with Windows Server 2008 r2?
tesicg
ParticipantAfter I’ve installed bbPress 2.6 the issue with creating new theme by anonymous user disappeared.
Thank you very much.
January 17, 2018 at 10:42 pm #189463In reply to: how to switch bbpress template?
tarao
ParticipantThank you @casiepa.
I decided to start coding according to your advice in ONE theme.
But in order to succeed the plan, I have to understand each functions and roles of .php-files which run in bbpress.Could you please give me any picture that explains order of files and functions called and executed by ‘the_content()’ in bbpress.php inside WP theme directory.
I would like to know what happens in bbpress after the_content() runs.
January 17, 2018 at 5:45 pm #189462In reply to: Forum Description Appearance
Robin W
Moderatorok, I can’t help you with winscp, but what you need to achieve is the following.
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend thisso line 38 says
<div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>delete this and in its place put these lines
<div class="bbp-forum-content"> <?php setup_postdata(bbp_get_forum_id()) ; $excerpt = get_the_excerpt() ; echo $excerpt ; ?> </div>This will then put the first 55 characters of your content.
Once you have achieved that, come back and I’ll show you the second part.
-
AuthorSearch Results