Search Results for 'theme'
-
AuthorSearch Results
-
February 19, 2011 at 7:42 pm #105799
Leah
Participantthanks
February 19, 2011 at 7:32 pm #105798Hugo Ashmore
ParticipantTheres a difference between adding to an established theme, and creating a standalone theme which is what it sounds like wooThemes is referring to and yes they’d be right, BP has yet to tackle this area of theming.
N.B your link is borked!
Fixed ‘http://’ is required for for external links
February 19, 2011 at 7:19 pm #105797Leah
ParticipantBut sure would be interesting see what they have to say, don’t you think?
February 19, 2011 at 7:12 pm #105794modemlooper
ModeratorIt’s not really at hard once you figure it out. The bp templates are easy to add. I’ve added bp to numerous woo themes over the past year with little fuss.
February 19, 2011 at 6:11 pm #105786In reply to: Top Nav Bar Display Problems
Hugo Ashmore
ParticipantIf you are talking about the adminbar (very top) then the template plugin references the file from the bp-default theme in the buddypress plugin directory but you can disable that file and code your own styles or place a copy of the file in your themes folder and add an @import call to it in your style.css, then changes will be preserved when you update BP (that can be a good or bad thing depending on the changes)
February 19, 2011 at 6:07 pm #105785In reply to: Will BP work with other themes and plugins?
Hugo Ashmore
Participant@Chaotic_Cannon You are forcing mercime to follow and respond to two threads on the same topic while trying to get you to focus on one; note the links posted! Please stop this
it’s bad board nettiquette, choose one thread (likely this one given the direction of the questions) and stick to it.February 19, 2011 at 5:37 pm #105782In reply to: Will BP work with other themes and plugins?
Chaotic_Cannon
MemberMercime posted another response in the WP forum page that he referenced above.
He stated that WP and BP are both going to have updates coming out soon.
Paul, I believe you are the guy that coded the achievements plugin for BP right? (and maybe other plugins?) Does this mean you have to update your achievements plugin too?
What other good plugins are out there for a news site, user profile updates for the main page of the site, forum update for the main page, cool options?
Thanks
February 19, 2011 at 4:57 pm #105773In reply to: Top Nav Bar Display Problems
AndroidTheater
MemberI just need to know where to go in order to change this. Where is the code for this bar usually saved? What code would you need to look at? the themes CSS? the site is live but i have deactivated buddypress until i figure this out.
February 19, 2011 at 4:29 pm #105769In reply to: Top Nav Bar Display Problems
Hugo Ashmore
ParticipantA SC isn’t going to be much use to someone trying to help you with coding issues

You simply have styling issues and need to work through the stylesheets adjusting where necessary you may or probably have still to ensure that the markup in BP files copied to your wp theme match to the WP theme files if you have ‘alignment’ issues.
Above all if you need help with code you will need to let coders have sight of code, a link to the site – if it’s up live – would be best.
February 19, 2011 at 5:00 am #105753In reply to: Will BP work with other themes and plugins?
Chaotic_Cannon
MemberWell what I want is when a user comes to the site and posts something in the forums, that the “most recent” posts are displayed in a widget on the main page. Is that possible do you think?
Also I do have a friend that knows how to code so I might be able to twist his arm to help in the coding of things.. but you are saying I can revamp the profile page to make it more like the vbulletin look of this http://www.ps3trophies.com/forums/members/35657-chaotic_cannon.html ??
The achievements addon for BP will be awesome as well. I also have access to graphics people that do awesome work too.
I am just wanting to get some response from people that are familiar with BP to know if it is a possibility since I do not have access to the site yet as I am still in the planning phases of the thing.
February 19, 2011 at 2:26 am #105747In reply to: How can I get the group creator?
Paul Wong-Gibbs
KeymasterEr. No. Did you try copying and pasting the groups create template into this other part of your theme?
February 19, 2011 at 2:20 am #105745In reply to: Will BP work with other themes and plugins?
Paul Wong-Gibbs
KeymasterThis is all possible but you will need to know how to create WordPress themes/templates. If you can’t, you’ll need to hire someone.
Likewise, because of the scope and complexity of this question, you’re unlikely to get any meaningful replies. Again, you’ll need to consider hiring someone, or at least installing BuddyPress and attempting to achieve these things, one step at a time.
February 19, 2011 at 1:34 am #105743In reply to: Will BP work with other themes and plugins?
@mercime
Participantcontinued from and concurrent with https://wordpress.org/support/topic/does-wp-offer-forums-for-wp-sites?replies=10
February 18, 2011 at 9:48 pm #105732ryanITLab
Participant@modemlooper – thanks!
February 18, 2011 at 8:13 pm #105719In reply to: Sort Groups Alphabetically by default (BP 1.2)
Andrew Tegenkamp
ParticipantI forgot to check for just members/groups so here’s the corrected version…
`
function sort_alpha_by_default( $qs ) {
global $bp;
if (!$qs && ( $bp->current_component == BP_GROUPS_SLUG || $bp->current_component == BP_MEMBERS_SLUG ) )
$qs = ‘type=alphabetical&action=alphabetical’;
return $qs;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘sort_alpha_by_default’ );
`February 18, 2011 at 7:51 pm #105717In reply to: [Resolved] Change site name in admin bar
@mercime
ParticipantYeah, I was in midst of correcting that hopefully before you saw it. Haste made waste.
function my_adminbar_name () { global $bp; echo '<a>root_domain . '" id="admin-bar-logo">Welcome Connect</a>'; } remove_action('bp_adminbar_logo','bp_adminbar_logo'); add_action('bp_adminbar_logo','my_adminbar_name');EDIT – Works when you put this in your active theme’s functions.php file (instead of the bp-custom.php file in plugins directory as mentioned above. Thanks to @DJPaul in this post).
February 18, 2011 at 7:29 pm #105714In reply to: Sort Groups Alphabetically by default (BP 1.2)
Andrew Tegenkamp
ParticipantOld thread but good google result… this mod seems to work best for me
1) add selected to your theme/child theme and also put Alphabetical at the top.
2) add this function into your theme’s functions.php
`
function sort_alpha_by_default( $qs ) {
return ($qs) ? $qs : ‘type=alphabetical&action=alphabetical’;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘sort_alpha_by_default’ );
`February 18, 2011 at 5:38 pm #105700modemlooper
ModeratorFYI: I will be moving these themes out of the WordPress repo. It takes too long for BuddyPress themes to get reviewed and updated. I have a group here so you can get updates. https://buddypress.org/community/groups/citizen-kane-theme/
February 18, 2011 at 9:29 am #105681John Horniblow
Participantand following the unsuccessful plugin update . I can’t view the site anymore , as I get this Fatal error
Fatal error: Call to undefined function bp_page_title() in …../wp-content/plugins/buddypress/bp-themes/bp-default/header.php on line 9where do I start ? update-notification.php or somewhere in a config ?
any ideas, anybody? there appears to be no documentation or other troubleshooting threads surrounding this error.
February 18, 2011 at 3:36 am #105676In reply to: default theme depending on profession?
Aritz Olabarrieta
MemberHello qprints, if I understand, you could do something like:
– Add a profile field called “Proffession” in the profile settings of buddypress.
– And in your theme, depending on the value each user has on the “Proffession” field, enqueue a css that overwrites the default css and does what it needs. Example:`
// Get Profile Field value for the $user_id specified and the field name specified
if ( xprofile_get_field_data( “Proffession” , $user_id) == “Engineer” ); {
// Enqueue the css
wp_enqueue_style (‘engineer-style’,’css/engineer.css’);
}
`Hope it helps…
February 17, 2011 at 8:46 pm #105651In reply to: Is BuddyPress capable of this?
andradenation
MemberGotta love GF.
Use the code below in your WP or BP theme functions.php file to tie a specific form to a custom post type.
Remember to set the form[“id”] to the id of the GF in the backend and then the slug of the CPT in the appropriate place below and that form will be tied to add posts to the CPT.`
add_filter(“gform_post_data”, “update_post_type”, 10, 2);
function update_post_type($post_data, $form){if($form[“id”] == ‘1’){
$post_data[“post_type”] = “custom-post-type”;
}
return $post_data;
}
`February 17, 2011 at 7:44 pm #105648henry0
MemberYeah, I thought it was that easy too. I took out that line of code in the member/single/home.php but the sidebar still shows up for some reason. I actually went in and took out that line of code for the member/single/index.php and for a few other files but the side bar is still showing up. I am running the buddypress template pack if that helps and I’m using my own custom theme.
February 17, 2011 at 12:48 am #105592In reply to: autocomplete not functioning when composing message
Aritz Olabarrieta
MemberHello, I am new in the site. It took me a while but I found a solution for the autocomplete feature, but the problem is that it can only be fixed changing a Buddypress core file, and that’s not the way. Anyway here is how I did it (found the code in this forum, don’t remember where exactly, so I am not the author of the code I am sharing, sorry about that). In the file “wp-content/plugins/buddypress/bp-messages/bp-messages-cssjs.php”:
Line 37, the original code: ( Comment it )
`var acfb =
jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . str_replace( ‘index.php’, ‘wp-load.php’, $_SERVER ) ?>’});`Paste this code right after the previous line:
`var acfb = jQuery(“ul.first”).autoCompletefb(
{urlLookup:’root_domain . ‘/wp-load.php’; ?>’}
);`It works for me with the latest version of Buddypress (1.2.7) and with the Friends feature enabled. My question is if it would be possible to include this in the latest Buddypress version so the autocomplete feature works out-of-the-box. I thought it didn’t work for me because I was using a custom buddy theme, but I tested it on a clean install with the default theme and it is broken when you first install it. I think that this way it would work from scratch. Probably you have been already told about this, sorry If I am being repetitive, and thank you for reading !
February 16, 2011 at 11:59 pm #105587pcwriter
ParticipantI hope you’ve also read up on creating and using a child-theme rather than editing bp-default. Makes updating BP a lot easier!
https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/February 16, 2011 at 10:56 pm #105579Danstinebaugh
ParticipantAlso I’ve used the default theme and to edit the (required) to something more like (required, but fake is fine) is in the `/wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php` file.
Again thanks Sofian and pcwriter! Made my day!
-
AuthorSearch Results