Forum Replies Created
-
In reply to: Topic Content Missing, but Replies Show?!In reply to: How do you put the "My Profile" link on the menu?
To edit what details the user can see/edit within the profile page then the template is
wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php
and
wp-content/plugins/bbpress/templates/default/bbpress/user-profile.phpEDIT
found the subscription/edit bit
wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
In reply to: How do you put the "My Profile" link on the menu?ahh..if you are saving in ‘text’ view, try changing to ‘visual’ or if you are in visual view try going to text. Sometimes the editor does funny things to stuff it sees as code. Once you have fixed it, try and not edit anything on the page, or if you do check whether it has changed the code, and change the code back as last thing.
It’s an annoying bug in the wordpress editor where it get’s over-keen to ensure that code doesn’t screw up how it stores, but I’d prefer it to do that than muck up the database !
In reply to: ERROR: Are you sure you wanted to do that?@donutz – thanks for sharing that, I’ll add it to the codex when I get a moment !
In reply to: css problem..take out the word div !
.bbp-search-form { display:none !important; }
In reply to: Experiencing an installation problemFirst thought is to de-activate, delete and re-install the plugin.
Come back if that doesn’t work
In reply to: Change of date for freshnessGreat, glad to hear you’re fixed, and have just added the code to one of my forums. One of those moments when you see something and think “that looks better”!.
In reply to: Forum Index Scrunchedwithout spending time looking at defkon’s solution, I could say.
However if you get the page template working, then copying that to a bbpress.php will ensure that bbpress uses it, and you can revert the page.php back to how it was, so it shouldn’t have any implications elsewhere on your site
In reply to: Change of date for freshnessso the answer is
function short_freshness_time( $output) { $output = preg_replace( '/, .*[^ago]/', ' ', $output ); return $output; } add_filter( 'bbp_get_time_since', 'short_freshness_time' ); add_filter('bp_core_time_since', 'short_freshness_time');
Drop this into your functions file
In reply to: Few issues with BBpress installationThink it’s as simple as
is_bbpress()
so try
<div class="breadcrumbs"> if(function_exists('bcn_display') && is_bbpress()) { bcn_display(); }</div>
Haven’t checked the syntax, I’ll let you do that
In reply to: Change of date for freshnessGive me a day or two, and I’ll come back with a more detailed response.
In reply to: Change of date for freshnessYes, it’s doable, but I’ve not yet delved into how to do it !
Great – glad you’re sorted
In reply to: bbPress and my WordPress themeyes, you can customise for bbpress only – I’m actually adding this to the documentation as I write this, as it’s not obviously there !
In reply to: bbPress and my WordPress themeyes, no problem.
Make a copy of your theme page template that is full width, rename it bbpress.php and put in into your theme directory. bbPress will then use this for all it’s layout.
In reply to: WP_Query post type topic helpFor bbPress specific functions, you’ll generally find the functions in template-tags.php files
bbp_get_forum_last_active_id()
is in forums
wp-content/plugins/bbpress/includes/forums/template-tags.php
In reply to: Topic Content Missing, but Replies Show?!ok, suggest you start by running a forum repair – probably not the cause, but would eliminate
dashboard>tools>forums>repair – run one at a time
Then I’d be looking at a conflict in plugins. Disable all plugins except bbpress and see if you still have the issue. If it goes away, re-enable plugins one at a time to work out which is causing the conflict. If that doesn’t work, switch to a default theme (say tewentytwelve) and see if that fixes it.
I thought that’s what it did in default mode.
If you are using shortcodes, then you have options
[bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
[bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.Otherwise come back with a url where this isn’t happening
In reply to: LABELSyes,
Dashboard>settings>forums>forum root slug to change the urls and breadcrumbs – just change forums to what you want it to say
Tp change the forum heading on the forums list, make a copy of
wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php
and place this in a folder
/wp-content/themes/%your-theme%/bbpress/
see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ for a tutorial on this subject
Then edit line line 19 which says
<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>
to
<li class="bbp-forum-info"><?php _e( 'Elephant', 'bbpress' ); ?></li>
and it will say elephant instead of forum.
In reply to: "New Topic" form on separate pageyou can use the following shortcodes in a page or post
[bbp-topic-form]
Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.[bbp-topic-form forum_id=$forum_id]
Display the ‘New Topic Form’ for a specific forum ID.In reply to: Forum Index Scrunched‘Thats the odd part, they are both using the default…and switching between the various different templates doesn’t seem to modify it. The theme has an internal setting that allows you to dictate how many ‘columns’ are shown. I can get it to show full page if I switch that around, but then my article page is also shown full (one column) I’m looking at the code further to try and figure out how to isolate one from the other’
Think that’s the route to go.
bbPress looks at the root of your theme for “bbpress.php” as a page template. if it doesn’t find it, it’ll use your themes “page.php”.
It sounds like your “page.php” page (whatever it’s called), has a parameter to set the columns, so within this they’ll be an “if” statement which is setting this.
What I think you need to do is as suggested in my first post. Copt the page file and call it “bbpress.php”. You should be able to find in that file where it is using the setting to create the columns and take this out. Alternately look in the twentyfourteen theme for the full page template and compare this to your file. You should be able to cobble the two together to get it to work.
If none of that works, (or alternately!) contact the theme developer to see if they have a solution.
In reply to: Form To Forum PostSuspect that there are values in a “forum” post that you need to populate.
I suspect (but don’t know) that the forum will be a category, and the topics will be posts. Therefore you need to link your topic to it’s forum so need to link the post to it’s category.
Try searching round phrases such as “wordpress post category in database” which got me a bunch of articles eg
‘I guess the developers don’t visit their own forum anymore?’ – sounds critical, the developers are busy developing – remember this is all free stuff, and no-one pays their, or indeed my time to do this. They do regularly visit, but I would not expect to get a load of development advice for free to do something that is not in significant demand. Even writing this took ten minutes !
I hope you find a solution, and in the spirit of free open source, post the solution when you get it. I’ll add it to the codex, so that others can benefit.
Regards
Robin
In reply to: How to quote and multi quote topics?not in the core, but I believe this plugin does what you want
In reply to: no replies vueis this just replies? and just in back office?
I seem to remember somewhere that there was an issue with bbPress and localhost – something to do with the IP address resolution, but can’tv remember what it was and how it was fixed, so this may not be relevant !
In reply to: Forum Index ScrunchedLooks like it is bbpress selecting the default page from your theme, which looks like a tree columns one.
Your “about” page is full screen, so if that’s what you want, suggest you make a copy of whatever .php that is using (eg fullwidth.php) from your theme file, and then rename the copy file to bbpress.php and put it in the same theme folder as the original. Then bbpress will use that as it’s page file.