Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 30,151 through 30,175 (of 31,074 total)
  • Author
    Search Results
  • #39518
    Burt Adsit
    Participant

    Since 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.

    #39494

    Burt (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.

    #39487
    mspecht
    Participant

    That would be great if there was one

    #39472
    nicolagreco
    Participant

    Really cool!

    #39469

    In reply to: bbpress theme

    felix2009
    Participant

    They’ve allready developed a buddypress theme for bbpress, take a look at their own forum ;)

    They just have to realese it …

    #39465
    modemlooper
    Moderator

    Sweet!

    #39460

    I 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.

    #39445

    In reply to: Member Page

    This is where the member theme gets tricky and throws a curve ball…

    Check out /mu-plugins/bp-groups/directories/bp-groups-directory-groups.php

    Those 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? ;)

    #39444

    You 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.7

    shutterReloaded is not defined - line 1 of:
    http://phoenix.fanster.com/wp-content/themes/azsh_mag/js/jquery-1.2.6.js

    Fix those and see if your ajax returns.

    #39418
    nicolagreco
    Participant

    Cool 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

    #39412
    Burt Adsit
    Participant

    Ya, 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.

    #39405
    fishbowl81
    Participant

    The 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.

    #39397

    Ah I love it when a plan comes together. Woop woop!

    #39396
    nicolagreco
    Participant

    ops 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

    ?>

    #39394
    Andy Peatling
    Keymaster

    If 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.

    #39393
    nicolagreco
    Participant

    if (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

    ?>

    #39391
    gpo1
    Participant

    @fishbowl81, Not bad attempt but don’t go for the myspace route..How did you get the amazon plugin or lastfm?

    #39390
    fishbowl81
    Participant

    Here 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

    #39388
    Burt Adsit
    Participant

    I 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);

    #39385

    I’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.

    #39382
    fishbowl81
    Participant

    I hate to take the myspace approach, but could add <style>CSS</style> into the group description.

    #39376

    I 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!

    You 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_domain as 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.

    #39351
    Burt Adsit
    Participant

    Sure you can. It’s just a theme like any other theme.

    bigkill
    Participant

    johnjamesjacoby – 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

Viewing 25 results - 30,151 through 30,175 (of 31,074 total)
Skip to toolbar