af3 (@af3)

Forum Replies Created

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

  • af3
    Participant

    @af3

    Hate to answer my own post.. anyway, this works okay for me.

    1. add shortcode [bbp-topic-form] in the feedback-no-search.php
    2. use javascript to change the form default value i.e.

    <?php echo do_shortcode('[bbp-topic-form forum_id=4135]'); ?>
    
    <script>
    FormObject = document.forms['new-post'];
    FormObject.elements["bbp_topic_title"].value = '<?php echo bbp_get_search_terms(); ?>';
    </script>
    In reply to: bbPress 2.2

    af3
    Participant

    @af3

    cant wait for this full bp integration! thanks!


    af3
    Participant

    @af3

    Dailytalker, i’m not a coder, so i hope this will point you to the right direction:

    1. i’m running wpmu+buddypress+bbpress and installed bp-fbconnect plugin

    2. for bbpress, i followed the fbconnect instruction in facebook website; it has a step by step instruction how to get the fbconnect installed in a page (meaning, hack your bbpress theme files).


    af3
    Participant

    @af3

    opps.. got it working with crude facebook connect instructions @facebook. Anyway, for those that are interested, you can adopt the buddypress-enabled WP facebook connect to bbpress and get the facebook connect running on bbpress. At least I am able to get the login/logout in bbpress as well as share + avatar. Profile edit is all handled by bp with the exception of favorites topics.


    af3
    Participant

    @af3

    btw, i added favorite edit link from bp profile with this: <?php if($current_displayed_user == $current_loggedin_user) { ?> (<a href="/forum/profile.php?id=<?php echo $current_loggedin_user; ?>&tab=favorites">Edit Forum Favorites</a>) <?php } ?>


    af3
    Participant

    @af3

    @gerikg, yep — noticed that too. What I did was just to exclude the favorite edit like this: if (is_bb_profile() && $_GET != ‘favorites’)

    Good idea to add new profile field in bp for signature. thx


    af3
    Participant

    @af3

    My mom is on facebook, so does my 60yrs old auth and uncle… and they are all living on the island of Borneo (googling it would probably show up among ‘the remaining lost world on earth’). So I got 3 ppl for my hard stats :)

    I’m using WPMU+Buddypress and integrated with bbpress — since there are facebookconnect plugins for WPMU, and now facebook plugin specific for WPMU+BP, my installation of bbpress on WPMU+BP becomes the odd one. While BP is now with its own forum system, I have more reasons to abandon bbpress; yet I do hope facebook-enabled bbpress would make me continue to use this.


    af3
    Participant

    @af3

    oppss.. i think this works 9to show topis started by the user) to be shown in bp profile:

    <h2>Latest Topics Started in Forum</h2>

    <ul>
    <?php
    $query="SELECT * FROM bb_topics WHERE topic_status=0 AND topic_poster=$current_displayed_user ORDER BY topic_time DESC LIMIT 10";
    $results=$wpdb->get_results($query);
    foreach ($results as $result) {
    echo "
    <li><a>topic_id."'>".$result->topic_title."</a></li>
    ";
    }
    ?>
    </ul>


    af3
    Participant

    @af3

    The code from detective works. I’m using wpmu+bp+bb; so i added this to bb theme functions.php (yes! if you dont have custom functions.php, just create one) and it works.

    add_action(‘bb_init’, ‘profile_redirect’);

    function profile_redirect() {

    if (is_bb_profile() && $_GET != ‘edit’ && $_GET != ‘favorites’) {

    $user = bb_get_user($_GET);

    if ($user) wp_redirect(“http://www.example.com/members/&#8221; . $user->user_nicename);

    }

    }

    now, trying to find code to show user’s forum (bbpress) posts to show in the BP profile.


    af3
    Participant

    @af3

    @sennad, yep! Anyone ever came up with hacks to show the facebook pics appear as avatar in bbpress?

    anyone? thx

    In reply to: buddybar

    af3
    Participant

    @af3

    hey mitch, please let us know how u solved the admin bar not popping up in bp1.1? did u solve it?

    In reply to: Buddybar in bbpress

    af3
    Participant

    @af3

    Same issue here. I think its related to adminbar.css … all menu appears but vertical! The calvary is yet to come….


    af3
    Participant

    @af3

    I have modified the original script to work with a bbpress integrated with wordpress. but the password is not working!

    http://svn.adrianomelo.com/labs/Wenetus/phpbb3tobbpress.php

    – uses the table wp_users instead bb_users

    – the users in the wp_users are not lost!

    – conficts resolved (user exists on wp database and phpbb database)

    PROBLEM: the phpbb password is not working when imported to wp database

    Same here — all worked out fine, except password. The _phpbb3p_pass.php file was autoloaded in bb-plugins folder; seems to be not working. Anyone has a workaround this (other than asking users to reset their passwords) ?

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