Search Results for 'theme'
-
AuthorSearch Results
-
March 9, 2009 at 4:55 am #39518
In reply to: Setting – Not Found / No Access
Burt Adsit
ParticipantSince John exhausted all other possibilities. I dove into the source code.
Do you have the file plugin-template.php in your directory /wp-content/member-themes/buddypress-member ?
It loads that as the template for the settings screen. If it’s missing (I renamed mine as a test) it give that error.
March 9, 2009 at 1:02 am #39494In reply to: Buddypress theme for bbPress ?
John James Jacoby
KeymasterBurt (one of the other moderators here) and myself are both working on similar (but separate) projects, and I’m sure we’ll collaborate at one point to come up with a workable solution. Burt is much more knowledgeable on the backend subject of how these two speak to each other, so he’s the brains behind the operation.

Mine requires “deep integration” and Burt’s bbGroups plugin to work as expected, and in my opinion it shouldn’t be any other way right now.
To my knowledge there isn’t a bbPress/BuddyPress theme available for download yet, but it will be my pleasure to release mine once I have worked out all the kinks.
March 8, 2009 at 11:07 pm #39487In reply to: Buddypress theme for bbPress ?
mspecht
ParticipantThat would be great if there was one
March 8, 2009 at 11:03 am #39472In reply to: Skeleton Theme & Component for Developers
nicolagreco
ParticipantReally cool!
March 8, 2009 at 8:55 am #39469In reply to: bbpress theme
felix2009
ParticipantThey’ve allready developed a buddypress theme for bbpress, take a look at their own forum

They just have to realese it …
March 8, 2009 at 8:23 am #39465In reply to: Skeleton Theme & Component for Developers
modemlooper
ModeratorSweet!
March 8, 2009 at 7:26 am #39460In reply to: Buddy Press Home Page as a Content Page
John James Jacoby
KeymasterI would recommend installing WPMU in the root directory, and modifying home.php in your buddypress-home theme to best match your existing site while still incorporating most of the typical, familiar BuddyPress links.
To answer your questions, WPMU gets installed in the root directory, and BuddyPress is installed in the wp-content/mu-plugins/ directory. (Check codex.buddypress.org for install help.)
The BuddyPress homepage is the home.php file I mentioned above. The files in your root directory are just functionary place holders to help tell WPMU/BuddyPress what content to get from the database and then to tell them which theme files to display that data with.
March 8, 2009 at 4:30 am #39445In reply to: Member Page
John James Jacoby
KeymasterThis is where the member theme gets tricky and throws a curve ball…
Check out
/mu-plugins/bp-groups/directories/bp-groups-directory-groups.phpThose files technically aren’t part of the member theme, because they’re not really displaying any specific member or group info; they’re part of the BuddyPress Groups Directory page, and they are meant to be styled site wide using the home themes header and footer files, not the member themes.
Tricky eh?
March 8, 2009 at 4:12 am #39444In reply to: Widget Ajax Problem on Members/Groups
John James Jacoby
KeymasterYou have javascript errors that are causing the other scripts to stop.
jQuery("div#members-list-options a").livequery is not a function - line 3 of:
http://phoenix.fanster.com/wp-content/mu-plugins/bp-core/js/widget-members.js?ver=2.7shutterReloaded is not defined - line 1 of:
http://phoenix.fanster.com/wp-content/themes/azsh_mag/js/jquery-1.2.6.jsFix those and see if your ajax returns.
March 7, 2009 at 12:26 pm #39418In reply to: Is it possible to have custom themes for groups?
nicolagreco
ParticipantCool idea,
this week i’ll commit bpdev extra groups,
so groups could have extra field and if you want do that you need add meta for theme like
Add new field for theme:
Theme : – 1 white theme
– 1 black theme
and after do that
bpdev_theme_register_style(
'my-styles', // your style slug name
'XBOX Styles', // your style name
"xbox_color{$color}", // callback
'on', // status "on" on default
'off', // off will not display it in admin interface
( bpdev_get_groupmeta($groups_obj->id, 'color' ) == $color ) ? ( true ) : ( false ); // the group ID
);wait less than a week to do that
March 7, 2009 at 12:29 am #39412In reply to: BP Content Tags Project – Call For Ideas
Burt Adsit
ParticipantYa, Brad is inventing group custom templates. Andy was way ahead of us though with the db theme/stylesheet config options. Just need to pay attention to that spot. The group templates is a killer idea.
I can’t think of any product that has as much potential as bp. I can’t think of any current project that people get fired up over like they do bp. The fun is just beginning.
March 6, 2009 at 10:30 pm #39405In reply to: Is it possible to have custom themes for groups?
fishbowl81
ParticipantThe reason for going the myspace route, it allows members to generate themes, and not requiring me to upload css files.
I will take a look at these other options, but this might be a good starting route to allow members to adjust their own group look and feel.
March 6, 2009 at 9:29 pm #39397In reply to: Is it possible to have custom themes for groups?
John James Jacoby
KeymasterAh I love it when a plan comes together. Woop woop!
March 6, 2009 at 9:27 pm #39396In reply to: Is it possible to have custom themes for groups?
nicolagreco
Participantops stupid error
<?php
/*
Author: Nicola Greco
Author URI: http://nicolagreco.com
*/
require_once( ‘bp-core.php’ );
require_once( ‘bpdev-core.php’ );
function bpdev_search_css() {
global $group_obj;
bpdev_theme_register_style(
‘my-styles’, // your style slug name
‘XBOX Styles’, // your style name
‘xbox_styles_function’, // callback
‘on’, // status “on” on default
‘off’, // off will not display it in admin interface
( $groups_obj->id == 1 ) ? ( true ) : ( false ); // the group ID
);
}
function xbox_styles_function() { // example of css content
?>
#header {
background: #FFF;
}
<?php
}
add_action( ‘bpdev_theme_extra_setup_globals’, ‘bpdev_search_css’ ); // it will add the style
?>
March 6, 2009 at 9:01 pm #39394In reply to: Is it possible to have custom themes for groups?
Andy Peatling
KeymasterIf you look in the table wp_bp_groups_groupmeta you will see that every group has a theme and stylesheet applied to it. This corresponds with the member theme used to display the group.
I can’t remember if I use the table to load the theme at the moment, but it should make it easy to have multiple themes that you can then pick for each group.
March 6, 2009 at 8:56 pm #39393In reply to: Is it possible to have custom themes for groups?
nicolagreco
Participantif (the group is XBOX) add_action(‘wp_print_styles’, ‘your style hook’)
i made a good set of functions in bpdev theme to add stylesheet with condition, look here:
http://trac.bp-dev.org/plugins/browser/trunk/bpdev-theme/bpdev-theme-extra.php
look line 9:
function bpdev_theme_register_style( $slug, $name, $callback, $default = 'off', $admin_show = 'on', $condition = true, $priority = 1 ) {it means that with this function you will be able to add styles in wordpress/buddypress integrating them in the bpdev admin interface to activate or deactivate them,
in your example you need a plugin like that called for example my-styles-bpdev.php
<?php
/*
Author: Nicola Greco
Author URI: http://nicolagreco.com
*/
require_once( 'bp-core.php' );
require_once( 'bpdev-core.php' );
function bpdev_search_css() {
global $group_obj;
bpdev_theme_register_style(
'my-styles', // your style slug name
'XBOX Styles', // your style name
'xbox_styles_function', // callback
'on', // status "on" on default
'off', // off will not display it in admin interface
$group_obj->id = 1; // the group ID
);
}
function xbox_styles_function() { // example of css content
?>
#header {
background: #FFF;
}
<?php
}
add_action( 'bpdev_theme_extra_setup_globals', 'bpdev_search_css' ); // it will add the style
?>March 6, 2009 at 8:49 pm #39391In reply to: Is it possible to have custom themes for groups?
gpo1
Participant@fishbowl81, Not bad attempt but don’t go for the myspace route..How did you get the amazon plugin or lastfm?
March 6, 2009 at 8:45 pm #39390In reply to: Is it possible to have custom themes for groups?
fishbowl81
ParticipantHere is a very very rough attempt,
http://gorgeousgamers.com/beta/groups/official-wii-group/home
as a note, you need to modify kses.php to allow style tags.
Brad
March 6, 2009 at 8:30 pm #39388In reply to: Is it possible to have custom themes for groups?
Burt Adsit
ParticipantI ran across something similar.
https://wordpress.org/extend/plugins/art-direction/
Allows ‘per blog post’ custom css. Cool.
In the case of bp the css gets queued up on a very selective basis. This is from bp-groups-cssjs.php in /mu-plugins/bp-groups:
function groups_add_structure_css() {
/* Enqueue the structure CSS file to give basic positional formatting for components */
wp_enqueue_style( ‘bp-groups-structure’, site_url( MUPLUGINDIR . ‘/bp-groups/css/structure.css’ ) );
}
add_action( ‘bp_styles’, ‘groups_add_structure_css’ );
We got actions too. Hook ‘bp_styles’ and define an override for the defaults. You might have a problem getting it in the sequence properly.
function my_custom_group_css(){
// check if the file exists and if it does queue it up
‘group-custom-‘ . $bp->groups->slug . ‘.css’
}
add_action(‘bp_styles’, ‘my_custom_group_css’, 99);
March 6, 2009 at 8:14 pm #39385In reply to: Is it possible to have custom themes for groups?
John James Jacoby
KeymasterI’d love to actually just have several themes with different .css files and that’s it. Selecting a different theme would keep the same structure, but allow for different styling.
March 6, 2009 at 8:02 pm #39382In reply to: Is it possible to have custom themes for groups?
fishbowl81
ParticipantI hate to take the myspace approach, but could add <style>CSS</style> into the group description.
March 6, 2009 at 7:20 pm #39376In reply to: Is it possible to have custom themes for groups?
John James Jacoby
KeymasterI think this is actually an AWESOME idea, and one I’ve been poking around at in my head for a while.
Not sure there is a super easy way to incorporate this, but I’d love to see it done!
March 6, 2009 at 5:15 pm #39370John James Jacoby
KeymasterYou will have to have a separate theme for your subdomain, and hard-code the links to go back to your root domain.
The way I did this, was to have a “buddypress-home” theme, and a “buddypress-sub” theme. The sub theme is basically a copy of all of the files from the “buddypress-home” theme, but without home.php, an edited style.css to change the name of the style, and a modified header.php which I will explain below.
The home theme is activated only for the root blog, the sub theme for all others.
In the header.php file for the sub blogs, I used
$bp->root_domainas the destination for each link, plus whatever slug was appropriate (MEMBERS_SLUG, BP_GROUPS_SLUG, BP_BLOGS_SLUG).I also went ahead and made the BP_BLOGS_SLOG link
class="selected"right away, that way when you’re in a sub blog, the appropriate tab is always shown as selected.March 6, 2009 at 10:25 am #39351In reply to: Can the BP Main theme be on blog #2?
Burt Adsit
ParticipantSure you can. It’s just a theme like any other theme.
March 5, 2009 at 10:29 pm #39329bigkill
Participantjohnjamesjacoby – you got it man.. it was in the wp-config
changed from
$base = ‘base’;
changed to
$base = ‘/’;
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
define(‘VHOST’, ‘no’);
$base = ‘/’;
define(‘DOMAIN_CURRENT_SITE’, ‘bigkill.com’ );
define(‘PATH_CURRENT_SITE’, ‘/’ );
define(‘BLOGID_CURRENT_SITE’, ‘1’ );
but now that I can see the blog it appears that the theme doesn’t get applied http://bigkill.com/foundonweb/
time to open a new post
-
AuthorSearch Results