Forum Replies Created
-
AuthorPosts
-
AskitbasketMember
...Okay, I managed to do this myself with bbPress and a few plugins. Here's how I did it, I hope this will be a help to anybody else wanting to acheive a similar thing.
1) After installing bbPress and the bbPress Gensis extend plugin, I installed the bbP Members Only plugin https://wordpress.org/plugins/bbpress-members-only/, I then created a test forum and topic
2) I created a page called 'member login' and put the [bbp-login] shortcode in this page (no menu link for this page)
3) I configured bbP Members Only to redirect non-logged-in users to the above page when they try to access forums
4) I created a menu item which is a custom link, directing to '…/forums'
5) I installed Peter's login redirect https://wordpress.org/plugins/peters-login-redirect/ and configured it to take users directly to '…/forums' when they log in and the home page when the log out
6) I added the Profile Builder plugin https://wordpress.org/plugins/profile-builder/ which creates a front-end version of edit profile that can be added to a page via a shortcode. It also comes with a login widget and settings for hiding the admin bar or toolbar depending on the user-role
7) I created a page with the edit profile short code and added this to the menu. I used another plugin https://wordpress.org/plugins/menu-items-visibility-control/ which allows you to hide the 'edit profile' menu item from users who aren't logged in
8) I had to make a lot of changes to the bbPress default CSS, font sizes in particular. This can be done by putting a file called bbpress.css in 'themename/bbpress/css' (you will have to create the bbpress and css folders). By doing it this way, your changes won't be overwritten by bbPress updates
AskitbasketMember5) I installed Peter's login redirect https://wordpress.org/plugins/peters-login-redirect/ and configured it to take users directly to '…/forums' when they log in and the home page when they log out
6) I added the Profile Builder plugin https://wordpress.org/plugins/profile-builder/ which creates a front-end version of edit profile that can be added to a page via a shortcode. It also comes with a login widget and settings for hiding the admin bar or toolbar depending on the user-role
7) I created a page with the edit profile short code and added this to the menu. I used another plugin https://wordpress.org/plugins/menu-items-visibility-control/ which allows you to hide the 'edit profile' menu item from users who aren't logged in
8) I had to make a lot of changes to the bbPress default CSS, font sizes in particular. This can be done by putting a file called bbpress.css in 'themename/bbpress/css' (you will have to create the bbpress and css folders). By doing it this way, your changes won't be overwritten by bbPress updates
AskitbasketMemberOkay, I managed to do this myself with bbPress and a few plugins. Here's how I did it, I hope this will be a help to anybody else wanting to acheive a similar thing.
1) After installing bbPress and the bbPress Gensis extend plugin, I installed the bbP Members Only plugin https://wordpress.org/plugins/bbpress-members-only/, I then created a test forum and topic
2) I created a page called 'member login' and put the [bbp-login] shortcode in this page (no menu link for this page)
3) I configured bbP Members Only to redirect non-logged-in users to the above page when they try to access forums
4) I created a menu item which is a custom link, directing to '…/forums'
...
October 24, 2014 at 11:08 am in reply to: Column layout went bonkers after using 'regenerate thumbnails' plugin #128984AskitbasketMemberThis reply has been marked as private.AskitbasketMemberI tried is_front_page() and it didn't work by the way
AskitbasketMemberHi Brad
Sorry, I don't understand what you mean ...Did you post that in the wrong thread by mistake?
AskitbasketMemberThis reply has been marked as private.AskitbasketMemberThanks Brad, that is what I have done for the columns, but it is not being restricted to the home page. I have other pages set up to display custom post types that are ending up in three columns with this method.
Here is the code I put in at the end of functions.php
add_filter( 'post_class', 'ca_home_post_column_class' ); function ca_home_post_column_class( $classes ) { if (is_home() ) { global $wp_query; $classes[] = 'one-third'; if ( $wp_query->current_post % 3 === 0 ) $classes[] = 'first'; } return $classes; }
AskitbasketMemberHi Brad, thanks for the reply.
The theme is Education Pro and it includes 'front-page.php'.
...If I include your above code in that file, I assume I'll need to remove the code that I had added to the functions.php file? What can I do about the three column posts display which I am trying to confine to the home page?
October 21, 2014 at 9:44 am in reply to: Creating custom 'staff page' using custom post type and custom fields #128650AskitbasketMemberThanks Brad,
I did find your widget tutorial shortly after I posted this but I was having trouble because I needed the widgets to display my custom post type, a featured image and also my custom fields plus I wanted the page to display four columns of widgets.
I got part of the way there by using the Genesis Sandbox Featured Content Widgets instead of user profile but it had more options than I really needed, I couldn't get it to display my custom fields and it would only display 2 widgets for some reason
October 20, 2014 at 8:56 am in reply to: Posts in 3 columns on home page with images – Education Pro theme #128439AskitbasketMemberBrilliant. I now have images and can control how many posts per page. Thank you!
The only problem I have now is the one mentioned above.
...Just to add to this, it seems as though no "if ( is_home() )" conditional tags are working in my functions.php file. I have another one to remove the posts navigation from the home page that works throughout the site or not at all.
October 20, 2014 at 8:12 am in reply to: Posts in 3 columns on home page with images – Education Pro theme #128436AskitbasketMemberOh, one other issue – this is making my blog pages display in three columns as well, I'd like to display them in one column ideally and just have the home showing three columns.
October 20, 2014 at 4:03 am in reply to: Posts in 3 columns on home page with images – Education Pro theme #128393AskitbasketMemberThank you so much Brad, the column solution worked pefectly. ( I will be tackling the category thing later)
There still a slight problem in that I can't get thumbnails to display along with the posts
Also, sorry I should have mentioned this, there is a '1,2, next page' navigation at the bottom that I'd like to get rid of, I think preferably by limiting the number of posts on the home page to 3 rather than disabling the page navigation – is this possible?
Thanks
AskitbasketMemberThanks Dave,
Yes, you are right the handle was wrong and I have now changed that. As a result I can now override the plugin css but only by putting the code in my child theme css – it is still ignoring the css file I am trying to direct it to.
So far I've not had any joy trying to add a function or an action but i will keep trying.
For your reference, this is where I got the original code from: http://wordpress.stackexchange.com/questions/101037/how-do-i-cleanly-override-a-plugins-css-with-a-child-theme
-
AuthorPosts