Search Results for 'theme'
-
AuthorSearch Results
-
July 1, 2009 at 6:36 pm #48370
In reply to: BP admin bar on bbpress front page
r-a-y
KeymasterSorry for not being clear!
What I mean by “deep integration” is calling WordPress into bbPress. You can do this by doing what Necati above you said. Then you can just follow the steps I have listed above.
Thanks for posting that for everyone! My instructions weren’t the clearest!
—
[EDIT]
I decided to post the full code again for clarity’s sake.
On line 2 in bb-config.php (located in your bbPress forum install), add this:
require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');Now, add this to your bbPress theme’s functions.php (if you do not have a functions.php file in your bbPress theme folder, create one!)
function recreate_bb_admin_bar() {
echo '<div id="wp-admin-bar">';
bp_adminbar_logo();
echo '<ul class="main-nav">';
bp_adminbar_login_menu();
bp_adminbar_account_menu();
bp_adminbar_blogs_menu();
bp_adminbar_notifications_menu();
bp_adminbar_authors_menu();
bp_adminbar_random_menu();
echo '</ul></div>';
}
add_action('bb_foot', 'recreate_bb_admin_bar');
add_action('bb_admin_footer', 'recreate_bb_admin_bar');
add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );I also made one last change to the function because it wasn’t XHTML validating before! See if you can spot the change
July 1, 2009 at 4:52 pm #48358In reply to: BP admin bar on bbpress front page
José M. Villar
ParticipantHi r-a-y,
What do U mean by keeping “deep integration” ? Do I need to add step #7 of Terryjsmith post, and then do your magic with bbPress theme’s functions.php ?
July 1, 2009 at 7:24 am #48336In reply to: url problem
John James Jacoby
KeymasterAre you using a custom theme of some kind? If so, did you copy over the code from bphome/functions.php? If not, do you have any other plugins installed, and can you verify that you have BuddyPress installed 100% correctly?
June 30, 2009 at 11:16 pm #48321In reply to: upgrading to BP1.0.2
r-a-y
KeymasterI was really looking for changes made to bpskeletonmember theme, so I only made two changes to two files (if I remember correctly!)
June 30, 2009 at 10:22 pm #48317In reply to: How to use full name, first name + last name
peterverkooijen
ParticipantSo, my best advice is that you will have to do as Mike Pratt suggests and then code a custom function to extract the new firstname and lastname data from an xprofile table as you see fit, or just output that data in your theme files.
I’m not too worried about displaying firstname and lastname once they are in the database, whereever they end up. My problem is how to customize the registration process to get them there, trying to find the shortest route, avoid redundancies.
As far as registration, have you looked at Mike’s site (http://buglenotes.com/register) to see what he does? If that is what you want, you should PM him and get more advice.
That is exactly what I want to avoid! Username is still at the top. I want to eliminate that impersonal username as much as possible. I want a simple, inviting, natural registration form like this:
- First name
- Last name
- Email address
- Blog name (=username, preferably auto-generated from first+last name)
That should be enough! Additional optional profile fields would be on a next page or in the members account settings.
Mike’s site has too many required fields. I assume Display Name is the default full name field in Buddypress and that he just added the others as custom fields.
This form has username + display name + first name + last name; way too confusing and annoying to potential members. Totally unnecessary, but understandable since Buddypress/WPMU makes it almost impossible to do anything else.
June 30, 2009 at 8:35 pm #48310In reply to: How to use full name, first name + last name
Jeff Sayre
ParticipantOK… So what does that mean practically?
Haha! Well, good question.
WPMU is not designed as a user-centric platform. It is blog-centric. BuddyPress puts the focus on the user.
So, my best advice is that you will have to do as Mike Pratt suggests and then code a custom function to extract the new firstname and lastname data from an xprofile table as you see fit, or just output that data in your theme files.
As far as registration, have you looked at Mike’s site (http://buglenotes.com/register) to see what he does? If that is what you want, you should PM him and get more advice.
June 30, 2009 at 7:20 pm #48305In reply to: Activation link show me errors
Kunal17
ParticipantHey DJPaul,
I have the same issue and I was able to isolate it to the Welcome Pack plugin (the errors disappear if I deactivate it). Mine is not a fresh install and I don’t think the errors were present more than a week ago. Since then I moved from BP1.0 to 1.0.2 so it might have something to do with that.
Not that it has to be the fault of the plugin. My theme is mostly default but I have made some minor modifications from tips across this forum.
I will try to trace back to see if I can figure out if one of the modifications is causing a conflict and let you know. I really hope someone figures out a solution as I find the Welcome Pack really useful and do not wish to deactivate it.
June 30, 2009 at 2:40 pm #48291In reply to: Commenting redirects to first post — problem
John James Jacoby
KeymasterWhich theme are you using? First guess would be that the theme is missing the div ID that WordPress looks for to redirect it to, but that’s a shot in the dark that I haven’t looked into yet.
June 30, 2009 at 8:11 am #48282In reply to: upgrading to BP1.0.2
Kunal17
Participantray, I have been keeping track of which core & theme files I modify.
I went through the various changesets like Jeff described above to see whether any of those files were changed and just made those changes on my old versions of those files and copied over the rest from the new versions.
Overall I had to edit less than 10 lines over 4-5 of my modified files to update my themes to BP1.0.2
June 30, 2009 at 7:32 am #48279In reply to: Who’s Online not working
dinhluong
ParticipantI’m using default themes.
June 30, 2009 at 3:31 am #48277In reply to: BuddyPress Showoff: Post your links
Sandeep Ramamoorthy
ParticipantUsing the default buddypress theme with minor changes…
Launched it just a week ago and already got 2 position in google…
June 29, 2009 at 11:43 pm #48274In reply to: BP admin bar on bbpress front page
r-a-y
KeymasterOkay everyone!
Here’s an update to my code for the BP admin bar in bbPress.
Keep the existing recreate_bb_admin_bar() function, but for the last part (the add_action’s) use this:
add_action('bb_foot', 'recreate_bb_admin_bar');
add_action('bb_admin_footer', 'recreate_bb_admin_bar');
add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );This uses bbPress’ default header and footer hooks instead of WordPress’, so in theory, you could get rid of wp_head and wp_footer in your bbPress theme.
You’ll still need to keep the deep integration code in your bb-config.php though!
Also this code is updated so you can see the BP admin bar in the bbPress admin area. The code before did not work for that!
June 29, 2009 at 5:39 pm #48265In reply to: upgrading to BP1.0.2
r-a-y
KeymasterWere there a lot of changes to the member themes?
I’m planning on upgrading to BP 1.0.2 myself and I have a somewhat, customized member theme.
June 29, 2009 at 3:50 pm #48260In reply to: BuddyPress Kills WordPress Themes
gwsa
ParticipantTurns out it might be a bug after all, or at the very least an incompatibility.
If a plugin calls ‘get_template_directory()’ on any page other than the blog (ie if it runs on the admin panel) BuddyPress intercepts the call and rewrites the theme directory thus killing all your themes.
Thanks for all your help.
(I had Maintenance Mode on, which I activated when I upgraded.)
June 29, 2009 at 1:33 pm #48246In reply to: 500 Error after uploading BuddyPress 1.0.2
Justin Brock
Participant1. Which version of WPMU are you running? 2.7.1
2. Did you install WPMU as a directory or subdomain install? Installed it into a subdomain, but new blogs will appear as directories I think.
3. If a directory install, is it in root or in a subdirectory? It’s in the root of the subdomain.
4. Did you upgraded from a previous version of WPMU? If so, from which version? no
5. Was WPMU functioning properly before installing/upgrading BuddyPress? yes
6. Which version of BuddyPress (BP) are you running? Attempting to install 1.0.2
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? no
9. Are you using the standard BuddyPress themes or customized themes? standard
10. Have you modified the core files in any way? no
11. Do you have any custom functions in bp-custom.php? no
12. If running bbPress, which version? none. Do I need bbPress?
13. Please provide a list of any errors in your server’s log files. not quite sure how to get to these.
My host is 1and1.
June 29, 2009 at 1:13 pm #48244In reply to: New Member Profile Information Not Displaying
Jeff Sayre
ParticipantWhenever you have issues with BuddyPress, the best course of action is to distill your setup down to the lowest common denominator. This means switching to the default BP themes (bphome and bpmember) that come with BuddyPress and deactivating all plugins except BP.
What happens then? If you do not have any more issues, then you know it has something to do with your custom theme, one of the plugins, or some combination.
You then start going back up the ladder one step at a time. Switch the default BP themes for your custom themes. Does the problem return? It not, then is has to do with your plugins. Activate one plugin at a time until the issue returns.
June 29, 2009 at 4:46 am #48229In reply to: Announcing: Events component
taebp
MemberHey – I’m somewhat of a noob with all this but fairly technically adept and have been doing OK. I have installed events via your directions and also uninstalled (deleted with the plugin delete utility) and installed again with the new “browser auto install of zip files” feature. It looks like all functionality is there except for when you go to Events on the pull down menu for the user – you get “Not Found / No Access The page you are looking for either does not exist, or you do not have the permissions to access it.” I’ve been poking through the files and didn’t see any in the mu-plugins directory but when I added the files as instructed, I got that big gnarly “cannot redeclare events” error message that was a few posts back..This is a killer plugin that I’m excited about..can you help? My environment is latest versions of wpmu and buddypress as installed in the last few days. I’m running a test environment with the “buddydress” theme that incorporates the same look and feel for wp and bp..thanks in advance for your help.
Thomas
June 29, 2009 at 2:52 am #48227In reply to: Who’s Online not working
Jeff Sayre
ParticipantAre you using custom themes or the default BP themes? If using custom themes, try switching to the default themes and see if the widget works.
June 28, 2009 at 6:47 am #48200In reply to: Removing Userbar Login
John James Jacoby
KeymasterI guess the easiest way to do this, would be to edit the userbar.php file in your active member theme, and replace everything between…
<?php else : ?>and…
<?php endif ?>Remember that commenting out the HTML doesn’t stop the PHP from getting processed, so all of the “_e”‘s are getting echo’ed even though you commented out the HTML.
June 28, 2009 at 1:29 am #48195In reply to: New Member Profile Information Not Displaying
connorg
ParticipantOnly the BuddyPress theme has the Member Profiles that I am having trouble with.
June 27, 2009 at 7:32 pm #48181In reply to: Registration is not working
Jeff Sayre
ParticipantSwitch to the default BuddyPress themes and deactivate all plugins except BuddyPress. Try the registration process again. If it works, switch to the FaceBuddy theme. Try registration again. If it is still working, activate one of the plugins, etcetera.
You must distill your BP environment down to the lowest common denominator–default themes, no plugins except BudddyPress activated–and see if everything works with that set up. If so, you then add one thing back at a time (first your custom theme, then one plugin at a time) until the problem occurs again.
Let us know what you discover.
June 27, 2009 at 3:11 pm #48178In reply to: upgrading to BP1.0.2
Jeff Sayre
ParticipantKunal17-
What I meant was you start at that changeset (r1468) and go through all of the changesets up to the current one (r1593). Although, you should be okay only going up to r1577. So, that is at least 109 changesets you have to search through. To navigate through the changesets, look near the upper right-hand cornor. You’ll see these links:
<-Â Previous Change | Next Change ->Look for any changes to the theme files. I do not know how many of the revisions deal with themes.
June 27, 2009 at 2:58 pm #48176In reply to: upgrading to BP1.0.2
Kunal17
ParticipantJeff,
Thanks for the advice. Looking at https://trac.buddypress.org/browser/trunk/bp-themes?rev=1468, I see a few changes in both the member as well as the home theme to make them compatible with Firefox 3.5. The other changes are 2 months old (which would make them older than BP1.0 that I was running before I updated)
Sorry to trouble you, but can you confirm that this is all that has changed in 1.0.2. I believe that even in the listed changes on the blog post, this is the only change that could correspond to the default themes. Ive tried to dig further, but I am not very familiar with the trac system.
June 27, 2009 at 2:47 pm #48175In reply to: upgrading to BP1.0.2
Jeff Sayre
ParticipantAnother question: Are there any upgrades to the default member & home themes from 1.0 to 1.0.2?
Yes. There have been an number of changes and improvements. You have two choices:
- Make a copy of the v1.0.2 default themes and modify those copies to match your current theme customizations
- Or, go through the changesets in trac starting here and look for any theme changes and then make those in your current themes
June 27, 2009 at 10:36 am #48165In reply to: upgrading to BP1.0.2
Kunal17
ParticipantI just updated using the above steps and there aren’t any immediate errors so I am happy about that. I will do some more testing to make sure everything is working fine.
Another question: Are there any upgrades to the default member & home themes from 1.0 to 1.0.2? I have (slightly) modified versions of both and I was wondering whether I need to overwrite my themes from the 1.0.2 versions as well.
-
AuthorSearch Results