Forum Replies Created
-
In reply to: Updating BBpress question
very high chance it will be fine, but risk that your developer will have changed some core files.
Since your trying to learn stuff, then I strongly recommend that you create a test site, which will let you try it there first, but also will teach you loads about wordpress and how it operates, and give you confidence to make other changes in a test area first
In reply to: customizing bbpress admin linksyes I’ll give it a go, but may not be for a couple of days – relatives staying !!
In reply to: Sidebar reappear in topic and topic/absolutely there is, but if you’ve only taken out the footer in bbpress.php, then it will only have been taken out for bbpress, so will still be available elsewhere.
otherwise do come back
In reply to: User Groups and Forumsnot sure if private groups will help you, might be worth a look
In reply to: how to upgrade bbpress 1.0.2 to a newer version?this thread discusses
https://bbpress.org/forums/topic/upgrade-bbpress-1-0-2-to-2-1-2/
looks like you need to go via 1.2 but then should just be export/import?
of course back everything up before you start.
Actually if I were doing this I’d do it on a test site first
https://codex.bbpress.org/creating-a-test-site/
and just see if it works !
Can you document as you go, and When you’ve done it, come back and give us how you did it, and I’ll add it to the
https://codex.bbpress.org/import-forums/bbpress-1-x-buddypress-group-forums/
to help someone in future
In reply to: Help with getting basic plugin to workgreat – glad it worked and saved you some time 🙂
In reply to: How do I add a sidebar to all topics pages?great – glad you’re fixed !
In reply to: Sidebar reappear in topic and topic/Hey don’t worry, code is just a bunch of stuff that either works or doesn’t – and yours now works.
what I couldn’t figure out was why the sidebar was showing, and now that you’ve posted the footer.php I can see why. Strange bit of theme coding to put the sidebar in a footer.php but there are only conventions not rules. All you’ve done by deleting the footer line is stop the sidebar running, which is what you wanted.
The fact that I changed your code also is worrying me since I have absolutely no knowledge about php coding. I mean, I’ve found out there is a something called php coding.
Don’t worry you’ve done nothing wrong, it’s all good.
NOW the only thing you’ll need to do is make a note of all the changes you made. Themes sometimes have updates, and these may overwrite existing files, and in your case may also delete the bbpress.php. So keep copies of any files you have changed or added on your PC.
In reply to: compact bbpressto get rid of avatar
//get rid of the avatar function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) { $author_avatar = ''; return $author_avatar; } /* Add priority (default=10) and number of arguments */ add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
can you give us your url so we can see the lack of search !
In reply to: Sidebar reappear in topic and topic/Ok, not sure if you fixed something or just represhed, but as far as I can see you’re now all working?
In reply to: Sidebar reappear in topic and topic/Hey no need to apologise, it’s often difficult to resolve these things, and it’s not due to your lack of explanation, it will just be something simple that needs fixing !
can you try the following as your bbpress.php
<?php get_header(); // Loads the header.php template. ?> <main <?php hybrid_attr( ‘content’ ); ?>> <?php if ( have_posts() ) : // Checks if any posts were found. ?> <?php while ( have_posts() ) : // Begins the loop through found posts. ?> <?php the_post(); // Loads the post data. ?> <article <?php hybrid_attr( ‘post’ ); ?>> <header class=”entry-header”> <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?> </header><!– .entry-header –> <div <?php hybrid_attr( ‘entry-content’ ); ?>> <?php the_content(); ?> <?php wp_link_pages(); ?> </div><!– .entry-content –> </article><!– .entry –> <?php endwhile; // End found posts loop. ?> <?php else : // If no posts were found. ?> <?php locate_template( array( ‘content/error.php’ ), true ); // Loads the content/error.php template. ?> <?php endif; // End check for posts. ?> </main><!– #content –> <?php get_footer(); // Loads the footer.php template. ?>
In reply to: Help with getting basic plugin to workalso either use or crack open my plugin that does exactly this, you’ll find all the code in there
In reply to: Forum Page does not have link to LoginThanks. But the other problem is
so is the first issue fixed, and how did you do it? or is this part of the same issue?
sounds like you are directing users to a [bbp-login] shortcode not a [bbp-forum-index].
In reply to: Sidebar reappear in topic and topic/ok, it would be good to lose that horrible ad that comes up as I transition every page – it would stop me using your site immediately 🙂
Sorry, this is like trying to fix a car by email – we’ll get to a solution, but I’m not alweays understanding what you are seeing or saying.
The topic and the forum access from the forums permalink to be full width with no sidebar.
So why can’t you use this as you solution?
In reply to: How do I add a sidebar to all topics pages?hmm… suspect that your sidebar.php was a sub template for just showing the sidebar.
There should be a page template in your theme that includes a sidebar. What theme are you using?
In reply to: Different Sidebar for the ForumsHey no problem !
In reply to: compact bbpressThat doesn’t seem to be possible in 2012, which forces a sidebar if you want a search facility, and which consumes a lot of vertical space with the identity of the contributor, including a large avatar.
Good job we’re in 2014 then 🙂
If you switch on the search facility
dashboard>settings>forums and look for search allow forum wide search, you’ll get a search bar at the top of the forums pagefor the avatar size use the following code in your functions file
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) { $author_avatar = ''; if ($size == 14) { $size = 24; } if ($size == 80) { $size = 110; } $topic_id = bbp_get_topic_id( $topic_id ); if ( !empty( $topic_id ) ) { if ( !bbp_is_topic_anonymous( $topic_id ) ) { $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size ); } else { $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size ); } } return $author_avatar; } /* Add priority (default=10) and number of arguments */ add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
The example increase the size, just change to to what you want
see https://codex.bbpress.org/functions-files-and-child-themes-explained/ for how to do that
you can also remove things like keymaster – just come back with what you want – and we’ll try to help you
In reply to: Forum Page does not have link to LoginYour link takes you to a registration page
there are several ways to get a login.
You can use a sidebar and add the login widget
or you can add a login to your menus
or a modal loginIn reply to: My topics side bar is not appearing in my forum?Ok,
Can you confirm that that you actually followed my instructions? Which weren’t to re-install the widget. If you’ve simply done that then you would not have changed any settings (they remain in the database on deletion and are just re-enlivened when the widget is re-installed) and you would still have the problem. If you follow the instructions, this changes settings and in many cases gets it working.
But assuming you haven’t tried to guess what I was trying to get you to do, and have followed the instructions and these didn’t work, then we’ll try approach 2.
This involves installing another plugin and using that to set conditions on the sidebar.
so go to dashboard>plugins>install new and look for ‘widget logic’ by Alan Trewartha and install that.
This lets you set conditions on when a widget appears in the sidebar.
so now in your main sidebar if you look at any widgert you’ll see a new box at the bottom which says widget_logic
for any widgets you want in all your pages including bbpress – just leave this blank
for widgets that you just want in bbpress pages add the logic
is_bbpress()
in the widget logic box
for widgets that you don’t want in bbpress pages add the logic
!is_bbpress()
in the widget logic boxIn reply to: Sidebar reappear in topic and topic/can you post the code from your current bbpress.php
In reply to: bbPress menus not appearing in some of my sites“well, that’s life in the world of WordPress, so live with it”, which is what your first comment conveyed” – yep and it’s what I meant – having coded several plugins, I can with some certainty say that the way you link to wordpress does mean that several people can hook to the same item and affect each other, and no we can’t test all plugins against all other plugins.
But your offer to try and come up with a repeatable problem would be great, and if you can do so I’d be happy to try and look and let you know why a particular plugin is affecting.
However 5 people going to the doctor after having been to the gym doesn’t mean there’s a common problem or that the gym is to blame 🙂
Anyway I look forward to hearing from you when you’ve had a chance to investigate.
In reply to: bbPress menus not appearing in some of my sites‘ Not trying to assign “blame” here, but it seems that this may be a case of where one can’t solve a problem until one admits there really is a problem to be solved. ‘
sounds awfully like you are 🙂
A problem needs a problem definition, so if you can supply a series of repeatable steps which a) create the problem, and then b) eliminate it, I’d be delighted to have a look – by the way I’m not a bbpress developer, just a humble user like you who tries to give back something for what I have gained from this great free software. If you like to help, then that would be great !
I deactivated, deleted, reinstalled, and reactivated the Easy WP SMTP plug-in and tested: same result (below.)
OK, but did you just deactivate the plugin, and then test a forum post. I was keen to see if the problem was being caused by bbpress or the plugin.
@nightcoder – you’re issue may or may not be the same. That’s why I’m keen to get surachar
to see if they have the problem without the plugin.The bit of code you quote is the bit that sets up the variable for the to address, but as far as I can see there’s nothing there that should be causing a problem, it simply strips the http part from the URL as set in wp_options ‘home’.
In reply to: Forum index not ordering topics by Freshnesssorry am busy on a tractor haymaking, so am not on here as much as usual !
I suspect that it is theme related, can you try switching to a default theme such as twentytwelve for a quick test and seeing if the order changes?
Come back and let me know
In reply to: not sending password to new registered memberyou’re welcome