Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 14,851 through 14,875 (of 20,259 total)
  • Author
    Search Results
  • #69775
    stwc
    Participant

    Things seem to be working, Boone, but the Big Hope that I had, inlining, isn’t working for me, still, sadly.

    Couple of use-case notes that I hope will help you wrangle stuff:

    1) Editing a comment with an attachment (image, in this case) shows browse buttons to add new attachments, but no sign of the image already attached before the Edit.

    2) Editing a comment and trying to add another attachment doesn’t actually add the new one.

    I’m doing this on a localhost.localdomain XAMMP install — don’t think that should matter, but just in case, I thought I’d mention.

    kriskl, the very latest versions of this and the Forum Extras plugin are working for me in tandem (or at least, not broken other than what I mention above). Quote works fine — don’t have any other the other subplugins enabled other than the wrapper.

    #69774
    stwc
    Participant

    Couple questions about the Quote plugin:

    1) Hitting the ‘Quote’ button populates the textarea with the text of the entire post being quoted, rather than just selected text. Is that the intended functionality?

    2) Quoting a post that already quotes something (the much-feared QUOTE PYRAMID, or at least the beginning of one) doesn’t work (it populates the [cite] but not the [blockquote])… again wondering if that’s by design or not.

    #69773
    stwc
    Participant

    Found the conflict I mentioned earlier — it was Boone’s old Forum Attachments for Buddypress (at version 0.1). The latest version (0.2.2) works fine, and all is well (so far).

    Thanks to both of you!

    #69765
    rich! @ etiviti
    Participant
    #69758
    r-a-y
    Keymaster

    Ahh I see what you’re doing there!

    I requested a new action before the topics loop so something like a group listings loop can go right there:

    https://trac.buddypress.org/ticket/2139

    #69755
    rich! @ etiviti
    Participant

    fixed (wp acting up on media stuff)

    #69753
    r-a-y
    Keymaster

    Link to attachment is broken.

    Looking forward to your progress, Rich!

    #69750
    rich! @ etiviti
    Participant

    I made a little progress on a forums index listing

    then the Forums page sub-nav tabs would look like this:

    the only action that will add something to the forums directory component subnav is <?php do_action( 'bp_forums_directory_group_types' ) ?> which forces use of the ajax bp_has_forum_topics( bp_ajax_querystring( 'forums' ) )

    so i decided to hook on <?php do_action( 'bp_directory_forums_content' ) ?> or do_action( 'bp_after_directory_forums_list' ) both below the topic listings. the first action will display the forum index on all subnav ajax tabs (all topics, my topics, and tabs) the later will only display on the forums directory page until a subnav tab is clicked.

    http://files.etiviti.com/misc/buddypress/bp-forum-extras-forum-index.gif

    #69728
    Gianfranco
    Participant

    Standard WP – Getting rid of the “subdirectory” in permalinks when WP is installed in a subdirectory

    Create a file called “bp-custom.php” in wp-content/plugins.

    Paste this:

    function my_bp_override_core_domain() {
    $domain = get_bloginfo('url');
    return $domain;
    }
    add_filter('bp_core_get_root_domain','my_bp_override_core_domain');

    Now, instead of having: mysite.com/subfolder/activity, you have: mysite.com/activity.

    via https://buddypress.org/forums/topic/permalinks-setup-with-wp-intalled-in-subdirectory-and-indexphp-in-root#post-43767

    #69720
    r-a-y
    Keymaster

    If you have a backup of your files and DB, you can always revert, but I guess it’s too late for that.

    Anyway, because this sounds like a WPMU problem, you might want to head on over to the WPMU forums and explain your case there:

    https://mu.wordpress.org/forums

    How did you make the move to WPMU? That could be the problem.

    Also does this problem occur if you use the default BP theme?

    #69699
    avi-m
    Participant

    Hey boon I tired your plugin again and Still not working for me. I think I will just give up this one for a while as it would the cosmos doesn’t want me using it just now.

    However I thought I would share the error messages in case they are of use.

    Warning: Variable passed to each() is not an array or object in /home/jewsbych/public_html/wp-content/plugins/forum-attachments-for-buddypress/forum-attachments-for-buddypress-bp-functions.php on line 461

    #69691
    @mercime
    Participant

    Used this in WP installation and is working in WPMU/BP

    https://wordpress.org/extend/plugins/bbpress-latest-discussion/

    #69687
    chembro303
    Member

    works like a charm now! Thanks guys!

    #69683
    3sixty
    Participant

    hmm, getting there… I changed the first check to

    if ( $bp->current_component == $bp->forums->slug || $bp->current_component == '' ) {

    That actually sets up the front page to a forum page, so not exactly what we need. Will continue to look at that function and see what can be tweaked.

    Thanks for the lead!

    #69675

    In reply to: Translation PT-BR

    brasilcanadasite
    Participant

    i just saw it now it’s doing the same on the forum! it was supposed to be a word with accent! not those characters

    #69664
    rich! @ etiviti
    Participant

    no problem! sorry I didn’t catch the thread earlier – had an away-from-the-computer vacation.

    #69660
    rich! @ etiviti
    Participant

    have a look at the function function bp_forums_directory_forums_setup() { which inserts the code to catch a new topic posts.

    Unfortunately the first check is if ( $bp->current_component == $bp->forums->slug ) { so if you place the post new topic code on a different section it will fail.

    though you could mimic that function for your own needs

    #69659
    Boone Gorges
    Keymaster

    Dang it, rich, you beat me to posting here! I found this error about 5 minutes ago and checked a new version into the repo.

    Thanks so much for following up!

    Boone

    #69658
    rich! @ etiviti
    Participant

    boone,

    super fast look

    if (isset($_GET["new"]) || $bp->current_component == BP_FORUMS_SLUG || $bp->current_action = 'forum' ) {

    is causing the issue – specifically $bp->current_action = 'forum' – if i remove this the conflict no longer exists. you forgot the extra == :P

    #69653
    rich! @ etiviti
    Participant

    i got a busy monday to catch up on work – but i’ll install the attachments plugin today and see what i can find out.

    #69652
    foxly
    Participant

    Good morning everyone!

    Here’s the “Monday Beta”.

    http://foxly.ca/bp-album-2010-03-22-BETA.zip

    Now, a few important points about this release:

    1) This is a BETA with a capital “B”. The “core” works, but many of the config options are still being set by hard-coded values. We figured you’d like something ugly that works more than you’d like something pretty that does nothing.

    Unless you see something bad in the actual source code, please do not post to the forum saying “Feature X doesn’t work”. We’ll have a release out later in the week you can do that with! :)

    2) The purpose of this release is to:

    a) Demonstrate that we now have “multiple album” capability working.

    b) Demonstrate that we have “member tagging” and “keyword tagging” working.

    c) Demonstrate that we have disk-based image caching working

    d) Introduce you to the concept of dynamically generated albums, based on tags

    3) This release does NOT have a database upgrade routine written for it. To get it working, delete your bp-album plugin directory, copy these files in its place, deactivate the plugin, and then reactivate it.

    If that *still* doesn’t work, and you are experimenting on a TEST INSTALL, drop the “bp_album” and “bp_album_meta” tables from your database, then deactivate and reactivate the plugin.

    4) To evaluate the beta:

    a) Upload ten photos to your album using the “upload photo” option.

    b) Click on a photo you have uploaded, select “edit” and then add the tag “test 1” to the tag field.

    c) Repeat for several other photos, using “Test 2, Test 3…, etc”

    d) Go back to the main album screen. Note that on the upper right-hand side of the plugin canvas, photos have been arranged into albums based on the tags you have assigned them. Click on the text links to view them.

    e) Click on any of your uploaded photos, click on the “edit” link, enter one or more user’s names in the “Member tags” field.

    f) Log in as one of the users you have tagged, navigate to the photo that was tagged, and note that the active member is now tagged in that photo.

    g) Go back to the main album page. Click on a different photo. Note how the second member can tag themselves in this photo.

    This demonstration only shows a few of the things the plugin can do. It also has the ability to tag based on X/Y coordinates like Flicker and Facebook do, and it has the ability for photo owners to remove unwanted tags and members to un-tag themselves from people’s photos.

    5) We’ll have a much better beta out by Thursday or Friday with a proper GUI on it. In the meantime, we hope you enjoy this beta and take the opportunity to experiment with the many new features we’re introducing!

    ^F^

    Bowe
    Participant

    Here is my Sidebar which does exactly what you want: Show different sidebars on different BP sections of the site.. It does not work 100% (blog sidebar does not show up yet) but it should get you started. You use BP conditional tags to show/hide the different sidebars depending where the user is on the site:

    <?php do_action( 'bp_before_sidebar' ) ?>

    <div id="sidebar">

    <div class="padder2">
    <?php
    locate_template( array( 'accordeon.php' ), true );
    ?>
    <?php do_action( 'bp_inside_before_sidebar' ) ?>
    <?php if ( is_user_logged_in() ) : ?>

    <?php do_action( 'bp_before_sidebar_me' ) ?>

    <?php endif; ?>

    <?php /* Show forum tags on the forums directory */
    if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>
    <div id="forum-directory-tags" class="widget tags">

    <h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3>
    <?php if ( function_exists('bp_forums_tag_heat_map') ) : ?>
    <div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div>
    <?php endif; ?>
    </div>
    <?php endif; ?>

    <div class="padder3">

    <?php if(bp_is_group()){
    if(!dynamic_sidebar("Group Sidebar")){?>
    <?php }
    }
    else if(bp_is_member()){
    if(!dynamic_sidebar("Profile Sidebar")){ //if user profile etc
    ?>
    <?php
    }
    }
    else if(bp_is_blog_page() || bp_is_directory()){
    if(!dynamic_sidebar("Blog Sidebar")){?>
    <?php } }
    else dynamic_sidebar( 'Sidebar' )?>
    <?php dynamic_sidebar( 'sidebar' ) ?>
    </div>

    <?php do_action( 'bp_inside_after_sidebar' ) ?>
    <?php /* Show forum tags on the forums directory */
    if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>
    <div id="forum-directory-tags" class="widget tags">

    <h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3>
    <?php if ( function_exists('bp_forums_tag_heat_map') ) : ?>
    <div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    </div><!-- .padder -->
    </div><!-- #sidebar -->

    <?php do_action( 'bp_after_sidebar' ) ?>

    Make sure to register the sidebars in your functions.php (of your child theme)

    if (function_exists('register_sidebar')) {
    register_sidebar(
    array(
    'name' => 'Blog Sidebar',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    register_sidebar(
    array(
    'name' => 'Profile Sidesbar',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    register_sidebar(
    array(
    'name' => 'Group Sidebar ',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    register_sidebar(
    array(
    'name' => 'Left Footer',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    register_sidebar(
    array(
    'name' => 'Middle Footer',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    register_sidebar(
    array(
    'name' => 'Right Footer',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    )
    );
    }

    #69629
    r-a-y
    Keymaster
    #69627
    5887735
    Inactive

    Just wanted to add I had the same conflict with Forum Attachments.

    #69624
    3sixty
    Participant

    Thank you! This is very powerful.

    I customized it to exclude blog comments and forum comments:

    if ( $activity->type == ‘new_blog_comment’ || $activity->type == ‘new_forum_post’) {

Viewing 25 results - 14,851 through 14,875 (of 20,259 total)
Skip to toolbar