Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 19,426 through 19,450 (of 20,260 total)
  • Author
    Search Results
  • #39347
    Michael Berra
    Participant

    Hi burtadsit, I read it all (exclamationmark :-)) English is not my “tongue”, but I hope I got the main idea. It sounds AWESOME!!!

    Just to check, if I got that right: (I think I would need exactly something like that, because I am running a community for young-leaders who can submit and search for relevant resources in youth-work. )

    With that project I have tagged almost everything on my whole mu-site. Posts (sure…), but also bp-events, forum-stuff, wire-stuff, groups, etc…

    I can collect those tags for groups etc, but also show them in a kind of sitewide (forum, buddypress,”normal”wpmu) tagcloud? THAT WOULD BE GREAT!!! So everybody finds exactly what they are searching for… (better than eny search engine…).

    Right? (if not, that would be a suggestion for a feature or something :-)

    Thanks for your work!

    Michael

    #39319
    Simon
    Participant

    Credit for the above code too burtadsit by the way :-)

    #39312
    bmg1227
    Participant

    Hey gang, thanks to the help of you here, I have managed to work through some things and am now proud to show a site that I’m developing:

    http://grungepress.com/

    Keep in mind that it’s not done, and I haven’t had a chance to customize the forum template, as I’ll plan to match that with the main site.

    #39303

    In reply to: BP Avatars in bbPress

    I basically started going through what changes were made to your plugin since it last worked, and started replacing code block by block. Once I could debug the XML request, it gave me some eyes in the back of my head so to speak, to watch what I couldn’t otherwise see.

    So basically, it sounds like there is something in the xprofile field, and/or something in some users meta info that the XML parser just doesn’t like, so it gets caught up and returns a crappy value? Is that a good guess? You think it’s time to just rip through the user meta and see if anything looks suspicious?

    Here’s a question. What if there are users that haven’t yet updated their profiles in BuddyPress? They were converts from a wordpress.org install, and if they haven’t returned since then, BuddyPress doesn’t have a “fullname” for them yet, and they also don’t have xprofile info. Could that break this somehow? Is there a way to watch this user by user and have it spit out an error when it finds a bad value?

    Also, just for the record. I’m using BuddyPress RC1, bbPress Alpha6, and WPMU2.7. Is it possible there was a trunk update that you’re using that I’m not that maybe gives you different results than me?


    More specifically, if I comment out line 335 in oci_bp_groups_forums.php…

    //$user['xprofile_' . $group->name . '_' . $field_obj->name] = array('group' => $group->name, 'name' => $field_obj->name, 'value' => $field_obj->data->value, 'type' => $field_obj->type);

    And run the group import, it works without error as well.

    If I put a switch on the $field_obj-> name…

    switch ($field_obj->name) {

    …and only retrieve the custom title and forum signature, the groups import also works (still not for all users though, only groups.) I think it may be tripping over a specific type of field. I’m going to guess the textarea field, but that’s totally a blind guess with no merit or motive what-so-ever. :)

    #39302

    In reply to: BP Avatars in bbPress

    Okay, if I do it with the all members checked and with your debug and die method, I get an out of memory error every time.

    POST /xmlrpc.php HTTP/1.0
    Host: delsolownersclub.com
    Content-Type: text/xml
    User-Agent: The Incutio XML-RPC PHP Library -- bbgroupforums /0.2
    Content-length: 284

    <?xml version="1.0"?>
    <methodCall>
    <methodName>bp.ociGetAllGroups</methodName>
    <params>
    <param><value><array><data>
    <value><string>dsoc</string></value>
    <value><string>{valid pw}</string></value>
    <value><int>1</int></value>
    </data></array></value></param>
    </params></methodCall>

    <b>Fatal error</b>: Out of memory (allocated 31719424) (tried to allocate 1645602 bytes) in <b>/homepages/8/d149961498/htdocs/delsolownersclub/wp-includes/class-IXR.php</b> on line <b>107</b>

    AH ha!


    oci_bp_groups_forums.php – line 340

    if I comment out…

    add_filter('oci_get_user','oci_get_xprofile_filter',10,1);

    And run the group import tool for Groups only, it works exactly like it should (without any xprofile info of course :/ )

    If I run it for all users, I no longer get an out of memory error, but it does come back and give me a parse error.

    I consider that progress. The connection is definitely good. They’re talking back and forth. I must just have some gummed up user info that’s messing with the parsing of the XML return? Does that make sense?

    I do have 3 pages of xprofile info per user for it to import, so I mean there is the potential for there to be alot of info back and forth.

    #39301

    In reply to: BP Avatars in bbPress

    Okay, so I dipped into phpMyAdmin and deleted ALL bbpress live info, all bbGroups info, and uninstalled all of the plugins completely to get back to 0.

    I installed all of the plug ins. Confirmed that BuddyPress could see the bbPress forums. Created a topic, verified on both sides that it was updating. All successful communication from both directions.

    Then, I installed 3.0 of the bbGroups plugin. All of the previous stuff that was working, still works.

    bbGroups .3 still will not import any group data.

    Reverted back to .24, clicked import. Success with no other modifications other than replacing the 3 plug in files.

    #39300
    pravsingh
    Member

    Thanks…it worked.. solution is in https://buddypress.org/forums/topic.php?id=302

    We solved the problem commenting the following two lines in the .htaccess file of WPMU root:

    #RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

    #RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    Thank you Diego!

    #39299
    pravsingh
    Member

    Thanks…it worked.. solution is in https://buddypress.org/forums/topic.php?id=302

    We solved the problem commenting the following two lines in the .htaccess file of WPMU root:

    #RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

    #RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    Thank you Diego!

    #39298

    In reply to: BP Avatars in bbPress

    Neither option imports when using 3.0. Import all nor groups. When I click on “Import Groups” the browser thinks, then just refreshes the screen with no feedback, errors, anything…

    If I do your above debug, I seem to get a good response…

    POST /xmlrpc.php HTTP/1.0

    Host: delsolownersclub.com

    Content-Type: text/xml

    User-Agent: The Incutio XML-RPC PHP Library — bbgroupforums /0.2

    Content-length: 284

    <?xml version=”1.0″?>

    <methodCall>

    <methodName>bp.ociGetAllGroups</methodName>

    <params>

    <param><value><array><data>

    <value><string>dsoc</string></value>

    <value><string>{accurate password}</string></value>

    <value><int>0</int></value>

    </data></array></value></param>

    </params></methodCall>

    <?xml version=”1.0″?><methodResponse> A WHOLE TON OF STUFF </params></methodResponse>

    What happens though is that your plugin doesn’t display any success or fail message, and for statistics, it tells me…

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

    I get the feeling I need to flush all of the previous bbGroups info out of the DB and start fresh…

    #39295

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    Remind me again what isn’t happening when you do bbGroups import all. I’m getting sidetracked by details.

    The *all* users option doesn’t work? You can see what the params to the xmlrpc method call by changing $client->debug = false; to true in oci_bb_xmlrpc_query(). Then in the fn oci_bp_group_forums_import() there is a debug line under the query call. Change that to just die();

    Both of those fns are in oci_bb_group_forums.php on the bbpress side.

    What you’ll see are the params to the method call: username, password and ‘1’ for all users. Underneath it will display the xml result that you get back. One long string with all the groups and user data in xml format.

    #39294

    In reply to: BP Avatars in bbPress

    My process above was using deep integration. Even if an XMLRPC request looks for the xmlrpc.php in the bbpress install directory, it still loads bb-load.php, which loads bb-config.php, which loads all of wordpress before proceeding to load the remainder of bbpress. If an XMLRPC request is being made from buddypress to bbpress (like when viewing a group forum from within BP), I don’t want to reload all of buddypress again invisibly, if that makes sense?

    That’s why I did…

    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {

    in bb-config.php, to prevent reloading ALL of wpmu and bp just for a quick xmlrpc peek.

    What I don’t get is why it works in every version but this new one.

    #39293

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    Hmmm.

    xmlrpc query from bbpress happens

    xmlrpc query gets to wp

    xmlrpc.php does include(wp-load.php)

    wp-load.php does require_once(wp-config.php)

    wp-config.php does require_once(wp-settings.php)

    We are now in wp and it’s fired up.

    wp services the xmlrpc request

    We’re back in bbpress.

    That’s what happens during an import from bbGroups.

    During that process, at the beginning, in bbpress oci_bb_group_forums.php class.ixr.php is loaded because:

    if (defined(BACKPRESS_PATH))

    require_once( BACKPRESS_PATH . ‘/class.ixr.php’ );

    We get to wp loading plugins and in oci_bp_group_forums.php we get to:

    if (!defined(BBDB_NAME))

    require_once(ABSPATH . WPINC . ‘/class-IXR.php’);

    and class.ixr.php is not loaded again.

    That should work. I’m not sure what isn’t working on your side.

    #39291
    Burt Adsit
    Participant

    Hello, well it seems you are still experiencing intermittent problems with your bp/bbpress install. These are always fun to debug. You are covering alot of ground explaining things and I’d like to narrow things down.

    Lets play with two users and two groups. Site admin will be one user and pick any other existing user. Pick any existing group that has forums enabled and create a new group with forums enabled.

    1) Using existing group, site admin test posting FROM BP

    2) Using existing group, other user test posting FROM BP

    3) Using new group, site admin test posting FROM BP

    4) Using new group, other user test posting FROM BP

    5) Using existing group, site admin test posting FROM BBPRESS

    6) Using existing group, other user test posting FROM BBPRESS

    7) Using new group, site admin test posting FROM BBPRESS

    8) Using new group, other user test posting FROM BBPRESS

    ‘test posting’ means new topic and reply in that topic

    #39282
    wekko
    Participant

    Trent, thank you for your instructions. It got me much further in integrating buddypress and bbpress. Unfortunately I still run into the “There was an error posting that reply.” error. I’ve tried everything with no luck, now I think it might have something to do with the fact that I’m running Buddypress/BBPress on a Windows machine (in Apache though). Can anyone confirm this? I enabled the CURL extension for PHP, but that didn’t help.

    I tried the Buddypress and BBPress versions from the SVN respositories, still no luck. Anyone got suggestions left?

    #39262
    chadfrancis
    Member

    BP and bbPress ARE on the same server–I can’t imagine it’s anything there. (Though it IS GoDaddy, and I remain nervous that I’m finally experiencing all the horror stories I hear.)

    I have my admin account as well as two test accounts (test and test2) that I switch between to try things. Test2 is the account I set up administrator privileges for on the bbPress side.

    I am using the group forum to test things. The couple times the forum showed up on the bbPress side through BP discussion activation, I have tried posting on that side, and it posts there fine, but the same issues remain on the BP side.

    I actually went back and made a new group upon you mentioning that last bit. (I’d been using one “Test Group” and turning discussions off and on as needed.) I enabled discussions from the beginning and actually got it it to work for a bit. The forum showed upon the bbpress side, and I could post a topic on the BP side successfully and have it show up. HOWEVER, when I logged on to my “test” user, it was all back to the same (not there). Then I started screwing with things and jacked everything up (“note to admin: bbPress must be installed for group discussions to work” or something like that), so I’ll probably have to start from scratch again.

    When I do, I have a new question: Since I got just a basic bbPress forums to work completely with integration (under /forums/), I kinda want to make group forums it’s own separate thing (under /bbpress-groups/ or something). I’ve heard a couple other people mention they have tried multiple bbPress installs. Besides changing the database prefix (to bb2_ or whatever), is there anything else you would have to switch around getting things to work. For example, the plugins on the WPMU side used for integration.

    Another new question: When I’m deleting the bb data to restart from scratch, I’ve been deleting that whole folder (/forums/) and then going into mySQL and deleting all the database files that begin with bb_. Is there anything else I’m missing? I ask because the last time I started from scratch, I got this weird header malfunction the last time I finished the bbPress install, but I haven’t noticed any problems after that one “Install Complete” page.

    At some point, this will all get worked out. Thanks for your continued support!

    -Chad

    #39254

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    Mornin’ John.

    I’ve got my system setup to use deep integration now. This way in bb-config.php:

    if (file_exists(‘../wp-blog-header.php’))

    require_once(‘../wp-blog-header.php’);

    else

    if (file_exists(‘../../wp-blog-header.php’))

    require_once(‘../../wp-blog-header.php’);

    Very first thing under the comment block in that file. I’m also using your code to fix the require_once() problem on both sides.

    I deleted *all* the meta data that bbGroups puts into bbpress meta and wp user meta tables. Started completely from scratch. Configured bbGroups to use the utility user and password that is setup in the bp group forums side.

    Imported all my test groups and users. Both all users and just users who belong to groups. I get the proper numbers and data. I don’t have 100+ users but that shouldn’t matter. If Andy was going to try and import the 500,000+ users from wordpress.org I’d be worried about the amount of data getting generated.

    I don’t think I have to worry about that scenario right now. :)

    I’m not having any problems importing even with deep integration. Lemme know what you find on your side. I have to do some running around today so I’ll be gone till this afternoon. I’ll check back in then.

    #39246
    reprocessor
    Participant

    Hi Burt,

    Thanks for getting back to me. I upgraded the themes but i’m using my own themes, I read on the forum that you have to copy functions.php for them to work and I did this. It worked yesterday fine but today when i tried to edit a group I created it went tits up :( I’m no php techie by any means so if you can show me where and how to fix this i’d be greatly appreciative.

    Cheers,

    Phil

    #39243

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    @plaintext passwords

    Nope just comparing text to text. You are using sambauers code even if you don’t know it John. The bp group forums uses Sam’s bbpress live plugin for group forums access. Everbody knows it as just a widget that displays bbpress forums and topics in wp sidebars. It’s alot more than that. It’s got all the capabilities bp needs to create and post to bbpress from bp. It’s all there under the hood. See: /mu-plugins/bp-forums/bp-forums-bbpress-live.php

    @doing support here

    This is ok. I don’t mind. I talked to Andy about this issue and bluntly asked about it. I know it’s hard to believe, but I’m not very subtle at times. He’s ok with this.

    @reverting and things are ok

    I’ll revisit this again and wipe things clean on my side. Start from scratch. Test again. When you stop wasting your time sleeping, let me know what your setup is for deep integration. I just need to simulate that on my side.

    You do this in bb-config.php?

    if ( !defined( ‘ABSPATH’ ) ) {

    include_once( ‘/Full/Path/To/wp-load.php’ );

    }

    I remember it being something more than that. For the admin area also. I’ll start there.

    @debugging xmlrpc

    Ha! Welcome to the nightmare John.

    #39242
    reprocessor
    Participant

    Now my bloody forums are on the blink – I assure you that this was all done above board, and was working yesterday, pfffft. If anyone wants a look then its gigbuddy.org and gigbuddy.org/forums

    Miffed :(

    #39233

    In reply to: BP Avatars in bbPress

    Sorry for all of the thinking out loud, just trying to keep you in the loop with everything as much as I can. Burt would you rather I post this here or on your own forums? I just now thought that maybe this isn’t the best place to debug this together?

    I’m off to bed but plan on attacking this more tomorrow. Thanks again for your help and generosity with this. :)

    #39231

    In reply to: BP Avatars in bbPress

    If I revert back to .22 of the oci_bp_group_forums.php file, it imports the groups just fine. The problem is on that side somewhere.

    Problem is I don’t know how to debug oci_server_get_all_groups because it’s called inside the xmlrpc request, and no amount of echo’ing or var_dumping actually die’s anything. :(

    #39230

    In reply to: BP Avatars in bbPress

    Updated all passwords, still no luck. I had hoped this was the issue and actually deleted the data from the oci_groups_forums field in the DB and reset it. Did the same on the BP side also, and changed the user PW.

    Is it possible you’re comparing a plain text password to a MD5’ed password and they’re not the same?

    You said something about Sam saving the PW in meta data? Maybe I’m being a bit daft but I don’t have any plug ins from Sam that require saving a PW anywhere? I have your plugin on the bbPress side saving to site meta but that’s doing just fine now.

    #39204

    In reply to: BP Avatars in bbPress

    Burt Adsit
    Participant

    The above scenario matches what’s going on exactly.

    1) You can use bp’s group forums because Sam’s password wasn’t changed. It’s coming from wp meta and it matches the utility user password which wasn’t changed either. bp can talk to bbpress.

    2) The import fails because my password is trashed. It sends the blank password over to bp which gets checked with Sam’s password and it fails.

    Both of us, Sam and I, were too lazy to figure out how to change the actual user’s password instead of just storing it in meta data. Funny thing is I have a ticket in bp trac that complains about the utility username and password being stored in meta data. (sigh)

    Trent Adams
    Participant

    If you look through my sticky post in at the top of these forums, there are links to other people’s integration guides as well throughout the thread.

    Trent

    #39198

    In reply to: BP Avatars in bbPress

    Line 395 of oci_bb_group_forums.php..

    I’m going to go mobile for a bit, but will be back this evening to keep at this. :)

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