Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 31,676 through 31,700 (of 32,561 total)
  • Author
    Search Results
  • #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

    #39132
    bmg1227
    Participant

    Forgive my ignorance, would this go in the home theme’s base.css or the admin bar’s css? I put it in the base.css, but it didn’t really work, What I’d like to do is have the admin bar just be at the top, and then just have everything start below it. Another question, is what file is the admin bar actually called?

    #39128
    Bento
    Participant

    nvm, im a retard

    #39122

    You bet!

    Basically my little tweak didn’t accommodate for the additional little areas that can be in the same little area underneath the avatar.

    You may need to tweak more than CSS to make that work, since that area could grow long with moderators and things.

    #39120
    Sgrunt
    Participant

    it is the shot: http://wikiroma.it/group.gif

    however thank you so much, i’ll try to tweak the css!

    #39119

    I’ve made my way around the block a few times.

    I didn’t really test it in all areas, so you may need to tweak some things, like the group page, or a page without an avatar that is within the members area…

    #39118
    Sgrunt
    Participant

    you know very well the bp css :-)

    it’s all working…member pages looks great but….grrrr..entering a group page it looks a bit weird. in a moment i’ll post a screenshot to better explain.

    #39117

    buddypress-member/css/base.css – line apx 495 – Make that be…

    .main-column h1 a, #blog-info h1 a {
    color: #646464;
    margin: -120px 0 0 200px;
    position: absolute;
    }

    #39116
    Sgrunt
    Participant

    you are great, it works! only a little little thing: could you help me in putting the profile name on the right of the avatar? in this way i’ll avoid all the blank space on the right of the avatar.

    #39115

    I’ll be here :)

    #39114
    Sgrunt
    Participant

    thanx John, i try your code and i tell you in a few minutes!

    #39113

    buddypress-member/css/base.css – line apx 477 – remove

    float: left;

    bp-core/css/structure.css – line apx 110 – remove

    float: left;

    bp-core/css/structure.css – line apx 64 – remove

    margin-left: 200px;

    Give that a shot?

    #39094

    In reply to: Need theme help

    Emailed.

    #39087

    In reply to: Need theme help

    Burt Adsit
    Participant

    Please leave your email address so anyone interested can contact you. Gotta close this topic afterward.

Viewing 25 results - 31,676 through 31,700 (of 32,561 total)
Skip to toolbar