Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 23,326 through 23,350 (of 32,561 total)
  • Author
    Search Results
  • #90740
    govpatel
    Participant

    I am using latest wordpress 3.0.1 and default twentyten child theme and all i did was transfer folders using buddypress theme pack and go in menu and create a custom menu and use it as primary menu add all the pages in menu and than create custom links for buddypress like for /activity /members/ /forums and so on and they work fine.

    #90736
    pixelita
    Participant

    Also to get rid of that annoying message, the BP plugin clearly states that you must put the tag “buddypress” in the Tag: section of your theme’s stylesheet, AFTER you have made the suggested changes.

    #90735
    pixelita
    Participant

    When you activate the template, it figures out which is your current theme. It puts its own theme files (found in the buddypress plugin subdirectory themes/bp-default) into your theme’s directory.

    I downloaded the /themes/bp-default files to my hard drive, made the changes there, and then uploaded the files and folders in that directory to my theme, replacing what the BP Template plugin already placed there and it’s working fine and dandy.

    #90711
    dainismichel
    Participant

    yeah, i’d like to do the same thing…

    #90710
    dainismichel
    Participant

    yeah, nested comments don’t seem to indent in the default theme…

    #90690
    BillboardFamily
    Participant

    They work in the twenty ten theme, so it is definitely a theme problem. Can anyone help me figure it out, please?

    #90689
    Roger Coathup
    Participant

    @javipas – you need to be a little clearer on your setup. In the default setup / theme, the activity stream is a separate page, and not something that shows up on individual blogs / blog pages.

    Are you using a custom theme with a custom activity stream, or an activity stream widget in your blogs?

    The standard activity stream loop shows activity across your entire BuddyPress installation. If you want to filter the activity steam to just show comments relating to a specific blog, you can write your own custom activity loop:

    Take a look at this documentation, in particular filtering on the primary_id to just show posts for a specific blog id: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #90674
    Annemarie
    Participant

    Thank you for the fast reply!
    I changed it to the default, and others I had installed and the error went away. Should I try to download the theme again or just avoid it all together?

    #90672
    r-a-y
    Keymaster

    Sounds like a problem with your “Suffusion” theme.

    Can you switch to the BuddyPress Default theme to see what happens?

    modemlooper
    Moderator

    You have to create a new language file or edit the template file post-form.php. If you edit theme files you need to create a child theme so your changes do not get erased when upgrading BP. http://bit.ly/bp-child-theme

    #90656
    modemlooper
    Moderator

    I agree 100% with @Travel-Junkie. Functionality should be a added via plugins however the default theme is a kitchen sink and some networks need to weed out some of the functionality built in.

    “The only exception I can think of is a mobile theme.”

    So true learning this the hard way with my mobile theme. The default theme just doesn’t work well on a mobile screen. It’s got too much functionality. Had to start from scratch and only pull out the content needed. Had to strip all the add actions otherwise any plugin not designed to work with it would break it.

    #90641
    Anonymous User 96400
    Inactive

    I actually think that a (child-) theme should just be generic and not network specific. That should be the job of one or maybe even more plugins. If those plugins all use the normal BP default theme markup, you can use any kind of plugin to create exactly the kind of community you want with exactly the kind of look you want. A theme should stay away from adding functionality as far as possible. The only exception I can think of is a mobile theme.

    #90631
    Paul Wong-Gibbs
    Keymaster

    Hmm it depends how you want your site to work. At the moment, it’s a one group to forum mapping. That means, for each forum (or sub-forum), you’re going to need a group.

    How many (sub)forums on your existing site? If you have more forums than you want BuddyPress Groups created, we need to do some more work to configure your setup to integrate your WordPress into an external bbPress installation. This is not technically easy, and would involve you creating a separate theme for the bbPress site itself.
    A benefit of this approach is that you have full access to a traditional forum look-and-feel (bbPress’).

    If, however, you’re happy with how the one forum to group mapping works with BuddyPress, you’ve already done the installation (i.e. clicked the button that said “use an existing bbPress installation”). What you’ll need to do next is move your users from the bb_users table into wp_users (and usermeta too if you want, but be careful and consider if you need to do that), create some groups and then edit their database entries to point to the existing bbPress tables.

    #90626
    Sofian J. Anom
    Participant

    Buddypress theme as social bookmarking.

    I am interested in the concept of the pressmark theme. I try to modify to make it as a child theme on BuddyPress, But so far not been successful :D. It would be great if anyone can do it. Maybe you, @modemlooper, ;). Not necessarily adopt the Pressmark theme . The point is to make a Buddypress theme for social bookmarking.

    Grakisaurus
    Participant

    I’ve tried the header.php in budypress as well as the one in my Randy Candy theme…but they don’t seem to be there hummmm….

    Stil vaguely new to buddypress as well

    #90581
    Paul Wong-Gibbs
    Keymaster

    Wp-load.php is where the AJAX requests are sent to. Have you included or customised the main js from bp-default? Might be worth stepping through an AJAX request on your theme vs default theme and see what’s up.

    #90576
    zoltok
    Participant

    Ok, thought I’d follow up in case anyone tries to do the same thing.

    Here’s the code that ended up working:

    $user_id = $comment->user_id;
    $isMember = xprofile_get_field_data( ‘Member’, $user_id );
    if ($isMember == “”) {
    } else {
    ?>

    Abonné

    <?php
    }

    No idea how this would be done if you were testing for more than one checkbox though, but for my use (either checked or not), it worked just fine.

    #90567
    govpatel
    Participant

    Looks like you have setup problem try default theme and see you have same problems.

    #90566
    govpatel
    Participant

    @matt have you tried this Theme My Login plugin as it will redirect to login page on your own theme

    #90565
    Hugo Ashmore
    Participant

    It isn’t a BuddyPress site though, is it?

    Support for themes such as that need to go to the relevant theme writer really. This site supports the BuddyPress plugin for WP/WPMS

    #90555
    jimhellas
    Member

    I think I solved it!!! Here’s how, in case anybody else wants to do something similar:

    Step 1: edit “wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js”

    Step 2: Go to line #35 (/* New posts */) and simply copy and paste the the new posts section right after it (line #102)

    Step 3: Change every single value that refers to ids of the original form (e.g. change #aw-whats-new-submit to #mini-aw-whats-new-submit)

    Step 4: Go to the mini-post code on your template and replace the ids. Obviously you have to use the same ids as the ones you created on Step 3

    To make a long story long, here’s my code:
    global.js


    /* MINI-POST */
    /* New posts */
    jq(“input#mini-aw-whats-new-submit”).click( function() {
    var button = jq(this);
    var form = button.parent().parent().parent().parent();

    form.children().each( function() {
    if ( jq.nodeName(this, “textarea”) || jq.nodeName(this, “input”) )
    jq(this).attr( ‘disabled’, ‘disabled’ );
    });

    jq( ‘form#’ + form.attr(‘id’) + ‘ span.ajax-loader’ ).show();

    /* Remove any errors */
    jq(‘div.error’).remove();
    button.attr(‘disabled’,’disabled’);

    /* Default POST values */
    var object = ”;
    var item_id = jq(“#mini-whats-new-post-in”).val();
    var content = jq(“textarea#mini-whats-new”).val();

    /* Set object for non-profile posts */
    if ( item_id > 0 ) {
    object = jq(“#mini-whats-new-post-object”).val();
    }

    jq.post( ajaxurl, {
    action: ‘post_update’,
    ‘cookie’: encodeURIComponent(document.cookie),
    ‘_wpnonce_post_update’: jq(“input#_wpnonce_post_update”).val(),
    ‘content’: content,
    ‘object’: object,
    ‘item_id’: item_id
    },
    function(response)
    {
    jq( ‘form#’ + form.attr(‘id’) + ‘ span.ajax-loader’ ).hide();

    form.children().each( function() {
    if ( jq.nodeName(this, “textarea”) || jq.nodeName(this, “input”) )
    jq(this).attr( ‘disabled’, ” );
    });

    /* Check for errors and append if found. */
    if ( response[0] + response[1] == ‘-1’ ) {
    form.prepend( response.substr( 2, response.length ) );
    jq( ‘form#’ + form.attr(‘id’) + ‘ div.error’).hide().fadeIn( 200 );
    button.attr(“disabled”, ”);
    } else {
    if ( 0 == jq(“ul.activity-list”).length ) {
    jq(“div.error”).slideUp(100).remove();
    jq(“div#message”).slideUp(100).remove();
    jq(“div.activity”).append( ‘

      ‘ );
      }

      jq(“ul.activity-list”).prepend(response);
      jq(“ul.activity-list li:first”).addClass(‘new-update’);
      jq(“li.new-update”).hide().slideDown( 300 );
      jq(“li.new-update”).removeClass( ‘new-update’ );
      jq(“textarea#mini-whats-new”).val(”);

      /* Re-enable the submit button after 8 seconds. */
      setTimeout( function() { button.attr(“disabled”, ”); }, 8000 );
      }
      });

      return false;
      });
      /* MINI-POST */

      and the form for the new “mini-post-form”


      <form action=”<?php bp_activity_post_form_action() ?>” method=”post” id=”mini-whats-new-form” name=”mini-whats-new-form”>

      <?php do_action( ‘bp_before_activity_post_form’ ) ?>

      <textarea name=”mini-whats-new” onFocus=”this.value=”; this.onfocus=null;” id=”mini-whats-new” rows=”2″ cols=”40″>Got something to share?</textarea>

      <div id=”whats-new-submit”>

      <span></span>

      <input type=”submit” name=”mini-aw-whats-new-submit” id=”mini-aw-whats-new-submit” value=”<?php _e( ‘Post’, ‘buddypress’ ) ?>” />

      </div>

      <div id=”whats-new-post-in-box”>

      <?php _e( ‘Post in’, ‘buddypress’ ) ?>:

      <select id=”mini-whats-new-post-in” name=”mini-whats-new-post-in”>

      <option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘buddypress’ ) ?></option>

      <?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) : while ( bp_groups() ) : bp_the_group(); ?>

      <option value=”<?php bp_group_id() ?>”><?php bp_group_name() ?></option>

      <?php endwhile; endif; ?>

      </select>

      </div>

      <input type=”hidden” id=”mini-whats-new-post-object” name=”mini-whats-new-post-object” value=”groups” />

      <?php do_action( ‘bp_activity_post_form_options’ ) ?>

      <?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?>

      <?php do_action( ‘bp_after_activity_post_form’ ) ?>

      </form><!– #mini-whats-new-form –>

      <form action=”<?php bp_activity_post_form_action() ?>” method=”post” id=”mini-whats-new-form” name=”mini-whats-new-form”>
      <?php do_action( ‘bp_before_activity_post_form’ ) ?>
      <textarea name=”mini-whats-new” onFocus=”this.value=”; this.onfocus=null;” id=”mini-whats-new” rows=”2″ cols=”40″>Got something to share?</textarea> <div id=”whats-new-submit”> <span></span>   <input type=”submit” name=”mini-aw-whats-new-submit” id=”mini-aw-whats-new-submit” value=”<?php _e( ‘Post’, ‘buddypress’ ) ?>” /> </div>
      <div id=”whats-new-post-in-box”> <?php _e( ‘Post in’, ‘buddypress’ ) ?>:
      <select id=”mini-whats-new-post-in” name=”mini-whats-new-post-in”> <option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘buddypress’ ) ?></option>
      <?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) : while ( bp_groups() ) : bp_the_group(); ?> <option value=”<?php bp_group_id() ?>”><?php bp_group_name() ?></option> <?php endwhile; endif; ?> </select> </div> <input type=”hidden” id=”mini-whats-new-post-object” name=”mini-whats-new-post-object” value=”groups” />

      <?php do_action( ‘bp_activity_post_form_options’ ) ?>
      <?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?> <?php do_action( ‘bp_after_activity_post_form’ ) ?>
      </form><!– #mini-whats-new-form –>

    Paul Wong-Gibbs
    Keymaster

    Hmm. Looks like the plugin is active at the moment (I see a javascript include). I also see a lot of other plugins; if you’ve got a test server I suggest disabling all the plugins other than BuddyPress and seeing if it works. I suspect this is likely due to a conflict.

    Another idea is, when you previously ran the BP Template Pack, did you restore your theme’s files to defaults? e.g. removed the BuddyPress stuff it added. Also, as far as I’m aware, you can disable the BP Template Pack — it’s a once-off thing.

    #90539
    Sam
    Participant

    @M What is this custom theme code and where can I learn more about it? Thanks.

    @pcwriter Thanks! I will look into it. any other suggestions?

    #90535
    pcwriter
    Participant

    The s2member plugin can help you achieve much of what you have described.
    http://www.primothemes.com/post/s2member-membership-plugin-with-paypal/

    #90528
    Mark
    Participant

    All of it is possible. Most of it is done via custom theme code, but some might need some plugin code.

Viewing 25 results - 23,326 through 23,350 (of 32,561 total)
Skip to toolbar