Forum Replies Created
I have done everything. Changed themes, deactivated every plugin but bp, but nothing worked…
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.
So no chance to get that translated to the users language? Or is there a plugin or something? Or any ideas on how to write one? I think that’d be much better the other way…
if I already have you in that topic
Does the message-header always appear in the language in which the person writing it has been or is it possible to have them translated to the viewers language?
In my case, I see f.e. “hans ist jetzt ein Mitglied” for a german person and “john is now a member” for an english person which is not so nice – me as a german visitor would like to have those titles always translated to MY language.
I don’t know if it’s intended to work this way or if I just did (another) mistake
thanks for your fast reply!
I thought so, yes, but aparently it wasn’t… it seems to work for now, however I was surprised to see that “German” has only about 50% of completion… will have too look how I can help with that.
I just saw that part of the title is in fact translated, in german it writes:
“Raphael just posted an update vor 5 Sekunden” (so the timestamp is in fact translated)…
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
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!!!
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…
bp_is_group() = empty (false)
bp_get_group_name() = ‘myRealGroupName’
how can that be?
activity-stream is ok now, but post-form is still the generic type and not the one for one specific group
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
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…
ok, in the example above I’m actually searching for the group “wittenham_clumps”, but anyway, it doesn’t work…
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!
This is how it looks like so far:
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…
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…
I finally see that I am getting a 403-error when posting to http://www.slople.com/community/wp-load.php… any ideas?
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