Forum Replies Created
-
ok, it could be coded, but is not available as far as I know.
In reply to: Personalize bbPress Recent Topicssorry it was the weekend, and all the helpers on here are volunteers on have jobs and a social life to lead as well 🙂 please be patient.
The coding for this is quite complicated, but I’d suggest you start by looking at the bbp_has_topics function in
bbpress/includes/topics/template
this will give you a lot of the code for pagination
great – glad you’re fixed !
Not sure if this parameter is there ie set or just blank in buddypress
However you can test if empty – empty meaning not set or set to 0 or set to “”
by changing
echo 'Location: ' . $user_location;
to
if (!empty($user_location)) {echo 'Location: ' . $user_location; }
In reply to: main forum page not workingIt 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, switch to a default theme such as twentytwelve, and see if this fixes.
Do you mean that when registering, the user would put in their email address, and the username would be generated from that?
In reply to: Why is BBPress not following css?May be as simple as the order that the plugins are loading.
see
No. 6
you could also put the word !important after the change to prevent bbpress overriding it eg
/* Remove nav bar and search form */ .page #nav-bar { display: none !important; } .page #s { display: none !important; }
you’re welcome !!
great- glad you’re fixed
you were pretty much there
the following, which is just two lines nicked from elsewhere and joined by a ‘by’ text should do what you want
<span class="bbp-last-post-by-author"><?php printf( __( 'Last Post: %1$s', 'bbpress' ),bbp_get_topic_freshness_link( array() ) ); ?></span> <?php _e(' by ', 'bbp'); ?> <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>
Come back if that’s not what you wanted !
In reply to: Multiple revisions logcould be plugin or theme related
try
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, switch to a default theme such as twentytwelve, and see if this fixes.
“I havent put every file from bbpress in my child theme ”
yes that’s fine, you only need to put in files that you have changed.
I’ll look at the rest of your comments shortly !
Sounds like you’re further through hacking the code than most people get !
ok, just in case you haven’t already seen it, if you’re changing the template files, you should create a bbpress directory in the root of your (child)theme, and copy the files there. bbPress will then use these instead, and they won’t get overwritten by upgrades to bbpress. You should also have a child theme, and put them in there rather than someone else’s theme, and then theme updates won’t overwrite them either!
see
and
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3
I presume you’ve tried the code? That’s the other great thing about using the bbpress folder in your child theme, you can just delete the server version and it goes back to the default one.
If so where is it falling over?
can you copy the lines between
<?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
and
`<?php do_action( ‘bbp_theme_after_topic_started_by’ ); ?>
and paste them into here, and I’ll take a look
I’m out today, but if I get a chance later I’ll then run it and debug for you.
great – glad you’re fixed !
In reply to: Recent Topics Widget QuestionThis is done by putting some code into the footer.php
If you’re into coding, then google ‘wordpress post footer’ and you’ll find several examples of how to put posts into footers. You’d be looking to add a parameter of ‘post_type’ = ‘topic’,
Alternately you could try
https://wordpress.org/plugins/nurelm-get-posts/
and see if that works in your footer – no idea if it will !
the code would be something like
[get_posts post_type=”topic” numberposts=15 orderby=”post_date” order=”DESC”]
or maybe order = “ASC” !
In reply to: Only Admin Can View Voices/ Started Threadsgreat – glad you’re fixed !
In reply to: Forum Not Loading After URL Change…great – glad you’re fixed !
In reply to: Edit leading to 404 pageok, lets start with eliminating plugin and theme conflicts
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, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Missing sidebar forum links in wp admingreat – glad you’re fixed
great – glad you’re fixed
In reply to: Forumpost answers ugly and deformes whole forumok, try renaming your themes’s page file as per
In reply to: Missing Topic IntroYou could try my plugin
which lets you create private groups as you seem to want
@netweb – I’ll be adding it to wordpress plugins as soon as I’ve changed it unlimited groups!In reply to: Missing Topic Introsuggest its a plugin issue – seems to have been found before
first entry missing on single topic page // visible only for admin
and when coding a plugin recently I had exactly the same issue, but as I’m now old and brain going I cant remember how I fixed it, but I did!
It is related to filters applied to bbpress functions – it may be in bbp_has_replies, but somewhere if you mis-filter for replies only, then the resultant wp-query doesn’t have the topic post_id to display as it’s been filtered out.
Anyway one for the plugin author I’m afraid !
In reply to: Profile redirectI presume you mean the profile in the toolbar?
If so, I turn the toolbar off for all users apart from admin. It is ugly and takes away from your theme.
You can then put it as a menu item see
for details
In reply to: Per Forum Permissions by Group@pasquale-galasso – hey thanks.
Yes unless I get someone else with the issue, I leave it for the moment.
Do come back if you find other issues