Forum Replies Created
-
In reply to: Login screen in forum is gone
ok, are you using bbpress wp tweaks?
And in Dashboard>settings>forums>forum root slug what is the forum root set to?
In reply to: Login screen in forum is gonecan you post a link to your url so that we can see?
In reply to: Settings not saving in admin for new fields addedI’m a bit of a newbie to this area, having just created my first settings page, so of this is irrelevant, please ignore !
The following talks about needing to register
https://codex.wordpress.org/Settings_API
eg “NOTE: You MUST register any options you use with add_settings_field() or they won’t be saved and updated automatically. ” – which seems to describe your problem
and
https://codex.wordpress.org/Function_Reference/register_setting
That may not be necessary as you’re adding it as a filter??
anyway my code cribbed from elsewhere looked like
// register the plugin settings function ui_register_settings() { // create whitelist of options register_setting( 'ui_settings_group', 'ui_settings' ); } //call register settings function add_action( 'admin_init', 'ui_register_settings' );
where ui_settings was my array.
In reply to: BBPress is not showing up on dashboardCheck that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
In reply to: move Username and IP to the right of the avatarGreat, glad you’re sorted.
If you’ve fixed it, would you like to post what you did here, it might help someone searching for a similar fix going forward 🙂
In reply to: move Username and IP to the right of the avatarYou’ll be needing to modify
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-topic.php
more spam
No problem !
In reply to: Removing "Started by:"great – glad you’re fixed
In reply to: Links and avatars moves to right sideGreat – glad you’re fixed
In reply to: Is it that hard? WP Theme Selection Dropdown“I’ll read the link you posted. Hopefully it doesn’t suck.”
I wrote it, and hopefully you give me some positive feedback if you feel it can be improved. By the way I don’t consider “it sucks” to be positive feedback 🙂
In fact if you worked you way through the documentation, you’d probably gain a lot of knowledge.
“Easy of me to throw stones in a glass house when I don’t code I guess. ” Yes, basically you are taking something that people have written in their spare time, don’t get a penny for, and that you are using it for free, and you want the people who developed it to abandon taking their kids out for the afternoon (or in fact many afternoons) and write code so that you don’t have to. And then you come on this site where people like me who again do this in my spare time for free, and have lots of other things I could be doing, and slagging it off. 🙂
There is a lot of development of this plugin going on all the time and it will keep improving.
“And, I have yet to see a non-sucky bbPress based forum. Most are fairly crappy in how they present and deal with the content. ” – now you just resorting to insult.
A community (like the open source community) requires contributors as well as takers
If you want to contribute to the development of the plugin, please let us know exactly what you would like to see, and how you think it would benefit other users.Oh and yes, I think you are now starting to sound like a troll !
Best Wishes
Robin
In reply to: Is it that hard? WP Theme Selection DropdownbbPress by default tries to use your themes default templates as it’s base. So it is already using your theme’s page template, maybe not the particular one you’re after, but it will be for your theme, or one you have created.
It will look for the following files in your theme in this order, and use that for it’s forums
plugin-bbpress.php
bbpress.php
forums.php
forum.php
generic.php
page.php
single.php
index.phpSee https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ for more detail and how to get it to use a particular template.
Since some theme writers create a bbpress template, and some have variously named page templates, it would be kinder hard to get bbpress to work out which of your themes files are page templates, and which you want to use.
Yes, getting the right template to display forums can involve you in renaming and moving some files, but that’s because you have decided to use a non-default theme (no criticism), and so your theme writer and the writers of bbpress would need to be telepathic to know how the other one is going to code. As I said some themes actively allow for bbpress, for others it is just one of thousand of plugins.
The plugin bbPress Tweaks
https://wordpress.org/plugins/bbpress-wp-tweaks/
In dashboard>settings>bbpress tweaks allows you to select from available templates as a dropdown, so partly achieves what you are after.
I fully appreciate that WordPress and plugins can cause a lot of frustration, and no you’re definitely not a troll (yet!), but less heaven and hell in your posts would be better!
In reply to: Pagination not working (not plugin conflict)glad you’re fixed !
In reply to: Each Forum to Have its Own Admin EmailLaurie,
Would need some code to do this
If you’re into coding, suggest you download
https://wordpress.org/plugins/bbpress-notify/
and crack open the code
It should give you a good idea on how to create your own code.
if not try putting it on wp-jobs
and see if someone will pick it up for you
In reply to: Freshness Date FormatStephen,
Is there a quick and easy way to amend the headings other than amending the template?
eg loop-topics.php has
<ul class="forum-titles"> ... ... <li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li> </ul>
In reply to: Freshness Date Format“Edit: That said, has anyone tried the code in the link you posted?”
I’ve just loaded it and it seems to work fine
function wpse_77441_change_time_format( $anchor, $forum_id ) { $last_active = get_post_meta( $forum_id, '_bbp_last_active_time', true ); if ( empty( $last_active ) ) { $reply_id = bbp_get_forum_last_reply_id( $forum_id ); if ( !empty( $reply_id ) ) { $last_active = get_post_field( 'post_date', $reply_id ); } else { $topic_id = bbp_get_forum_last_topic_id( $forum_id ); if ( !empty( $topic_id ) ) { $last_active = bbp_get_topic_last_active_time( $topic_id ); } } } $date = get_post_time( get_option( 'date_format' ), $gmt, $reply_id, true ); $time = get_post_time( get_option( 'time_format' ), $gmt, $reply_id, true ); $dt = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time ); $time_since = bbp_get_forum_last_active_time( $forum_id ); return str_replace( "$time_since</a>", "$dt</a>", $anchor ); } add_filter( 'bbp_get_forum_freshness_link', 'wpse_77441_change_time_format', 10, 2 ); add_filter( 'bbp_get_topic_freshness_link', 'wpse_77441_change_time_format', 10, 2 );
In reply to: What is it?I have plugin that lets you add up to 4 fields, and also one that adds the postcount
http://www.rewweb.co.uk/bbp-topic-count-plugin/
Try those
In reply to: bbpress integrate to my custom themeThis is really a question about how to ‘bundle plugins with a theme’ so I googled that and got lots of stuff including
http://themeforest.net/forums/thread/how-to-bundle-plugins-with-a-theme/27256
have a look around this and the other results
In reply to: Removing "Started by:"Ok, you need to do the following
If you have a child theme, then do this in there
If you don’t have a child theme, then seriously consider creating one, it’s very quick and easy, and will ensure that changes you make don’t get lost on theme or bbpress upgrades. Just google wordpress child theme videos and you’ll get lots of help.
In your theme create a bbpress directory
wp-content/themes/yourthemename/bbpressthen copy
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-topic.php to this directory so that you have
wp-content/themes/yourthemename/bbpress/loop-single-topic.phpEdit this file to delete line 60 which says
<span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
and save.
bbPress will now use the file in your theme’s bbpress folder instead of the default, and you won’t lose your change on bbpress upgrades – but will it it is in your main theme, so if you don’t create a child theme, keep a note of what you changed, as if your theme updates, then you may/will lose the bbpress folder and file.
In reply to: Edit Replies to post and get a blank pageok, then as before I’d suggest you go to yoothemes for support.
It may be as simple as changing the page template that bbpress is using
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ section 8
In reply to: Links and avatars moves to right sideIt actually is not displaying any of your replies correctly, they are not aligned as the topic is.
I think the culprit is two lines of code in your style sheet
From style line 1659From style line 1658
.reply {
float: right;
}.reply a {
float: right;
font-size: 13px;
line-height: 22px;
}Altering reply to float left and reply a to float none seems to fix it.
But it could be that these are being used elsewhere, so just have a look around you site afterwards to check that this hasn’t altered something else.
In reply to: Set depth of indent for threaded replies…John, really pleased that you tracked it down, and yes I’ll add it to the styling crib when I get a moment ! Often I spend hours searching for the wrong thing, the solutions here are often easy and obvious but only after you have worked them out !
The code
#bbpress-forums ul.bbp-threaded-replies{margin-left:25px;}
is exactly the same as
#bbpress-forums ul.bbp-threaded-replies { margin-left: 25px; }
The computer simply ignores gaps, and coders only write it that latter way to make it easier to read.
You ought to start using a child theme if you haven’t already got one. (just google child theme video, and you’ll get lots of help). it’s very quick and simple and does not affect you main theme, just allows you to add without losing on updates. Then you would create a directory in that called
css viz wp-content/themes/yourchildthemename/css and copy your amended bbpress.css file into that. bbPress will then use that, and you won’t lose changes.Great that you’re fixed !
In reply to: Edit Replies to post and get a blank pageDid you disable the stylepress plugin, as it seems to be pointing to that?
This plugin is no longer maintained viz
https://wordpress.org/plugins/style-press/
I’d also post a query on the yootheme suppprt site, as they may have come across this
In reply to: Links and avatars moves to right sideSeems you have some theme conflicts
To save me searching, can you post live links to the pages you have in your screenshots, and I’ll take a look
In reply to: Do any of you allow users to upload photos?No it shouldn’t slow the site down, pictures are an inherent part of any modern website.
However your host provider will have website size limiys, and it may fill that- so you need to keep an eye on it.
In most cases people don’t go mad with photos, but depends on the nature of our site!