Search Results for 'theme'
-
AuthorSearch Results
-
September 28, 2009 at 10:07 pm #53209
In reply to: My Activity Stream is showing site-wide activity
Andy Peatling
KeymasterFixed it, problem in the old theme.
September 28, 2009 at 9:49 pm #53207In reply to: Members directory shows blank profile
Jeff Sayre
ParticipantOkay, a few questions to start:
- From your description, it is not clear how you’ve attempted to debug your setup. When trying to figure out an issue with BuddyPress, it is best to distill your environment down to the lowest common denominator. This means switching to the default BP theme and deactivating all plugins except BP. It is not clear if you did this completely or just partially. In other words, you need to fully test your BP install without any 3rd-party addons. If it works in that state, then you can safely assume it is an issue with a custom theme, another plugin, or both. So, did you reset BP to its lowest common denominator?
- What errors are you seeing in your server’s log files?
- Could you please provide details about this setup:
I have Buddypress installed in a subfolder with another wordpress installation in the root…
September 28, 2009 at 5:45 pm #53195fti-cornwall
MemberThanks.
I got it working fine once I had the actual BuddyPress folder on my server.
Time to have a moan at my host I thinks…
Thanks for the help.
September 28, 2009 at 5:16 pm #53193takuya
ParticipantDO NOT use installers other than default wpmu plugin installer. Install buddypress from wordpress plugin installer, or set it up manually with FTP/SSH.
And make sure to activate the theme before you select themes. Which is explained in wpmu documents.
September 28, 2009 at 5:16 pm #53192fti-cornwall
MemberNow I do know what you mean, my host doesn’t include BuddyPress in their install even though they call it BuddyPress in the Cpanel. Weird, they have an install for WP, WPMU and BuddyPress yet leave out the BuddyPress folder from the install!
Thanks, I’ll download it and install to server.
September 28, 2009 at 5:12 pm #53189In reply to: site wide members page has bugged out
Greg
ParticipantMore info:
I have tried a fresh upload of BP files, and used default themes, disabled all plugins, deleted bp-custom.php, added users, and nothing seems to fix it. Also, when I try to visit the members page, Buddypress seems to think it is on the “home” page (the home link gets “active” class added)
The strange thing is, when I try to search for users, it shows the directory page properly, but only then. Also, if I try the “visit random member” button it ALWAYS shows the blank user that is shows when I just go to the members directory page.
It isn’t a plugin, or theme file, could it possibly be something in the database? I couldn’t find anything.
I am using the BP 1.03 and WPMU 2.8.4a
How’d you get yours to work Matt?
September 28, 2009 at 5:01 pm #53187In reply to: Extending WordPress Themes – Post Experiences
Detective
ParticipantMy approach is kind of weird.
First:
I needed a custom BP framework. So I started looking at the old Skeleton Theme. The first thing I noticed is that I didn’t want a fixed layout BP theme, so I removed all sidebars in each template file and wrapped the content inside a function.
This means that every template file of my BP theme was something like this:
<?php
/* my license ... GPL2 of course
*/
function this_file_content() {
?>
just the content of the page, without sidebars
<?php
}
my_layout_generator( 'this_file_content' );The magic is in my_layout_generator, which defines the html layout of each page. This includes sidebars and other stuff. The sidebars are fully widgetized, and I have custom widgets like “BP Options Bar” and “BP User Bar”, etc. Their content is also managed through actions.
my_layout_generator can mimic any WordPress theme, you just have to write the “skeleton layout” of your target theme.
Second:
This BP framework must be integrated with the WP theme. I setup the framework as child-theme and the original WP theme as parent theme.
Considering this, my_layout_generator has the following body (simplified from the original):
function my_layout_generator( $content_func = '' ) {
get_header();
?>
<div id="container">
<?php
if ( !empty( $content_func ) && is_callable( $content_func ) )
call_user_func( $content_func );
?>
</div>
<div id="sidebars">
<?php // your sidebars code ?>
</div>
<?php
get_footer();
}This uses the original theme headers and footers. I just need to provide the correct markup in the content!
There are other things to care about, like page title. Probably the header of the original theme uses wp_title instead of the BP title. Luckily, wp_title can be filtered! This is actual code from my framework:
add_filter( 'wp_title', 'gs_wp_title' );
// we need to put the current page title on the wp_title filter, so thesis will catch it
function gs_wp_title($title, $sep = '', $seplocation = '') {
if ( bp_is_blog_page() )
return $title;
global $bp;
if ( !empty( $bp->displayed_user->fullname ) ) {
$title = strip_tags( $bp->displayed_user->fullname . ' — ' . ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'] );
} else if ( $bp->is_single_item ) {
$title = ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_title;
} else if ( $bp->is_directory ) {
if ( !$bp->current_component )
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( BP_MEMBERS_SLUG ) );
else
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( $bp->current_component ) );
}
return $title;
}Now we have an integrated BP theme framework
Mine is integrated with Thesis, I think other themes will be much easier to integrate because you can directly copy their layouts from their template files.
September 28, 2009 at 4:55 pm #53184fti-cornwall
MemberNot sure what you mean by downloaded and activated?
My host provides an automatic install of BuddyPress from my cpanel. I installed it from cpanel, set the site name and email then logged into the admin panel. All other themes work except your BuddyPress Default Home Theme. Its on the server in /themes/bphome and it shows up as a thumbnail in the ‘manage themes’ page but the site shows a blank page after I activate it.
September 28, 2009 at 4:48 pm #53183Andy Peatling
KeymasterMake sure you actually have BuddyPress downloaded and activated and you’re not just trying to activate the themes.
September 28, 2009 at 4:46 pm #53182fti-cornwall
MemberThanks. There’s nothing showing in my cpanel ‘error logs’.
Would they be found in my ‘error logs’ in cpanel or are php errors stored elsewhere?
September 28, 2009 at 4:44 pm #53178In reply to: Modifying activity content
Andy Peatling
KeymasterFind the specific filter on wire activity posting and use that in your themes’ functions.php.
September 28, 2009 at 4:37 pm #53176Andy Peatling
KeymasterDelete BuddyPress and the /wp-content/bp-themes/ directory. Deactivate all of your plugins. Upload 1.1 and move the new themes, reactivate.
September 28, 2009 at 4:34 pm #53174Andy Peatling
KeymasterCheck your PHP logs for the error.
September 28, 2009 at 2:54 pm #53166lostdeviant
Participantyes, by default theme I mean the buddypress one..
September 28, 2009 at 2:29 pm #53164In reply to: css broke my buddypress
John James Jacoby
KeymasterThe skeleton theme is a bare-bones HTML theme that exists for you to add your custom CSS to, so yes absolutely go nuts and edit until your heart’s content.

I would suggest, however, that if you are new to BuddyPress, that you start off with the Release Candidate rather than 1.0. It will give you a head start on what is coming by the time you’re comfortable enough to go live.
September 28, 2009 at 2:14 pm #53163In reply to: css broke my buddypress
concrain
ParticipantCan i replace the skeleton theme css with my own…
hey thanks guys. sorry it seem like such a simple question.
September 28, 2009 at 1:58 pm #53162lostdeviant
Participantto remove the possibility of some undefined file not uploading correctly, I made a zip file with everything, uploaded that and extracted it with the control panel file managerbefore activating (again) buddy press and the default theme.
no change.
September 28, 2009 at 12:37 pm #53157lostdeviant
ParticipantIs the CSS being loaded?
yes I see style when using the theme, but as I mentioned all the buddypress specific pages are “page not found” in otherwords the widgets and the regular MU stuff loads like blog posts and blog pages.
Have you changed the permalink settings in WPMU?
not recently. Currently:
custom /%postname%/
Do you have a htaccess file in your WPMU install?
yes
Since you say you have uploaded manually, you may have missed a file or put something in the wrong place. Or perhaps the file/directory permissions need setting correctly? (I’m not sure what to, try 777 for a test)
well, I’ve reuploded everything at least once. Which files should be changed to 777? I didn’t see anything in the readme about making everything publicly editable.
Can’t you post url to your test site? is it local? or screenshots maybe?
no, because it is a real site, after I finish making sure Buddypress still doesn’t work, I deactivate the Buddypress plugin and reactivate my normal theme.
local? not sure what you mean by that.
everything LOOKs good except for the “page not found” where the normal content should be on buddypress pages. I see the style and widgets load.
September 28, 2009 at 7:00 am #53153Paul Wong-Gibbs
KeymasterWhen using the home theme:
Is the CSS being loaded?
Have you changed the permalink settings in WPMU?
Do you have a htaccess file in your WPMU install?
Since you say you have uploaded manually, you may have missed a file or put something in the wrong place. Or perhaps the file/directory permissions need setting correctly? (I’m not sure what to, try 777 for a test)
September 27, 2009 at 3:46 pm #53141lostdeviant
ParticipantI only tried the parent as a TEST after the fact that the member theme didn’t work.
I don’t see why buddypress wouldn’t work with blogs in subdirectories since that would be the most logical install (since it doesn’t require extra server setup) That is how MU works.
It is installed at the webroot.
If buddypress is now exclusively subdomains, I’ll have to look for another solution (or start coding my own friends,groups, and internal messaging hacks *sigh* which wouldn’t be good enough to share.
I did another search this morning of the forum and I see that several others are having the same exact problem, but no one has replied with any fixes. I saw a few threads saying not to have mu installed in a subdirectory, but that is not my case. It is so disappointing.
September 27, 2009 at 3:20 pm #53139takuya
ParticipantNever use bp-sn-parent as it says.
There’s no hacking needed to use default theme.
Perhaps subdirectory is conflicting with buddypress, as I never done that before. It’s always recommended to use subdomains. Anyway, search the forum again with different keywords and wait for else to post here.
September 27, 2009 at 2:16 pm #53138lostdeviant
Participantjust as a test I tried using the parent theme instead of default. No, those pages still didn’t work.
Where in the code are those pages set to direct to the right template pages? ( because it isn’t working) perhaps there is a hack to get it working.
September 27, 2009 at 1:04 pm #53137In reply to: Details About the New Theme Architecture
takuya
ParticipantJust to note my above problem is now fixed. Thanks to Brajesh.
September 27, 2009 at 11:06 am #53133In reply to: Static Front Page, Blog Link Doesn’t Work
thomasbp
ParticipantMay I reopen?

The solution above worked for me until BP 1.1.
Now I don’t want to tamper around with the functions.php in the parent theme.
Thus I’ve tried to unhook the “bp_dtheme_show_home_blog” function in the bp-sn-parent/function.php by entering
remove_action( ‘wp’, ‘bp_dtheme_show_home_blog’, 2 );
into the functions.php of my child theme. Even though other functions in my child functions.php are working the removing of this action does not succeed. Any idea why?
September 27, 2009 at 8:33 am #53131In reply to: Where is the dashboard link ?
danbpfr
ParticipantThank you socialpreneur for the response, but….
Since 10 mounth i go to the backend via these menu item.
As site admin i have to work in the admin.
Since the update to 1.1 i can no more access to “publish” I entend that BP should be manageable from the frontend, but if so it is also normal that i can publish, delete or edit my stuff.
It’s not my first update, i know FTP and SSH and i handle always manually. And so far as i can see, my theme is setted correctly. You can take a look, the address is above.
In bp-core_adminbar.php, at line 151, is a list
echo ‘<li’ . $alt . ‘>’;
echo ‘siteurl . ‘”>’ . $blog->blogname . ‘ (‘ . $role . ‘)‘;
if ( !( ‘Subscriber’ == $role ) ) { // then they have something to display on the flyout menu
echo ‘
- ‘;
- siteurl . ‘/wp-admin/post-new.php”>’ . __(‘New Post’, ‘buddypress’) . ‘
- siteurl . ‘/wp-admin/edit-comments.php”>’ . __(‘Manage Comments’, ‘buddypress’) . ‘
echo ‘<li class=”alt”>siteurl . ‘/wp-admin/”>’ . __(‘Dashboard’, ‘buddypress’) . ‘‘;
echo ‘
‘;
echo ‘<li class=”alt”>siteurl . ‘/wp-admin/edit.php”>’ . __(‘Manage Posts’, ‘buddypress’) . ‘‘;
echo ‘
‘;
if ( ‘Admin’ == $role ) {
echo ‘<li class=”alt”>siteurl . ‘/wp-admin/themes.php”>’ . __(‘Switch Theme’, ‘buddypress’) . ‘‘;
}
echo ‘
‘;
The file is from 1.1 version.
The first line indicates the wp-admin url.
I don’t see this menu when i’m logged as admin. I have only “My blogs” who links to the root site and “Create a blog”
Meanwhile there is another tread here with the same problem i guess
https://buddypress.org/forums/topic/my-blogs-admin-menu-not-working
-
AuthorSearch Results