Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,126 through 24,150 (of 94,549 total)
  • Author
    Search Results
  • #187264
    danbp
    Participant

    Hi @heatherkirk,

    if you installed BuddyPress, what is the forum you use ?

    BuddyPress Components and Features

    #187263
    luchadorvader
    Participant

    So right now I have a website where there two types of groups and I have a separate loops going on in separate page templates to see the list of those groups. But I want to create a search bar so the people can filter those groups based on the search term. Right now I have this code in here

    	if(!empty( $_REQUEST['s'] )) {
    		 $search_value = stripslashes( $_REQUEST['s'] );
    		 
    		 echo 'Search Value: '.$search_value;
    		 
    		 $meta_query['search_terms'] = $search_value;
    	 }
    	 ?>
    
     	<form action="http://website.com/group2" method="post" id="search-groups-form">
     			<label><input type="text" name="s" id="groups_search" placeholder="Search Groups..."></label>
     	</form> 
    	<?php if ( bp_has_groups($meta_query) ) : ?>

    And it sorta works as in certain key words will display a few results while other keywords will redirect it to a 404 page. I’m really lost and I unfortunately have a basic knowledge of GET and POST. I was wondering if anyone has advice on how to tackle this problem and if I’m going in the right direction. I don’t want to use the buddypress search groups form due to the fact that it will filter through all of the groups.

    #187262
    heatherkirk
    Participant

    Actually, I have buddypress installed, rather than bbpress :-). I had a look for buddypress associated widgets, but did not find what I was looking for.

    Henry Wright
    Moderator

    Hi @laxmanvel

    This functionality isn’t available in BuddyPress by default. You may have some luck searching the WP plugin repo although I haven’t seen anything like this myself. Let us know if you find anything!

    #187254
    danbp
    Participant

    I need a pages for members that will let them send each other messages

    if you enable BP’s Private message component, the built-in message system will let each user send message to other members.
    https://codex.buddypress.org/buddypress-components-and-features/messages/

    Except if i misunderstood you, i don’t see the utility to add an extra page for this.

    Depending of which plugin you use to manage events, a subscribe to event page is most probably included in the plugin.

    If messaging and event are your only need, you’re going overcomplicated for the moment. The only thing you have to do, i think, is to install correctly a theme and to check that BP is showing properly on it.

    Once done, you can eventually customize the theme. But only if it doesn’t fit exactly with a event plugin. For the messages, if BP is ok, messages will be also ok.

    Foundation first. The house after and the wallpaper at the end of the end !

    #187253
    MrMarkG
    Participant

    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

    #187251

    In reply to: register.php

    sachin550
    Participant

    Thank you @mercime for you reply !! i have modified both the files with my custom text but still getting the same default message !!

    Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.

    plugins/buddypress/bp-themes/bp-default/registration/register.php
    bp-templates/bp-legacy/buddypress/members/register.php

    thank you

    laxmanvel
    Participant

    Hi,
    I’m developing wordpress site with buddypress forum plugin.
    I’m stuck in one problem. when i compose message it’s only send.
    so i like to add extra field as drafts in compose message area.

    how will i do it?
    where will i find it?
    will you send me code snippets for it.!

    I’m developing clone site from http://www.quora.com

    will you analyze quora compose message area.!

    Kindly reply my problem.!

    advance thanks for reply my query…

    – LaxmanveL

    #187243

    In reply to: register.php

    @mercime
    Participant

    For this i have modified /wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php

    @sachin550 Are you using the BP Default theme or a child theme of BP Default? If not, then you should not modify that file. Instead, create a child theme of your WP theme of choice, create a folder named buddypress in that child theme folder and copy over https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-legacy/buddypress/members/register.php following the directory structure and revise it.

    #187242

    In reply to: register.php

    sachin550
    Participant

    Thank you for your reply !! i have tried with both files

    plugins/buddypress/bp-themes/bp-default/registration/register.php
    bp-templates/bp-legacy/buddypress/members/register.php

    But still i am getting same

    Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.

    Where this line are calling from ?

    #187239

    In reply to: Edit BP Pages

    @mercime
    Participant
    #187238
    @mercime
    Participant

    but that doesn’t work right

    @gregfielding What exactly doesn’t work right? No styles or a blank page or error? Have you checked out the articles listed at https://codex.buddypress.org/themes/theme-compatibility-1-7/?

    gregfielding
    Participant

    I’m using a bootstrap-based theme with buddypress as a plugin and everything functions perfectly, but I want to change some of the page layouts.

    I’ve done this before using a child of bp-default, but how do I do it with a different parent theme?

    I’ve tried simply using the same file/folder structure that’s in the plugin:

    “buddypress/members/single/home.php” but that doesn’t work right.

    What’s the trick?

    http://zidi.5giants.com

    Thanks!

    #187234
    gabrieldespinoza
    Participant

    Hi, I’m using the latest version of Buddypress and BBpress on my site. The theme I use has a forum within a group.

    When you click on the name of a group, it directs you to the group forum first (which I actually like), however, after clicking “Join Group,” it then redirects from the forum to the group instead of group forum again.

    SO my question is, how can I make to where once a person clicks “join group” it keeps them on the groups forum instead of the group with the activity?

    Thank you.

    #187232
    danbp
    Participant

    I guess the top right name is made with echo $user->display_name;

    As you added an ELSE clause after the UL end tag, it would probably be better to hide the whole UL to avoid html errors to not logged visitors.

    Invert

    <ul class="nav navbar-nav navbar-right">
    	  <?php if ( is_user_logged_in()) : 

    to this

    <?php if ( is_user_logged_in()) : 
    <ul class="nav navbar-nav navbar-right">

    You have a page.php in the wordpress themes (2012, 2013, 2014).

    You make a copy and rename it buddypress.php and load it into your custom theme.

    If not already done, i recommend you to read attentively this on WP codex:
    https://codex.wordpress.org/Theme_Development
    and also this

    BuddyPress Theme Development

    Theme Compatibility & Template Files

    #187229

    In reply to: register.php

    aces
    Participant
    #187225
    MrMarkG
    Participant

    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

    Stingray1972
    Participant

    I have 21 groups that i need to set a specific sidebar for. How can i do this? The info needs to be different on each groups sidebar. Is there a wAy that this can be done without hard coding and if it needs to be coded how do i do this? I am very new to php and buddypress so a real clean (for idiots) response would be great.

    Thanks

    #187223

    Topic: register.php

    in group forum Installing BuddyPress
    sachin550
    Participant

    Hey guys !! i want to modify the lines given bellow

    Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.

    For this i have modified

    /wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php

    and line

    <h2><?php _e( 'Create an Account', 'buddypress' ); ?></h2>
    
    				<?php do_action( 'template_notices' ); ?>
    <p><?php _e( 'Join PushkarGuide.com - share your experience, thoughts about this pretty town Pushkar (INDIA).', 'buddypress' ); ?></p>
    

    But i am still getting the same on register page

    Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.

    Why this is so ?

    thank you

    #187210
    Cyril Batillat
    Participant

    Thanks @henrywright

    I have managed to add additional fields on comment form. Now my goal is to pass the values of these new fields in the ajax call, to be able to use some hooks like ‘bp_activity_comment_posted’ and more…
    That’s why I’m asking the best way to pass additional data.

    Thanks you for directing me on Trac, I created a new ticket.

    #187209
    Henry Wright
    Moderator

    Hi @cyrilbatillat

    What data were you planning on passing?

    I don’t want to modify the core of BuddyPress, so is there an other way to do this ?

    No but you could try asking the guys over at Trac if they could extend what data can be passed. If they agree, the changes usually take a minor version or two to make it into core but until then you could apply the patch to your own installation.

    #187208
    Cyril Batillat
    Participant

    Hi,

    I’m quite new to BuddyPress.
    I’m trying to extend activity comment posting possibilities.

    Looking at buddypress.js, the data sent to wp-ajax.php is witten like this :

    
    var ajaxdata = {
        action: 'new_activity_comment',
        'cookie': bp_get_cookies(),
        '_wpnonce_new_activity_comment': jq("#_wpnonce_new_activity_comment").val(),
        'comment_id': comment_id,
        'form_id': form_id[2],
        'content': content.val()
    };
    

    I would like to be able to interact on these parameters, via a filter or whatever, to pass new parameters (additionals fields).
    I don’t want to modify the core of BuddyPress, so is there an other way to do this ?

    Thanks

    Henry Wright
    Moderator

    If you’re using BuddyPress 2.0.2 with WordPress 3.9.2 with no plugins activated or even installed in the plugin folder and the Twenty Fourteen theme enabled then everything should work fine as this is a tried and tested combo. The only variables left are a) your server and b) your database.

    Perhaps try rolling back your database? And also make sure there has been no changes on your server since you noticed the issue.

    Henry Wright
    Moderator

    @micasuh humm. Perhaps try grabbing a fresh copy of the BP plugin code? https://wordpress.org/plugins/buddypress/

    Something may have become corrupted in the actual plugin.

    Henry Wright
    Moderator

    @micasuh the .mo file is most likely being loaded from your theme’s functions.php file. Alternatively, it may be loaded from a plugin. Or, maybe even bp-custom.php (if you have one of those).

    Look for something such as the following and try removing it to see if it resolves the issue:

    if ( file_exists( WP_LANG_DIR . '/buddypress-en_US.mo' ) ) {
        load_textdomain( 'buddypress', WP_LANG_DIR . '/buddypress-en_US.mo' );
    }

    If it doesn’t resolve the problem then we know your translation file is OK.

    If you still believe the issue is a virus in your database then you could try rolling back. Do you keep database backups? But, to be honest, I’m more inclined to think this is occurring as a result of some rogue theme or plugin code.

Viewing 25 results - 24,126 through 24,150 (of 94,549 total)
Skip to toolbar