Forum Replies Created
-
@Annoyed, What theme are you using? Do you have a link I could take a look at. Often the problem is that a theme or plugin includes a different version of jquery to the that comes with WordPress. You could load jquery from google. Put this code at the top of your functions.php (in your theme folder)
`function my_init_method() {
wp_deregister_script( ‘jquery’ );
wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js’);
}add_action(‘init’, ‘my_init_method’);`
You can use xprofile fields to specify certain CSS values in the users profile. Then you can retrieve the field value in the profile and modify the profile CSS with jquery. Its a bit of a work around but it works for me. Here’s an example:
1. Create an xprofile field and name it ‘Profile Background’
2. Edit your profile in buddypress and insert ‘#000000’
3. Go to wp-content/themes/yourtheme/members/single/member-header.php
4. On the 2nd line, just after “ paste the following code:
`
$(“#wrapper”).css(“background-color”, “”);
`This will modify the profile background color according to what ever value you put in ‘Profile Background’
This is just off the top of my head, I’ll check how I’ve done it once I’m home this evening. I will be writing a plugin for this. The only drawback is the user needs javascript enabled other wise its pointless.
how about FOLLOWERS-Only Activity Stream?
You can disable Gravatars! Perhaps you should put in some effort to research the subject. I have disabled it on many sites that I’ve built. I won’t lie to you, I’m not a fan of gravatar because the actual gravatars look cheap and tacky.
This plugin is the most effective and easiest way of disabling gravatar. https://wordpress.org/extend/plugins/disable-user-gravatar/ It says its only compatible up to WP 2.8.6 but I’m using it on 3.0.1
@ovizii, do you have a link to the site? Go to your site, view the source. Check if any plugins have tried to load jquery in within the tags of the site.
Its been like that for months actually.
Here is the code you are looking for, you’ll find it under /wp-content/themes/yourtheme/activity/index.php around line 22. This is presuming you have created a child theme based on the default BP theme.
<li class="selected" id="activity-all"><a href="" title=""></a></li>
Remove that code and you should be good to go.
Unfortunately I haven’t made any further progress on this. With work and life going on its difficult to find time to work continue with this… Perhaps I’ll get back on this and finish it up over the coming weekend. Thanks for the reminder.
@zoltok, neat little solution. This will come in handy. Tks.
@antonrsa, thanks mate. I’ve also been busy with an activity stream that is automatically updated with ajax and it neatly drops in with the jcarousel plugin with jquery.
Yeah, I’m also keen to get this going….
@r-a-y thanks so much! Worked like a charm.
Sorted! Thanks @hnla!
You could use AJAX to reload the content of the div that the activity stream is in. I’ve implemented it on a site I’m busy with.
@jc93 Ensure that your site is using UTF-8 encoding.
I know you don’t want to use a plugin or edit the core files but then you’ve basically got no options to disable gravatar. This will help, even though it is a plugin http://netweblogic.com/wordpress/plugins/disable-user-gravatar/
@paulhastings0, nice! Thanks for the suggestion. I’ll be sure to look into that.
@poolie, that’s a quality design! Nice work. Good to see more people not sticking to the default buddypress interface. Plazaa is a complete face lift. I like it *thumbs up*
Do you have link I could check for you?
@pcwriter, the charlimitinfo will only display on the first activity item because you’ve specified for it to only show up on that specific div with that id. Here’s the solution:
`<textarea id="ac-input-” class=”ac-input” name=”ac_input_” onkeyup=”limitChars(this.form.ac_input_, 500, ‘charlimitinfo-‘)” />`
In each activity item the textarea has a unique name and id applied to it. The javascript function will now be called to each individual activity item.
Hope that helps
@pcwriter, you may also want to implement the same to the entry.php so you can limit the characters in the reply text area. Exactly what I’ve done on my site.
@hitler, @rogercoathup, I think this is what we’re looking for. http://buddydev.com/buddypress/using-activity-as-wire-in-buddypress-1-2-themes/