Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • RaphaelJeger
    Participant

    @raphaeljeger

    I have done everything. Changed themes, deactivated every plugin but bp, but nothing worked…


    RaphaelJeger
    Participant

    @raphaeljeger

    it’s a small hosting company here in switzerland. I can’t see other logs other than my own.

    So you say switching to a good VPS (1.5gb ram, 4 cores with 100% CPU) should make a huge difference? I want response times for the HTML GET of 1s max.

    Thank you!


    RaphaelJeger
    Participant

    @raphaeljeger

    bump…


    RaphaelJeger
    Participant

    @raphaeljeger

    hey @r-a-y and @modemlooper,

    thanks to both of you! I know I have a little bit of a mess above, so I’ll try to clear it all up now. I have found a solution to only display the activity-stream of one group, you can find the code above (I won’t copy/paste in this posting).

    What is NOT solved is “displaying a post-form for logged-in users to post directly to only one group”. Now, where do I want to add this? On my custom, former non-wp php site I “wordpressified” using wp-load.php. It seems that wordpress is recognized as I am able to use all those custom-codes from wordpress to show activities etc.
    But for the form – that doesn’t work. It just shows a generic form like on a users activity-home, not as if it would be on a group-home. My code looks like this:

    `

    `

    Why does this show the generic form, even though I am in a group-loop? To me it’s also an indicator that something fundamental is wrong with my code because `bp_is_group() ` is false!

    I’d really appreciate any help!!! It’s really urgent now to get this finished, I didn’t think to sit an such a “small” problem for a few days :(

    THANKS!
    Raphael


    RaphaelJeger
    Participant

    @raphaeljeger

    @boonebgorges or @modemlooper are surely able to help… I’d also be more then happy to thank you with paypal :)


    RaphaelJeger
    Participant

    @raphaeljeger

    Hmmm… it’s not possible that I – as a wp/bp-beginner – have a question that’s too hard to answer for all those experts here… is it? Sorry guys, just kidding… but I seriously need help on this topic. PLEASE!!!


    RaphaelJeger
    Participant

    @raphaeljeger

    Anyone? :)


    RaphaelJeger
    Participant

    @raphaeljeger

    That’s how my idea of code for including a post-form for a specific group looks like:

    `

    `

    However, it doesn’t work, showing the generic post-form with the drop-down where to post instead of posting directly and only to this group… :(


    RaphaelJeger
    Participant

    @raphaeljeger

    bp_is_group() = empty (false)
    bp_get_group_name() = ‘myRealGroupName’

    how can that be?


    RaphaelJeger
    Participant

    @raphaeljeger

    not working :(

    activity-stream is ok now, but post-form is still the generic type and not the one for one specific group :(


    RaphaelJeger
    Participant

    @raphaeljeger

    I CAN’T BELIEVE IT!!!

    SORRY! I had an own variable with the name… you guess it… “$group”… that seems to be the problem…

    Ok now my post-form isn’t showing at all, but the activities are FINALLY filtered.

    Sorry if I turned you nuts :(


    RaphaelJeger
    Participant

    @raphaeljeger

    Ok, I’m on a way, but still no clue… :(

    `$bp->groups->current_group` is empty. And that’s what `bp_is_group` checks…

    PLEASE… what am I missing? I just want to display the activity stream and the matching post-form on a plain php site…


    RaphaelJeger
    Participant

    @raphaeljeger

    ok, in the example above I’m actually searching for the group “wittenham_clumps”, but anyway, it doesn’t work…


    RaphaelJeger
    Participant

    @raphaeljeger

    Hi Boone

    I know it’s my problem ;) of course WP is installed and I managed to solve the problem. Users where not logged in because the user-cookie was only set on the wp-subdomain and not on the root-domain, which I was able to solve easily when I knew about it with the plugin “root cookie”.

    Thanks for your suggestion, so far it works. However, I have another problem now:

    I would expect that the following code outputs all activity on the group “myTestGroup”, but it doesn’t – it outputs everything. Where’s my fault?

    `

    `

    Thank you so very much for your help!
    Raphael


    RaphaelJeger
    Participant

    @raphaeljeger

    come on… anybody? Please :(


    RaphaelJeger
    Participant

    @raphaeljeger

    This is how it looks like so far:

    http://www.slople.com/d2/start.php?slopeId=13692&sortId=1

    I’m now able to select the group on which to post. Would be nicer if I could control that programmatically though on the backend (selecting the right entry from the dropdown via JS is not really an option as I will have about 10’000 groups).

    However, the main problem is that my site doesn’t show my plugins… I seem to miss something on initialisation. I call the wp-load.php as one of the first actions… but no plugins (acitivity plus, bp like etc) show up…


    RaphaelJeger
    Participant

    @raphaeljeger

    ok, I’m working on a solution and thought I should let you know:

    in wp-includespluggable.php on line 839 there’s the check if the referer is ok to prevent posting from other sites. I added my URL and now this works. Still a lot to find out though…


    RaphaelJeger
    Participant

    @raphaeljeger

    Anybody? :(


    RaphaelJeger
    Participant

    @raphaeljeger

    I finally see that I am getting a 403-error when posting to http://www.slople.com/community/wp-load.php… any ideas?


    RaphaelJeger
    Participant

    @raphaeljeger

    Thank you!

    Isn’t it possible to get that “post-new-activity”-thing working? Because that’s almost the last thing that’s missing… ok the “reply” and “like” things have to be working too…

    No way I’m gonna convert my site to wp completely ;)


    RaphaelJeger
    Participant

    @raphaeljeger

    Hmmm… I thought about Elgg too… but I do like the wp/bp-approach.
    Do you think Elgg would be easier? I don’t find much documentation on elgg…


    RaphaelJeger
    Participant

    @raphaeljeger

    I forgot to say: The groups should have the slope-names as their labels (but that can change!) and the slope-id as their internal id (that will never change).

Viewing 22 replies - 1 through 22 (of 22 total)
Skip to toolbar