Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • MrMarkG
    Participant

    @mrmarkg

    Understood. I’ve managed to create a blank buddypress.php and I’m putting the various loops on it so they can have their look and feel changed.

    Hopefully I might even have something to show you in a few weeks 😉

    Mark


    MrMarkG
    Participant

    @mrmarkg

    Hi Dan,

    So I have already got BP up and working. I used BP Default Data and I can have dummy users messaging each other so I’m pretty confident BP works OK.

    I’m now just trying to work out which BP templates/pages I need to style to get the BP page(s) looking like the static WP pages.

    Then I’ll add plugins like Paid Membership Pro or Event Espresso for the paid memberships and event pages. And then more styling probably…

    Does that explain better what I am up to?

    Thanks again,

    Mark


    MrMarkG
    Participant

    @mrmarkg

    Henry – thanks for spotting that. I’ll fix it.

    DanBP – maybe if I explain what I am trying to do, you can explain whether I am veering of course or not.

    Basically I am creating a paid membership site. I will have 4-5 pages outside of BP (that I am currently using regular WP for) that will advertise the site, then I need a pages for members that will let them send each other messages and also sign up for events. If I understand what you are saying, I would then have one page called “buddypress.php” that would manage this functionality?

    Many thanks for your help. I’ll read the links you sent me and I’m also working my way through BuddyPress Theme Development as I have a Safari Account via work.

    Regards,

    Mark


    MrMarkG
    Participant

    @mrmarkg

    Is there an example page.php or buddypress.php in the BP install that I could copy into my theme? I didn’t see one.

    The name on the top right comes from my own toolbar which uses bootstrap styles:

      <nav class="navbar navbar-default" role="navigation">
      <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        </div>
    
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-inverse navbar-fixed-top" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
    	    <?php wp_list_pages(array('title_li' => '')); ?> 
          </ul>
    	  <ul class="nav navbar-nav navbar-right">
    	  <?php if ( is_user_logged_in()) : 
    			  // get the currently logged-in user
    			$user = wp_get_current_user(); ?>
    			<li><a href="<?php echo bp_loggedin_user_domain(); ?>"">
    			<button type="button" class="btn btn-info">
    			<span class="glyphicon glyphicon-envelope"></span> 
    			<span class="badge"><?php bp_total_unread_messages_count() ?></span>
    			</button>
    			<?php // echo the user's display_name
    			 echo $user->display_name; ?>
    			 
    			  </a>
    			</li>
    			</ul>
    	  <?php else: ?>	
          <form class="navbar-form" role="login">
            <div class="form-group">
              <input type="text" class="form-control" placeholder="User Name">
    		  <input type="text" class="form-control" placeholder="Password">
            </div>
            <button type="submit" class="btn btn-default">Login</button>
          </form>
    	  </ul>
    	    <?php endif; ?>

    Again, if I’m doing the toolbar wrong, let me know, but I have a very particular style guide I need to use.

    Thanks very much!

    Mark


    MrMarkG
    Participant

    @mrmarkg

    Thanks Dan – that has got me a lot further forward.

    I have a new query but I’ll start a new post for that.

    Regards,

    Mark

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar