Forum Replies Created
-
In reply to: How to re-direct Login page
Lol, 🙂 well now your asking for the whole boxed lunch, lol.
Um well ok, lets see here.
first I created a bp-templates directory in my themes buddypress directory. I then created a file called login widget. On that file I went to bootstraps modal and added that in there and then simply broke down the buddypress login form into it.
I called this into my main nav area using get_template_part in a <a href link. Its kind of time consuming but its really easy to do. To try to break it down piece by piece would take a while.In reply to: How to not show Members until after loginif your making a membership based wedsite there are several plugins that do this for you. I use two or 3 based upon what type of memberships are offered. If its a paid feature site you might try S2 Member. If its not a paid feature site then there are ones like Simple Buddypress profile Privacy and others like it that kill that function.
Or you could simply code it into your functions file. I generally do a inc file and include it using require in my functions file..In reply to: question on what a member seesOk, in your plugins directory, create a file called bp-custom.php or “if you have one all ready” add this line to it
add_filter('show_admin_bar', '__return_false');that should be inside php tags or it wont work. Like this
<?php /* Inside with any other code you might have in this file */ add_filter('show_admin_bar', '__return_false'); ?>In reply to: question on what a member seesok, gimmie just a few minutes
In reply to: How to re-direct Login pageI am building a dating site theme for a guy now, I simply created a drop down login modal. Check it out here.
Please be aware this is only up to show you, its not complete and I am actually building most of it on my local host. this is only to show you the working modal.
In reply to: question on what a member seesOk, so basically this toolbar that you are seeing on the top of your site when you login with your new user account is not really a full admin dashboard bar. It only links to the part of the back end dashboard that allows the user to edit his profile in the back end. Nothing else can be messed with by anyone but the admin. Try it out and experiment with it. you’ll see.
Also, if you want to turn that feature off, simply login to the back end as admin, go to “settings” / “buddypress” and on the 3rd tab “Options”, simply deselect “Show the Toolbar for logged out users”
In reply to: Styling in (BuddyPress) Members widgetThis needs to go in a stylesheet in your theme. I simply used the color #333 as an example. The “!important” makes it more relevant and makes it work.
.item-title .fm{ color:#333 !important; }In reply to: Placing ad underneath item-header?Make sure you have a buddypress directory in yo9ur theme root. In that directory add a directory called single. In that directory make a file called cover-image-header.php. On that file go to somewhere around line 86 or wherever this part is where the closing divs are.
` </div><!– #item-header-content –></div><!– #item-header-cover-image –>
Right Here ——<<<<
</div><!– #cover-image-container –>`
See where I added “Right Here —-<<<” in the code. Put your container there and place any ad you want in it. If you want rotating ads or switch case adds then simply add the code for them inside your new container.
In reply to: Break effect after activity post?add
margin-bottom:10pxto the class of each posts containerBasically like this…. If this is your post or activity container for example
<div id="activity-stream" class="activity-list item-list"> <?php endif; ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php bp_get_template_part( 'activity/entry' ); ?> <?php endwhile; ?> <?php if ( bp_activity_has_more_items() ) : ?> <div class="load-more"> <a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a> </div> <?php endif; ?> <?php if ( empty( $_POST['page'] ) ) : ?> </div>Look at the first div
” Note: I changed it from Ul’s and Li’s for my purposes but would probably work better ads divs for your case as well”
<div id="activity-stream" class="activity-list item-list">in stylesheet add something like this
margin-bottom:10px;to the class activity-list item-list
In reply to: 404 Error on PagesI see that you are using the themes franz-josef and education-hub. I looked thru your code and everything looks fine. Have you reached out to the theme creators for help?
In reply to: Cant edit or change profile fieldsyou can use the plugins “BP-footer-debug, theme check and health check” to see problems with your site. It might also help to enable debug in your wp-config file and have it output to file or simply display onscreen. You might see a few errors in code that you can easily fix.
In reply to: BP Multiline Text Box AlignmentI did notice that every word is capitalized here, There could be a hook or filter doing that. try typing it in with out all the caps. It should be displaying like this.
<p> testing this section</p>In reply to: BP Multiline Text Box AlignmentIts adding breaks between the words. Here is the output of your text.
<p>Testing<br> This<br> Section</p>So basically its breaking a new line for every word. Are you adding <br> between the words?
In reply to: Remove birthday from Members DirectoryIn reply to: Buddypress registration form and profile fieldsThanks Henry, I appreciate the help but this plugin does not go beyond one tier into a conditional and therefor is basically useless for this application. I do see the potential with this in future projects but as of now, It will not suffice. Thanks anyways.