Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 19,451 through 19,475 (of 20,260 total)
  • Author
    Search Results
  • #39195

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    If you can use the bp group forums from bp then all is well. Gimme a minute here and I’ll find a spot to put some debug code.

    Where is that var_dump()?

    #39194

    In reply to: BP Avatars in bbPress

    If I don’t dump any variables, then nothing…

    Basically the if ( !$client->query( $method, $args ) ) { returns nothing…

    If I trace that back to “oci_server_get_all_groups” in the oci_bp_ side, and it never gets anything.

    My guess is that this all has to do with the deep integration part… And that your code is fine and my connection is crap…

    It’s weird tho, because I can post/retrieve in group forums no problem. Which means that the connection between the two sides is fine, right?

    If I uncomment the var_dump as to why, I get…

    string(5) "err: " object(IXR_Message)#189 (14) { ["message"]=> NULL ["messageType"]=> NULL ["faultCode"]=> NULL ["faultString"]=> NULL ["methodName"]=> NULL ["params"]=> NULL ["_arraystructs"]=> array(0) { } ["_arraystructstypes"]=> array(0) { } ["_currentStructName"]=> array(0) { } ["_param"]=> NULL ["_value"]=> NULL ["_currentTag"]=> NULL ["_currentTagContents"]=> NULL ["_parser"]=> NULL } object(IXR_Error)#188 (2) { ["code"]=> int(-32700) ["message"]=> string(28) "parse error. not well formed" }

    #39181

    In reply to: BP Avatars in bbPress

    oci_bb_group_forums.php – line 619

    Change

    $options["password"] = $options["pass1"];

    to

    $options["password"] = $_POST["pass1"];

    ;)

    #39180

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    John I put the deep detection around the require_once() at the top of oci_bb_group_forums.php just take that line out and use your own technique. Mine obviously doesn’t work.

    Yes that fn should be oci_xprofile_field(). Wrong file got into the zip.

    #39178

    In reply to: BP Avatars in bbPress

    Looks like a duplicate in your oci_bb_group_forums_tags.php…

    /**
    * oci_xprofile_field_value()
    *
    * Return the specified xprofile field value
    * Note: dates are in unix time format
    *
    * @param <int> $user
    * @param <string> $group name
    * @param <string> $field name
    * @return <type> unknown
    */
    function oci_xprofile_field_value($user, $group, $field){
    $bp_user = oci_get_userdata($user);
    return $bp_user['xprofile_' . $group . '_' . $field]['value'];
    }

    /**
    * oci_xprofile_field()
    *
    * Return the specified xprofile field array
    * Note: dates are in unix time format
    *
    * The field array is composed of:
    * array(
    * 'group' => group name string,
    * 'name' => field name string,
    * 'value' => field value string,
    * 'type' => bp's name for the field type
    * )
    *
    * @param <int> $user
    * @param <string> $group name
    * @param <string> $field name
    * @return <type> array
    */
    function oci_xprofile_field_value($user, $group, $field){
    $bp_user = oci_get_userdata($user);
    return $bp_user['xprofile_' . $group . '_' . $field];
    }

    Second one should be changed to oci_xprofile_field according to the doc above it.

    Still trying to get the import to work…

    When I uncomment the `

    var_dump($groups_n_users); die;`

    I get…

    bool(false)

    Still looking…

    When I uncomment the `

    var_dump($args); die;`

    inside oci_bb_xmlrpc_query(), I get array(3) { [0]=> string(4) "dsoc" [1]=> NULL [2]=> int(0) }

    dsoc is the name of my user, but it looks like the PW is empty?

    So I uncomment the next line, and I get this…

    string(5) "err: "
    object(IXR_Message)#188 (14) {
    ["message"]=>
    NULL
    ["messageType"]=>
    NULL
    ["faultCode"]=>
    NULL
    ["faultString"]=>
    NULL
    ["methodName"]=>
    NULL
    ["params"]=>
    NULL
    ["_arraystructs"]=>
    array(0) {
    }
    ["_arraystructstypes"]=>
    array(0) {
    }
    ["_currentStructName"]=>
    array(0) {
    }
    ["_param"]=>
    NULL
    ["_value"]=>
    NULL
    ["_currentTag"]=>
    NULL
    ["_currentTagContents"]=>
    NULL
    ["_parser"]=>
    NULL
    }
    object(IXR_Error)#187 (2) {
    ["code"]=>
    int(-32700)
    ["message"]=>
    string(28) "parse error. not well formed"
    }

    Now I’ve typed and retyped my PW twice. I can get post data from bbPress to BuddyPress, and I can post from BuddyPress and see it in bbPress. It’s communicating back and forth successfully…

    Looks like it isn’t updating the PW to me for some reason… brb

    K… Deleting the line from the DB and resaving the bbGroups options info, still makes the PW = NULL or nothing… Looks like it’s stopped saving the PW somewhere.

    #39177

    In reply to: BP Avatars in bbPress

    Okay after all of my tizzying around, I still get this when I try to import…

    Groups with forums enabled – , Forums updated – , Users updated –

    #39176

    In reply to: BP Avatars in bbPress

    Okay, somehow the password in my BP Site Admin -> bbPress Forums got corrupted…

    omg…

    Crisis averted…

    Lets try this again…

    #39174

    In reply to: BP Avatars in bbPress

    So if I use your test rig Burt, I get a 403 Authentication Failed response… wtf… Ha!

    But if I revert back to .23 and click on “Import Groups” it gets…

    Last import Tuesday 03rd of March 2009 03:32:03 PM, 2 seconds

    3 groups with forums enabled

    3 forums updated

    12 users updated

    #39171

    In reply to: BP Avatars in bbPress

    When I do the $burt variable debug trick, it looks like http://delsolownersclub.com/discussions/xmlrpc.php is pulling a 404 again like it was before over here https://buddypress.org/forums/topic.php?id=426, but it’s very clearly there, and nothing else appears to be in the way.

    Arg… Still looking…

    Arg… It broke somewhere before I even was playing with this.. I reverted everything back to the previous version (.23 I believe) and while I can get forum post info, for some reason I can’t post anything.

    #39170

    In reply to: BP Avatars in bbPress

    Okay, I attempted to import all users, and got this…

    Groups with forums enabled - , Forums updated - , Users updated -

    Checking to see what happened now…


    Looks like nothing happened. No one got their bbGroups like they should have. Going to keep looking…

    Importing only groups doesn’t do anything either… Still checking…

    #39169

    In reply to: BP Avatars in bbPress

    Burt…

    When accessing the forums using deep integration, with no modifications to your updated plugin…

    Fatal error: Cannot redeclare class IXR_IntrospectionServer in /homepages/8/d149961498/htdocs/delsolownersclub/discussions/bb-includes/backpress/class.ixr.php on line 860

    Think of the loop that’s happening… bbPress loads WordPress, loads ixr, which continues to load bbPress. I really do think both sides need to check to see if the other is included to ensure this doesn’t happen.

    Going back to oci_bp_group_forums.php and putting

    if (!defined(BBDB_NAME))
    require_once(ABSPATH . WPINC . '/class-IXR.php');

    and then back to oci_bb_group_forums.php and putting

    if (defined(BACKPRESS_PATH))
    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    Fixes this.

    Let me find where they are declared and try to walk you through the deep integration dance. It’s a pain in the butt, but it works. I don’t see any other way to get things like the BuddyBar and all of the BP functions over to bbPress without deep integration.

    Donnacha
    Participant

    Unfortunately, vBulletin decided that a vBulletin WPMU bridge was not in their commercial interests and locked the thread, despite 30 of their licensed users expressing an interest. The thread, http://www.vbulletin.org/forum/showthread.php?t=196906, remains readable but not new posts can be made and, therefore, can no longer be used to rally together all the vB users who would like to see it happen.

    I swapped a few emails back and forth with vB and they took the time to explain their position. I don’t agree but I guess I can understand their panic; WordPress is one of the few Open Source products that has wiped out commercial products in it’s sector, blogging, and they’re desperately worried that there is no longer that much difference between their $180 product and the free alternatives.

    There is, of course, nothing to stop any of you being a bit cheeky and starting your own threads on http://www.vbulletin.org/forum/, innocently asking why there isn’t a vBulletin WPMU bridge :)

    Personally, though, I’ve deciding to transition away from vB – I’ll be keeping my existing vB sites going but, for new projects, I don’t see the point of buying any more vB licenses.

    bbPress is pretty bad but I’m optimistic that they will improve over time, especially now that BuddyPress is advancing so quickly. I like the way in which, in BuddyPress, the forums are spread among the groups within the social network – it makes a lot of sense, sort of like wrapping each section of your forum in it’s own homepage, featuring the users who “hang out” in that section.

    alainhc
    Member

    Hello everyone. Hi Burtadsit. I´ll try to explain using my poor English, I´m cuban. The error occurs in a Clean install, when you activate the home theme and try to visit the root blog, or the blog of any user previously created.

    The page show the following error:

    Warning: require_once(C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php) [function.require-once]: failed to open stream: No such file or directory in C:sitiossitiosocialwp-includestheme.php on line 822

    Fatal error: require_once() [function.require]: Failed opening required ‘C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php’ (include_path=’.;C:xamppphppear’) in C:sitiossitiosocialwp-includestheme.php on line 822

    How you can see, the application doesn´t found a buddypress-home directory inside member-themes. So, we solve this making a copy of the buddypress-member and renaming it to buddypress-home.

    Changing the topic (I know this is out of forum). I´d like to make my own buddypress-home theme, and buddypress-member theme. Do you have any documentation about it???

    Alain

    #39134
    reprocessor
    Participant

    Hi John,

    I GOT IT! Eventually LOL.

    I did a bit of digging on the forums and saw this thread https://buddypress.org/forums/topic.php?id=471&page=2#post-5680 – I didn’t realise I needed to be logged in to both BP & BBPress to do this. Once I saw DJpaul’s first post on this thread the penny dropped.

    Thank you for all your help – everything works a treat now!

    Best regards,

    Phil

    #39133
    Ekine
    Participant

    Thanks. :)

    A lot of our ipb forum users love this sort of information because they always tend to visit the user profiles who visited their profile. So the profiles are pretty active and that’s what social networking is about. ^^

    #39126

    In reply to: Modify BP links

    Burt Adsit
    Participant

    This thread points to a domain mapping plugin for wp.

    https://buddypress.org/forums/topic.php?id=1493

    Anointed
    Participant

    Looking good Nicola.

    I love your plugins and the support you provide, it’s very much appreciated.

    btw

    Maybe an error with the forum software here?

    This post said it has 3 replies prior to me entering this one, however there are none.

    #39084

    In reply to: WordPress

    Trent Adams
    Participant
    #39075

    In reply to: WordPress

    Trent Adams
    Participant

    Specific plugins that work with WPMU or not should be discussed in their forums and BP issues here.

    https://mu.wordpress.org/forums/

    Trent

    #39065

    In reply to: WordPress

    zenseeker
    Participant

    hyrxx,

    You’ve gotten wp e-commerce to work on bp & wpmu? From both the wpmu forums & the instinct forums I’m under the impression there are still problems. Something to do with the database. I think the dialog’s been going on for about a year. Got some tips you’d like to share?

    #39064
    Erwin Gerrits
    Participant

    See new thread https://buddypress.org/forums/topic.php?id=1488 for the twitter plugin. Test, test, test please!

    #39059
    Alex
    Participant

    > @brianbrey, How do you know this?

    A couple of months ago Zohar Babin said he was interested in helping, https://buddypress.org/forums/topic.php?id=367#post-1647

    #39023

    In reply to: BP Avatars in bbPress

    Well, while the GF is in the shower, I’ll quick do this… Burt this is aimed directly at you, since I gather most others won’t want to do this kind of thing…

    oci_bb_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (defined(BACKPRESS_PATH))
    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    This will return ALL user info, in the event that bbGroups does not exist yet for that user.

    function oci_get_userdata($u){
    $u = (int) $u;
    $user = bb_get_user($u);
    if ($user->bbGroups) {
    return stripslashes_deep((array)$user->bbGroups);
    } else {
    return stripslashes_deep((array)$user);
    }
    }

    oci_bp_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (!defined(BBDB_NAME))
    require_once(ABSPATH . WPINC . '/class-IXR.php');

    This is how I passed the user info over from xprofile to bbGroups:

    /**
    * oci_get_user_filter()
    *
    * Live example of how to use the filter mechanism to add info to the data going across to bbpress
    * This filter adds the user's forums and forums where the user is staff into the $user array
    * @return
    * @param associative array $user from oci_get_user()
    */
    function oci_get_user_filter($user){
    $users_group_info = oci_get_users_group_info($user['id']);

    $user['users_forums'] = $users_group_info['forum_ids'];
    $user['user_is_staff'] = $users_group_info['staff_ids'];

    $user['custom_title'] = bp_get_field_data('Custom Title', $user['id']);
    $user['signature'] = bp_get_field_data('Signature', $user['id']);
    $user['aim'] = bp_get_field_data('AIM', $user['id']);
    $user['yahoo'] = bp_get_field_data('Yahoo!', $user['id']);
    $user['gtalk'] = bp_get_field_data('GTalk', $user['id']);
    $user['msn'] = bp_get_field_data('MSN', $user['id']);
    $user['jabber'] = bp_get_field_data('Jabber', $user['id']);
    $user['icq'] = bp_get_field_data('ICQ', $user['id']);

    return $user;
    }
    add_filter('oci_get_user','oci_get_user_filter',10,1);

    oci_bb_custom.php


    How I transfer the username (just in case fullname hasn’t been edited from wordpress.org transfer – see above oci_get_userdata changes):

    function oci_user_name($u){
    $bp_user = oci_get_userdata($u);
    if ($bp_user['fullname']) {
    return $bp_user['fullname'];
    } else {
    return $bp_user['display_name'];
    }
    }

    bbpress/active-theme/functions.php


    What I added to make the custom functions go:

    add_filter('get_user_profile_link', 'bppro_user_profile_link', 10, 2);
    function bppro_user_profile_link($link, $uid) {
    $user = bb_get_user($uid);
    return(bb_get_option('wp_siteurl').'/members/' . $user->user_login);
    }

    function bppro_user_url() {
    global $bp;
    return($bp->loggedin_user->domain);
    }

    function bp_check_title($user) {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_title = $user->bbGroups['custom_title'];

    if ($user_title) {
    return $user->bbGroups['custom_title'];
    } else {
    return;
    }
    }
    add_filter('post_author_title', 'bp_check_title');
    add_filter('post_author_title_link', 'bp_check_title');

    function post_author_signature() {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_signature = $user->bbGroups['signature'];

    if ($user_signature) {
    echo '<p class="post-signature">__________<br />' . $user->bbGroups['signature'] . '</p>';
    }
    }

    bbpress/active-theme/post.php


    Displays avatar from BuddyPress if it exists, else bbPress/Gravatar. Also displays hooked data from above functions.php:

    <div class="threadauthor">
    <dl>
    <dt><a class="oci-link" href="<?php echo oci_user_link($bb_post->poster_id); ?>"><?php echo oci_user_name($bb_post->poster_id); ?></a></dt>
    <dd><span class="oci-title"><?php $patl = post_author_title_link(); ?></span></dd>
    <dd><?php if (oci_user_avatar($bb_post->poster_id)) { echo oci_user_avatar($bb_post->poster_id); } else { post_author_avatar_link(); }?></dd>
    </dl>
    </div>
    <div class="threadpost">
    <div class="poststuff">
    <?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?><?php bb_quote_link(); ?>
    </div>
    <div class="post">
    <?php post_text(); ?>
    </div>
    <?php post_author_signature(); ?>
    </div>

    #39005

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    Ya you did mention profile data getting to bbpress from bp for users without groups. I don’t see any reason not to do it. The privacy elements rely on the user having a list of their forums in the bb meta data that comes across from bp. No forums means no access. I’ll add that too since I’m now fooling around in that area. Gonna mean some changes to the import routine. I’ll work on it.

    #38994
    Trent Adams
    Participant

    @joalbright could you login to https://trac.buddypress.org/ and add this as a ticket using the login from this forum?

    Trent

Viewing 25 results - 19,451 through 19,475 (of 20,260 total)
Skip to toolbar