Forum Replies Created
-
hi all,
I was able to add facebook like button to activities (simple facebook script to entry.php). Know experience is that like button in activities slows down www a lot.
Is there any way (where to add script) to have like button only in single view of activity (permalinks)?
think it won’t make so big load on www, but can not understand how to achieve this…tried adding of div (idea was of display:none in list of activities), nothing works. is it possible at all?anyone?
thanks.hi,
have Wp 3.0.5 BP 1.2.7 and for me autocomplete works only for admin (code for all users by ray works too).
tried all the methods above and not only, except @xavieremerson , could you be more specific please, since I am unable to understand what exactly/how/where should be changed.
do not have any errors, simply autocomplete does not show any results for my users.Is it fixed issue in BP 1.2.8?
thanks.
hi @nexia,
wouldn’t you mind sharing your approach on activity-popup, or at least some direction on how to do it?
thanks.
with bc-oauth I get this error during login:
`Fatal error: Call to undefined function curl_init() in Z:homeexample.comwwwwp-contentpluginsbc-oauthliboauth-phplibraryOAuthRequester.php on line 307
`can it be localhost issue?
thanksIf someone, who actually understands at least something from php would point on mistake, it would be highly appreciated.
what I want is to have set of default avatars, with random one for every user.
idea was to have additional function:
`function randnum() {
// Range creates an array from a range (in this case 1 – 10)
$b = range(1,10);
// So the array looks like – array(1,2,3,4,5,6,7,8,9,10)
shuffle($b);
$r = array_values($b);
echo $r[rand(1,10)];
}`this function will generate random number from 1-10 and path in code from link would look like:
`return get_stylesheet_directory_uri() .’/_inc/images/image-‘ . randnum() . ‘.png’;`
Result is that first function generates number (works), but in every part of BP (widget, content etc.) number for particular user is different + number from . randnum() . is not taken as part of path, but is displayed in frontend as link.
thanks to both, something new is always highly appreciated. as I am new in php, question is not very important, simple interest of what happends in this area.
what I understand from firebug work is that it shows where (css file) css id of particular site’s area is located. comparing to what mercime wrote, as I understand, easiest solution for beginners is to rename style.css and make several renamed clones of it with incorrect info, what will make thief at least to think which code to use.
never use described method, this is just imagination
thanks hnla,
yeah, internet is full of individual concepts, but issue is that most of them have negative comments. Probably, will have to live with an idea that, if someone want to steal css, he will get it at any level of security. However, some primitive method to block newbies is not the worst idea.but how about php files, are all of them protected, or I have to add this empty index.php to every folder?
thanks.
@wpoooooo there is small issue in 0.7.0, contact the author and he will send you updated version
tried code of @antonrsa from pastebin, same issue:
The page at http://example.com/groups/name/ could not be reached.
and again it shows that I like the group, but at facebook.com – nothing.
tried to add facebook like to profiles, activities etc.
(as base took: http://wpmu.org/how-to-add-the-global-facebook-like-button-to-buddypress-profiles-and-activity-stream-items/)
always face same problem:
error: Page could not be reached…
however, in error description it always shows correct url and user’s “like” seems to be accepted, but is not displayed at his facebook page.there are a lot of topics re this issue in internet (like replace & with &), but no one seems to solve the issue.
maybe someone has some solution for BuddyPress?
thanks.
no one has looked at this issue?
it’s in bp default, most of you use it.tried to set bottom:..px, but body still does not go to the bottom, any help?
ok, have to withdraw my comment re transposh. in version 0.7.0 it has improved .po/.mo support and works excellent, at least it looks like this at the moment.
thanks for response, but have to conclude that your method does not work for me. `$sharetrans = __(‘Share’, ‘bpsi’);` is something completely new for me, so I tried to add .po/.mo files to language folder, to main folder, tried to rename language folder to languages, tried to change your compatir in bpsi-es_ES, nothing helps, still word “Share”.
what is the method./idea to get it done? maybe you could show me example of load_textdomain/_e/__ for one string and I will change remaining manually?another issue is that my theme body is 90% and now I see that share container in groups is not fully displayed = it ends on the middle of button “email”…is it known issue?
thanks a lot!
hi @modemlooper,
could you help a bit on translation, I know it is just one word – Share (button), but…I added this line to bp-share-it.php:
`load_plugin_textdomain(‘bp-share-it’,’/wp-content/plugins/buddypress-share-it/languages/’);`
translation is loading, seems to work fine.
question is how I can add translation tags to this code (as I understand this is exact place word “Share” comes from (one of them, all others are the same):
`$shareit = ‘Share
- ‘ . $shareittwitter . ‘
- ‘ . $shareitbuzz . ‘
- ‘ . $shareitfacebook . ‘
- ‘ . $shareitdigg . ‘
- ‘ . $shareitemail . ‘
‘;`
thanks!
ok, core developer doesn’t know this line (?)

`remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_blogs_menu’, 6);`
for those, who needs, it will hide “my blogs” and account-“blogs” from admin bar.
last stop – blogs in navigation, who will help?huge step forward, thanks, blogs directory disappeared…but, my blogs in admin bar and blogs in navigation still here.
wow, it was fast

will try, thank you.
sorry guys, my mistake, actually, partial mistake of @pcwriter too

in your plugin “adminbar…” you have changed words “Blogs Directory” to “Member Blogs”. Therefor, words can not be translated, because BP POT does not include such words. If I change “Member Blogs” back to “Blogs Directory” in core of your plugin, everything is translated well.
P.S. haven’t checked yet, but I think that the same issue will be with words “Group Forums”.thanks to all!
thanks @DJPaul ,
somehow I missed this plugin. Yes, it includes two very good plugins, unfortunatelly, bp translate is left without support, but first, what I am faced with after activation is some mistake with flags path “Incorrect Flag Image Path! Please correct it!”.
if someone will try this plugin too, I have WPMU 3.0.3 + BP 1.2.6.actually, this is quite interesting, how bp translate could work successfully, when latest qtranslate breaks almost all bp pages, RSS etc.?!
hi,
this solution works for child theme.
you add code of r-a-y to your style.css and all works like a charm.
(check topics on how to create child theme).isn’t this Tasty Kitchen full of bots?…those housewifes have very strange usernames

hi
@noizeburgerhaven’t time to check full code yet, but Cindy (author) replied that everything works fine for her. She is really open for help, contact her with any further questions you have.
hi,
remove spaces before and after php tags. had the same issue.