Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 15 replies - 51 through 65 (of 65 total)
  • @leog371

    Participant

    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.

    @leog371

    Participant

    if 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..

    @leog371

    Participant

    Ok, 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');
    
    ?>

    @leog371

    Participant

    ok, gimmie just a few minutes

    @leog371

    Participant

    I 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.

    Login Modal Demo Site Click Here

    @leog371

    Participant

    Ok, 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”

    @leog371

    Participant

    This 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;
    }
    

    @leog371

    Participant

    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.

    @leog371

    Participant

    add margin-bottom:10px to the class of each posts container

    Basically 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 Pages

    @leog371

    Participant

    I 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?

    @leog371

    Participant

    you 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.

    @leog371

    Participant

    I 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>

    @leog371

    Participant

    Its 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?

    @leog371

    Participant

    @leog371

    Participant

    Thanks 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.

Viewing 15 replies - 51 through 65 (of 65 total)
Skip to toolbar