Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 30,176 through 30,200 (of 31,074 total)
  • Author
    Search Results
  • #39328

    In reply to: Where to start theming

    Andy Peatling
    Keymaster

    It’s okay to do anything you want with the theme files, just as you would do in WordPress.

    You don’t need the loader.php stuff if you don’t want to, however, it does add some extra functionality, such as cross theme CSS and the ability to selectively load styles.

    You should also read this:

    https://codex.buddypress.org/getting-started/using-the-buddypress-themes/

    #39314

    In reply to: Google Map Integration

    Lsm_267
    Participant

    Hi bergsten

    thanks for the plugin, essential for any network

    I installed the 2.0b2 version on my BP, put the php code you gave above (add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6);) in the index.php from the directory /wp-content/member-themes/buddypress-member/profile, exactly here :

    ‘<?php if ( function_exists(‘bp_send_message_button’) ) : ?>

    <?php bp_send_message_button() ?>

    <?php endif; ?>

    </div>

    <?php add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 6); ?>

    <?php bp_custom_profile_sidebar_boxes() ?>

    </div>

    <div class=”main-column”>’

    It’s working but a little buggy : the map shows two time as you can see here :

    http://vivre-en-autarcie.com/members/admin/profile/public

    something else is bugging.

    the button update your position leads to a page that doesn’t exist with slug: update-position

    the integration function works fine : I can edit a map where all markers my users are shown ; that’s great

    thanks for any help

    #39313
    dpsweb
    Member

    SORRY!!! I did this and the error went away:

    WPMU Admin Options > Allow New Registrations : Disabled.

    WPMU Admin LDAP Options > Disable Public Signup : NO

    What happens now is when a user clicks on the signup button it takes them to the WPMU login page. They login and it uses LDAP. There is no local user account signups as everything appears to be going through the LDAP plugin to authenticate.

    #39292
    Per Søderlind
    Participant

    fwiw: I’ve written a widget for ahp_recent_posts

    #39290
    filan
    Participant

    Thank you Trent, this works nicely!

    #39287
    Trent Adams
    Participant

    To get the theme that you want all users to have, just make the theme you want the default WPMU theme. This can be done by naming the folder of your theme “default” or looking at a plugin like this plugin.

    To get all the widgets that you want in there, It would be best to actually hardcode the widgets you want into the theme itself. If you look at the code of certain themes that do this already, it shows you how to do that. Then, finally if you don’t want users to be able to change around widgets, there is a plugin that limits what menu’s users can see, but don’t have the link off hand. You will have to search for that one.

    That is what I would do anyways!

    Trent

    #39283
    Trent Adams
    Participant

    The buddypress home them you mean? Just treat it like any other theme and put in an RSS widget to display your feed. Since the member theme isn’t editable in the admin, it requires more, but the buddypress home theme doesn’t.

    Trent

    #39276
    Simon
    Participant

    WordPress detects the currently enabled theme’s root and css directories via the bloginfo(‘template_directory’) and bloginfo(‘stylesheet_directory’) functions.

    To call the css and images from the home theme in a member theme template you would have to hard code the path references as “/wp-content/themes/buddypress-home/styles.css”.

    Personally, as hard coding is generally a bad idea, I would suggest simply copying the elements you wish to use from the home theme directory to the member theme directory and reference them the usual way.

    #39274
    Adam W. Warner
    Participant

    http://mybodypart.org/

    MBP is a social community meant for those of us who wear artificial body parts, and those that love us. If you own a body part that’s made of acrylic, steel, plastic, or any other man-made material, you’ll probably want to have a look around. You can learn more about why MyBodyPart.org exists here. MBP is completely free. Why not sign up for a profile and start connecting with others who have had, or are having similar experiences?

    (still needs branding and theme changes, oh, and also users, so why not sign up and help me create this community?:)

    #39261
    mkgold
    Participant

    Basically, I think I’m having problems with paths — the buddypress member page isn’t accessing the css/image files for the main theme. For some reason, I’m having trouble getting my head around this.

    Here is the actual error that I’m seeing:

    Warning: include(C:xampplitehtdocs/wp-content/member-themes/buddypress-member/options.php) [function.include]: failed to open stream: No such file or directory in C:xampplitehtdocswp-contentmember-themesbuddypress-memberheader.php on line 53

    Warning: include() [function.include]: Failed opening 'C:xampplitehtdocs/wp-content/member-themes/buddypress-member/options.php' for inclusion (include_path='.;C:xampplitephppear') in C:xampplitehtdocswp-contentmember-themesbuddypress-memberheader.php on line 53

    And here is a screenshot

    I want the header to match the header on this

    #39252

    In reply to: Google Analytics

    Trent Adams
    Participant

    It is just a WPMU plugin that adds the code to every page, not theme specific so it works with BP as well.

    Trent

    #39249
    Burt Adsit
    Participant

    What kind of problems are you running into?

    #39247

    In reply to: Upgrading

    Burt Adsit
    Participant

    It’s better to start a new topic for your kind of issue lorenzocoffee. I flipped the support red light on in this topic. We can do this here. When you start a new topic *you* have the ability to designate the topic as a support question and people will notice.

    OK. You’re trying to upgrade from the beta version of bp to RC-1. After uploading and replacing all the files in /mu-plugins and then moving the new themes to the proper locations in /themes and /wp-content, things don’t work.

    What does your apache error log say when you try to access your site. What is the url to your site?

    #39246
    reprocessor
    Participant

    Hi Burt,

    Thanks for getting back to me. I upgraded the themes but i’m using my own themes, I read on the forum that you have to copy functions.php for them to work and I did this. It worked yesterday fine but today when i tried to edit a group I created it went tits up :( I’m no php techie by any means so if you can show me where and how to fix this i’d be greatly appreciative.

    Cheers,

    Phil

    #39244
    Burt Adsit
    Participant

    That message “Are you sure you want to do this? Please try again” is a nonce failure message. Did you upgrade and not upgrade the bp themes? All bp code is now ‘nonce security’ aware. If your themes don’t send these ‘nonce’ values to bp everything comes to a screeching halt.

    For example:

    <p><input type="submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?> &raquo;" id="save" name="save" /></p>

    <?php wp_nonce_field( 'groups_edit_group_details' ) ?>

    That’s taken from the edit group details form. wp_nonce_field() creates a little hidden field with an access key for ‘groups_edit_group_details’ that gets compared in to a similar ‘nonce’ value generated in the actual function that does the validation and saving of group details. If they don’t match, the security check fails with that cryptic message from wpmu.

    #39226
    Trent Adams
    Participant

    The entire content for members pages is from the member theme itself. Without knowing what your specific question would be, the README for the member themes (creating your own) is a nice start to figuring out where the content comes from:

    https://trac.buddypress.org/browser/trunk/buddypress-theme/member-themes/member-themes-readme.txt

    Trent

    #39210
    Andy Peatling
    Keymaster

    As long as you make a template function, then people can include it in their theme. I will add some hooks to the directories though.

    #39187
    alainhc
    Member

    Well, i began working on my own theme, but not in the best way. I´m modifing the css files (by example, base.css) of the buddypress-home theme, to change the appereance of the pages. I just wanted to know if there is a tool or something that help me with this stuff. Because the API functions will not help me with my new theme (i think)

    alainhc
    Member

    When I activate the WordPress MU homepage theme it still happens.

    #39149
    Burt Adsit
    Participant

    The admin bar gets triggered on every ‘wp_footer’ action that your theme triggers. Which is on every page load. There is no function call from a php file that does it. bp is almost completely driven by wp ‘actions’. Everything gets loaded, defined and ready for the events that are defined to make things happen.

    Everybody is posting around each other here.

    The ‘wp_footer’ action is triggered by your theme’s usage of (normally) get_footer()

    which calls wp_footer()

    which does do_action(‘wp_footer’)

    which triggers bp_core_admin_bar() in bp-core-adminbar.php

    which gets you the admin bar.

    *deep breath*, let it out slowly now… :)

    Burt Adsit
    Participant

    Alain, try activating the ‘WordPress MU homepage’ theme. See if it happens.

    #39138
    alainhc
    Member

    Hi, I´m interested in making my own buddypress-home theme and buddypress-member theme, to fit my web site. I´ve been looking for information on the web, but I have not found anything good. Anyone has some kind of tutorial about it?

    Alain

    alainhc
    Member

    Hello everyone. Hi Burtadsit. I´ll try to explain using my poor English, I´m cuban. The error occurs in a Clean install, when you activate the home theme and try to visit the root blog, or the blog of any user previously created.

    The page show the following error:

    Warning: require_once(C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php) [function.require-once]: failed to open stream: No such file or directory in C:sitiossitiosocialwp-includestheme.php on line 822

    Fatal error: require_once() [function.require]: Failed opening required ‘C:sitiossitiosocial/wp-content/member-themes/buddypress-home/index.php’ (include_path=’.;C:xamppphppear’) in C:sitiossitiosocialwp-includestheme.php on line 822

    How you can see, the application doesn´t found a buddypress-home directory inside member-themes. So, we solve this making a copy of the buddypress-member and renaming it to buddypress-home.

    Changing the topic (I know this is out of forum). I´d like to make my own buddypress-home theme, and buddypress-member theme. Do you have any documentation about it???

    Alain

    #39136

    Well, it could really go in a few different places. Let me take a look when I get to work to see where will work the best.

    Here on BuddyPress, the “admin bar” has been nick named the “buddy bar.” It actually replaces the typical “admin bar” from a normal WPMU install.

    The files for it can be found in the bp-core directory if you needed to modify it for any reason.

    The buddy bar is actually loaded very last in the DOM, and it is absolutely positioned to top 0, so its essentially hovering over the body contents. Because there are at least two active themes at any given moment (home and member) you could either throw the css into homethemedir/css/site-wide.css, or all of the base.css for each theme.

    But let me double check for certain. :)

    #39135
    Sgrunt
    Participant

    sorry John it’s me again. I’m working on css but i need to change the page that shows a single group. Can you tell me what is that page? thanx again

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