Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 85 total)
  • @korhanekinci

    Participant

    Ok, I did not explain this well. I want members to continue creating and participating groups. I want them to write on the group wall and want to use the group blog plugin. I do not want the group forum feature.

    In my case, I already have 26 groups and will probably end up with hundreds of groups within 3-4 months. This messes the bbpress forum pages with hundreds of forums created!

    I also want to keep bbpress forums as simple as possible (up to 15 forum topics).

    Having said that, is it possible to disable group forum feature but keep bbpress forums without editing core files? If it is necessary to edit the core files, can someone help find the simplest solution?

    @korhanekinci

    Participant

    Thanks Jeff, I created Ticket #924 for this issue.

    @korhanekinci

    Participant

    Any ideas on this please? I have turkish characters not displayed correctly in the bbpress forum side (domain.com/forum/topic/topic-name), but displayed ok from the group forum page (domain.com/groups/group-name/forum/topic/topic-number) – for that specific topic.

    Again, when posted from bbpress side turkish chracters are displayed ok.

    Strange problem!?!

    @korhanekinci

    Participant

    Ok Kunal replace this part:

    <?php
    if ( function_exists('wp_logout_url') ) {
    $logout_link = '/ <a href="' . wp_logout_url( $bp->root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    } else {
    $logout_link = '/ <a href="' . $bp->root_domain . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    }

    echo apply_filters( 'bp_logout_link', $logout_link );
    ?>

    With This:

    <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>

    And that should solve the logout issue.

    @korhanekinci

    Participant

    El_Terko, I am not sure but you might have a problem with Gigya on the bbpress side and especially with member blogs. Please share your experience with both Gigya and IntenseDebate.

    @korhanekinci

    Participant

    For some how the code above did not go through correcty, I will paste the first part again:

    <div id="search-login-bar">

    <?php if ( is_user_logged_in() ) : ?>

    <div id="logout-link">
    <?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?> &nbsp;
    <?php bp_loggedinuser_link() ?>
    <?php
    if ( function_exists('wp_logout_url') ) {
    $logout_link = '/ <a href="' . wp_logout_url( $bp->root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    } else {
    $logout_link = '/ <a href="' . $bp->root_domain . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    }

    echo apply_filters( 'bp_logout_link', $logout_link );
    ?>

    <?php do_action( 'bp_login_bar_logged_in' ) ?>
    </div>

    <?php elseif ( get_option('users_can_register') ) : ?>

    <form name="login-form" id="login-form" action="<?php echo $bp->root_domain . '/wp-login.php' ?>" method="post">
    <input type="text" name="log" id="user_login" value="<?php _e( 'Username', 'buddypress' ) ?>" onfocus="if (this.value == '<?php _e( 'Username', 'buddypress' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e( 'Username', 'buddypress' ) ?>';}" />
    <input type="password" name="pwd" id="user_pass" class="input" value="" />

    <input type="checkbox" name="rememberme" id="rememberme" value="forever" title="<?php _e( 'Remember Me', 'buddypress' ) ?>" />

    <input type="submit" name="wp-submit" id="wp-submit" value="<?php _e( 'Log In', 'buddypress' ) ?>"/>
    <input type="button" name="signup-submit" id="signup-submit" value="<?php _e( 'Sign Up', 'buddypress' ) ?>" onclick="location.href='<?php echo bp_signup_page() ?>'" />

    <input type="hidden" name="redirect_to" value="http://<?php echo $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ?>" />
    <input type="hidden" name="testcookie" value="1" />

    <?php do_action( 'bp_login_bar_logged_out' ) ?>
    </form>
    <?php endif // get_option('users_can_register') ?>

    <div class="clear"></div>
    </div>

    @korhanekinci

    Participant

    Hi Kunal17, I use prologue theme as default user theme and I also wanted to keep the login form on top, so I added this to the header of the prologue theme:

    <div id=”search-login-bar”>

    <?php if ( is_user_logged_in() ) : ?>

    <div id=”logout-link”>

    <?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?>  

    <?php bp_loggedinuser_link() ?>

    <?php

    if ( function_exists(‘wp_logout_url’) ) {

    $logout_link = ‘/ root_domain ) . ‘”>’ . __( ‘Log Out’, ‘buddypress’ ) . ‘‘;

    } else {

    $logout_link = ‘/ root_domain . ‘/wp-login.php?action=logout&redirect_to=’ . $bp->root_domain . ‘”>’ . __( ‘Log Out’, ‘buddypress’ ) . ‘‘;

    }

    echo apply_filters( ‘bp_logout_link’, $logout_link );

    ?>

    <?php do_action( ‘bp_login_bar_logged_in’ ) ?>

    </div>

    <?php elseif ( get_option(‘users_can_register’) ) : ?>

    <form name=”login-form” id=”login-form” action=”<?php echo $bp->root_domain . ‘/wp-login.php’ ?>” method=”post”>

    <input type=”text” name=”log” id=”user_login” value=”<?php _e( ‘Username’, ‘buddypress’ ) ?>” onfocus=”if (this.value == ‘<?php _e( ‘Username’, ‘buddypress’ ) ?>’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘<?php _e( ‘Username’, ‘buddypress’ ) ?>’;}” />

    <input type=”password” name=”pwd” id=”user_pass” class=”input” value=”” />

    <input type=”checkbox” name=”rememberme” id=”rememberme” value=”forever” title=”<?php _e( ‘Remember Me’, ‘buddypress’ ) ?>” />

    <input type=”submit” name=”wp-submit” id=”wp-submit” value=”<?php _e( ‘Log In’, ‘buddypress’ ) ?>”/>

    <input type=”button” name=”signup-submit” id=”signup-submit” value=”<?php _e( ‘Sign Up’, ‘buddypress’ ) ?>” onclick=”location.href='<?php echo bp_signup_page() ?>'” />

    <input type=”hidden” name=”redirect_to” value=”http://&lt;?php echo $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’] ?>” />

    <input type=”hidden” name=”testcookie” value=”1″ />

    <?php do_action( ‘bp_login_bar_logged_out’ ) ?>

    </form>

    <?php endif // get_option(‘users_can_register’) ?>

    <div class=”clear”></div>

    </div>

    You can maybe replace the

    <div id=”search-login-bar”>

    <?php bp_login_bar() ?>

    <div class=”clear”></div>

    </div>

    part of your header.php file with the first code and I hope it will work for you.

    @korhanekinci

    Participant

    I have one other concern and I hope this is not a stupid question!

    If say, gigya or someone else comes with a plugin soon and I implement it on my site, deactivating the fb-connect plugin I use today. What will happen to the members that I already have through fb-connect? Their blogs? Acccount? etc…

    Will they have to sign in again through the new plugin?

    Any advice pls?

    @korhanekinci

    Participant

    I actually contacted gigya a few days ago, and they informed me that buddypress + wpmu plugin is on their roadmap.

    Today I asked them if they could give an estimate time, when that would happen and did not get an answer yet. I will post the answer here once I get it.

    @korhanekinci

    Participant

    achievement points under profile avatar or icon as suggested by Mariusooms seems to be agood idea.

    Kunal widget thing is also an excellent idea!

    @korhanekinci

    Participant

    Perfect! I will wait for your next release and want to contribute by translating it to Turkish.

    @korhanekinci

    Participant

    Would anyone be interested in supporting this plugin? Anyone else in my position so that we can maybe hire someone together to support the plugin?

    @korhanekinci

    Participant

    yes, if there is a pot file, I can help translate it to Turkish

    @korhanekinci

    Participant

    DJPaul, Thank you so much for the plugin.

    @korhanekinci

    Participant

    Interesting is that, active and popular links do show 20 members but not new members link

    @korhanekinci

    Participant

    No Mike, it didn’t work, I did exactly as you said and I still have 10 members although I put 20 in the widget option?!?

    @korhanekinci

    Participant

    And the problems now is that blog posts from users dont appear in the sitewide activity, until they are commented. Once they are commented, blog posts and comments appear in the sitewide activity with correct relative time (date).

    @korhanekinci

    Participant

    The timezone of the server is set to CDT, and actually I and 90% of my visitors are at UTC +3

    @korhanekinci

    Participant

    The thing now is blog posts dont appear in the sitewide activity (they all have same time zone settings now). That seems to be another issue for me!

    Anyone experiencing this also?

    UPDATE: When I comment on the blog post, both the post and comment appear in the sitewide activity.!?!

    @korhanekinci

    Participant

    Ok, after some search, I decided to do this. I found this plugin:

    http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-plugin

    and uploaded in mu-plugins folder and changed the

    add_option(‘gmt_offset’, 2);

    to

    add_option(‘gmt_offset’, -5);

    It seems to work. I had to change the existing blogs to UTC-5 manually.

    @korhanekinci

    Participant

    I also think this will be great!

    @korhanekinci

    Participant

    Thank you sooooo muchhh Reboot Now!

    One thing is that, still I have “nbsmrt” (username and not the name) linking to his profile (which is perfect) after your coding. How can it be solved that the name “murat” is shown and not the username.

    http://fenerbook.com/forum/topic/fenerbahcenin-transfer-gundemi-alev-alev

    Thanks again for the help!

    @korhanekinci

    Participant

    @korhanekinci

    Participant

    Jeff, all is done. Ticket #906

    @korhanekinci

    Participant

    Ok solved the problem by adding “stripslashes”, here is the hack to bp-core-templatetags.php file:

    function bp_get_the_site_member_name() {

    global $site_members_template;

    return stripslashes( apply_filters( ‘bp_get_the_site_member_name’, $site_members_template->member->fullname ));

    }

    add_filter( ‘bp_get_the_site_member_name’, ‘wp_filter_kses’ );

    @Rohan Kapoor, I solved the bbpress part by hacking the bb-includes/template-functions.php file:

    function get_post_text() {

    global $bb_post;

    return stripslashes($bb_post->post_text);

    }

    And

    return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));

    Hope this helps people with similar problems.

Viewing 25 replies - 26 through 50 (of 85 total)
Skip to toolbar