Search Results for 'theme'
-
AuthorSearch Results
-
November 5, 2010 at 3:27 pm #97558
In reply to: On SubDomain Blogs – SOME Avatars Not Displaying
Brian Bowman
ParticipantI’m running BP 1.2.6 – and I’ve found a few threads – namely that the changes in that ver are affecting things like avatar images and double “Frienship Request” buttons (among others). This seems to be on a theme-by-theme basis. You’ll need to get an update of your theme which should fix the problems….. Im using some from WPMUDev.com and they expect to have the theme updates out shortly.
November 5, 2010 at 12:18 pm #97548In reply to: More of the Crop Problem!
thelandman
Participant@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’);`
November 5, 2010 at 10:10 am #97537In reply to: Theme designers: contribute to core #2
Paul Wong-Gibbs
KeymasterI’ll have a try and see what it looks like. I think it’d work but we’d have to keep the “posted at” timestamp more visible like it is on blog comments at the moment.
November 5, 2010 at 7:41 am #97532In reply to: CSS for member page
thelandman
ParticipantYou 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.
November 5, 2010 at 4:39 am #97528In reply to: Placing an image in the header of the default theme
modemlooper
Moderatorjust go into header.php and add a link to the image that you want to use. You’ll see h1 logo and you could put it there or before but you’ll have to fix it via css to make it look right.
November 5, 2010 at 4:23 am #97527In reply to: Placing an image in the header of the default theme
p3aul
ParticipantSurely some can answer this question?
November 5, 2010 at 3:35 am #97524techguy
ParticipantI guess the other weird part is that in the 2 changes where it was moved to those configuration settings, it changes from 2 different sizes (25×25 and 60×60) to one size (BP_AVATAR_THUMB_WIDTH BP_AVATAR_THUMB_HEIGHT).
I’m not really complaining about the change and I certainly could have tried this before the release and seen the potential problem. I just wonder if this is the best long term strategy. Seems like it will break a number of themes like it did my child theme. I can modify my child theme no problem, but others might not be as lucky.
Are there any other places that these avatar settings are used? Anyone know of any other places? I know the initial resizing would use them, but with them being square it’s not that big of an issue.
November 5, 2010 at 1:54 am #97523Michael Eisenwasser
ParticipantYou’ll still have the problem that the dropdown for the “Visit” menu at the upper right doesn’t have room, because the dropdown incorrectly aligns to the right side of the screen. Just scoot it over a bit to the left to make room…
* html #wp-admin-bar ul li.align-right {
right: 140px;
}November 5, 2010 at 1:43 am #97522Michael Eisenwasser
ParticipantUsing this will completely fix the admin-bar in IE6, even when using fluid width.
body {
position: relative;
}
* html #wp-admin-bar {
position: absolute;
}
* html #wp-admin-bar .padder {
width: 100% !important;
}November 5, 2010 at 1:17 am #97521In reply to: Modifying / Customising the registration process
Boone Gorges
KeymasterCheck out the template file `register.php`, located in `buddypress/bp-themes/bp-default/registration/register.php`. You have a couple possible strategies:
1) Copy register.php to your child theme and add hidden inputs directly in the markup
2) Hook to one of the many do_actions littered through the code to add your fields. Eg
`function bbg_add_reg_field() {
echo ”;
}
add_action( ‘bp_before_registration_submit_buttons’, ‘bbg_add_reg_field’ );`Then you’ll have to catch the data being sent. I recommend doing something like this
`function bbg_grab_reg_data() {
if ( isset( $_POST ) ) {
// do something with the custom data
}
}
add_action( ‘bp_complete_signup’, ‘bbg_grab_reg_data’ );`November 5, 2010 at 12:29 am #97515In reply to: Theme designers: contribute to core #2
modemlooper
ModeratorI want to add my 2 cents on this. Can we get the default comments to mimic the activity stream?
November 5, 2010 at 12:26 am #97514In reply to: Theme designers: contribute to core
modemlooper
Moderatorguess i better upgrade to trunk
November 5, 2010 at 12:10 am #97513In reply to: Privacy breach on my BP install, need help please
paulhastings0
ParticipantAnd I assume you’re using the BuddyPress Default theme?
November 4, 2010 at 11:36 pm #97508In reply to: Theme designers: contribute to core
Paul Wong-Gibbs
Keymaster@modemlooper, if I create a custom link item to “example.com/activity”, and then click on that link, it loads the correct page and applies the ‘current-menu-item’ class to the li element. I’m testing this on BP trunk and WP 3.0.1.
If I put a Page into my menu, it gives it the class ‘current_page_item’ as it recognises it is part of the WordPress object hierarchy.
November 4, 2010 at 11:31 pm #97507In reply to: Theme designers: contribute to core
Paul Wong-Gibbs
Keymaster@modemlooper Components in BP 1.3 will exists as Pages in WordPress. The Pages will be created as part of a new Setup procedure.
November 4, 2010 at 11:04 pm #97505In reply to: Search like on this site
paulhastings0
ParticipantNot quite, but here’s how to do it: http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/
November 4, 2010 at 10:24 pm #97502In reply to: Removing the adminbar padder in child theme
liveview
Memberah, I expected it would do like default.css and just override with my changes.
Fixed now, many thanks
November 4, 2010 at 10:20 pm #97501In reply to: Removing the adminbar padder in child theme
Hugo Ashmore
ParticipantYou’re pulling in the original one, if you made changes in a copy then they won’t be applied.
path is :
_inc/css/if you copied the default structure to a child theme.
November 4, 2010 at 10:13 pm #97500In reply to: Removing the adminbar padder in child theme
liveview
Memberid doesn’t seem like the adminbar.css in my theme folder is overriding the default tho
November 4, 2010 at 10:08 pm #97499In reply to: Removing the adminbar padder in child theme
liveview
Member../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css is my @import url
November 4, 2010 at 10:05 pm #97497In reply to: Removing the adminbar padder in child theme
Hugo Ashmore
ParticipantAre you sure your @import paths are correct, are you actually calling the right adminbar.css? There are only a few rulesets that will govern these dimensions, Firebug is a extension for Firefox that will allow you to observe which rulesets are applied to an element when you hover the element in the viewport.
November 4, 2010 at 9:57 pm #97496In reply to: Removing the adminbar padder in child theme
liveview
Memberhere is a screenshot (site is in maintenance mode, so link is no help :p) http://liveview.no/demo.jpg
November 4, 2010 at 9:53 pm #97495In reply to: Removing the adminbar padder in child theme
liveview
MemberI have copied the entire default.css into the style.css in my custom theme and reworked it pretty heavily.
I have also made a mirror of _inc/css/adminbar.css in my theme folder and set all the width attributes to 100% in this, no change.
November 4, 2010 at 9:48 pm #97494In reply to: Removing the adminbar padder in child theme
Hugo Ashmore
ParticipantThen have you adjusted the min/max widths in adminbar.css?
November 4, 2010 at 9:48 pm #97493In reply to: Removing the adminbar padder in child theme
Hugo Ashmore
Participanttry, rather than using !important, removing/ changing the offending ruleset in default. If you have copied default over to your child theme you are better of removing / adjusting styles in it than overriding. If you drop back to using default theme it will pick up the original styles.
-
AuthorSearch Results