Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 29,876 through 29,900 (of 31,071 total)
  • Author
    Search Results
  • #41110
    mspecht
    Participant

    @Imgoel in my bp-custom.php I put:

    function js_restrict_access(){
    global $bp, $bp_unfiltered_uri;

    if (!is_user_logged_in() && (MEMBERS_SLUG == $bp_unfiltered_uri[0]
    || BP_GROUPS_SLUG == $bp->current_component || BP_BLOGS_SLUG == $bp->current_component)){
    bp_core_redirect( get_option(\\\'home\\\') . \\\"/register?s=1\\\");
    }
    }
    add_action( \\\'wp\\\', \\\'js_restrict_access\\\', 3 );

    Then in my theme I put the following in register.php:

    <?php
    if($_REQUEST[\\\"s\\\"]){?>
    <script type=\\\"text/javascript\\\">
    jQuery(document).ready(function () {
    setTimeout(function(){ jQuery(\\\"#error\\\").fadeOut(\\\"slow\\\"); }, 3000);
    });
    </script>
    <div id=\\\"error\\\" class=\\\"error\\\">
    <p>You can only view this information if you are a registered user. Either login or register to continue.</p>
    </div>
    <?php } ?>
    <?php bp_core_signup_do_signup() ?>

    #41104
    oldskoo1
    Participant

    Yep makes more sense and working great now :)

    #41078
    Andy Peatling
    Keymaster

    You’re better off using the new users template tags. Check out the members directory template loop in the member theme in the latest trunk.

    bp-themes/buddypress-member/directories/members/members-loop.php

    You can set specific ways to order members:

    bp_has_site_members( 'type=alphabetical&amp;per_page=10' ) )

    type can be: active ( default ) | random | newest | popular | online | alphabetical

    This is only in the latest trunk, not RC1.

    #41074
    2222427
    Inactive

    My facebook inspired theme here http://bit.ly/VceH6

    Any idea on how to implement a sort_by_name functionality to the members widget on the home page?

    Thanks

    #41060
    zenseeker
    Participant

    Thanks Burtadsit,

    Idiot me. Probably shouldn’t have taken that hiatus from BP. All is well and working. I shall discipline myself to reading the docs before posting next time. Glad there’s docs now!

    stefk
    Participant

    Hi Guys

    I am having the same problem and im totally new to this. To Matto: Thanks for the advice but il be honest-im still lost. How do i do what you just wrote…creating php etc? I would really appreciate the help. Regards Stef

    #41055
    Burt Adsit
    Participant

    A new user gets the blog they signed up with or the main wp blog. The member theme is not a normal wp theme: https://codex.buddypress.org/getting-started/using-the-buddypress-themes/

    #41046
    nicolagreco
    Participant

    If you’ve BPDEV plugins installed go in WP-ADMIN => BPDEV-ADMIN => PLUGINS => BPDEV Theme and change the logo link

    #41043
    Burt Adsit
    Participant

    Howdy, We\\\’ve got several ways of referring to a user:

    In code:

    1) The user id from the wp_users table.

    2) The users *login* username

    Pretty stuff that gets displayed:

    3) The user name that wp has for the user (Display name publicly as: in wp profile)

    4) The bp user\\\’s full name

    bp uses the user id in most cases to refer to a user. Most of the core template tags take a user id as a parameter. The var $bp->loggedin_user->username doesn\\\’t exist. Nor does the var $bp->displayed_user->username. They aren\\\’t currently being set to anything.

    I\\\’m kinda guessing you were shooting for the login username there. The global wp var $userdata->user_login and $current_user->user_login have what you want there.

    One thing you have to be aware of is that the $bp->loggedin_user is available throughout bp no matter where you are. The var $bp->displayed_user is only available when the user is in the member theme.

    Instead of using the vars directly it might be best to use the template tags in bp-core.php that are like bp_get_user<somthing>() or the template tags in bp-core-templatetags.php for some other user related items: bp_loggedinuser_<somthing>() functions. If things change in bp and the vars change then the wrapper functions just mentioned should shield you from rewriting code.

    #41035
    Burt Adsit
    Participant

    You can always as site admin disable all themes except the theme you want for your users. If you put that theme in the /themes/default folder it will be the default theme when new blogs are created.

    gpo1
    Participant

    Does it work on wordpress MU? If so maybe a global function is needed to add as widget on the home theme…

    #41032

    In reply to: Navigation problems :(

    Burt Adsit
    Participant

    I understand your reluctance to install a new version of bp on the day before a site demo. I see the issue you are talking about. Your ‘home’ tab highlight doesn’t turn off when you choose ‘about’. It does with the other tabs you have such as ‘blogs’ are selected. Whatever code you are using for those tabs in your theme should be used for ‘about’.

    Since this is a custom theme you’re running it’s tough to help out.

    #41031
    zenseeker
    Participant

    Thanks, that didn’t work for me. I’m not using trunk. I’m using RC1 combo version.

    #41020

    In reply to: Navigation problems :(

    reprocessor
    Participant

    Hi Andy, Thanks for that (damned brackets lol). I’ve been using a zip version of buddypress from about 2-3 weeks back. Everything ‘so far’ (touch wood) has worked and thought there was no need to update from the trunk. This was the first time EVERYTHING in a bp install worked for me. My problem is, that if I do update from the trunk then everything will go ‘boobies to the dasies’ if you know what I mean, as there have been significant changes e.g. where you’ve placed the member themes etc.

    If there is a hack I can implement to tide me over I would be extremely grateful. I’m almost finished the site y’see and will be demoing it tomorrow.

    Thanks for your time as always.

    Phil

    #41007

    In reply to: Navigation problems :(

    reprocessor
    Participant

    Hi Andy,

    I get this:

    Parse error: syntax error, unexpected ‘:‘ in /home/fhlinux140/g/gigbuddy.org/user/htdocs/wp-content/themes/gigbuddy-home/header.php on line 41

    Any other ideas?

    Phil

    #40999
    Sgrunt
    Participant

    the latest trunk of buddypress requires a change in the name of member theme folder:

    OLD:

    /wp-content/member-themes

    NEW:

    /wp-content/bp-themes

    https://buddypress.org/forums/topic.php?id=1675

    #40963

    Re-read the instructions and try again? It sounds to me like some files aren’t in the correct spots or that some files were corrupted in the upload process.

    To address your specific issues:

    1.) The BuddyPress admin bar includes the link to your #2 question, but if you want to remove it from the front-end, you would have to check the defined('IN_ADMIN') variable and only load the buddybar if so. Could probably make a filter for this in functions.php, but I’m not in front of the source to give you a turn-key solution at the moment.

    2.) The link is part of the buddybar. :) Otherwise you can type it in the address bar yourself or customize the theme to fit the way you want it to perform. Aside from that, none of the WPMU themes will know how to redirect you to any specific blog admin area aside from their own, and they wouldn’t know which other blogs you have access to. That’s what the BuddyBar is fore. (Note to self: It would be cool to have a link to the admin area of each blog when viewing /blogs/my-blogs.)

    3.) Are you using a vanilla install with the vanilla theme? Vanilla meaning included… If so, do you have a link to your website so that I can see what’s happening?

    #40947
    felix2009
    Participant

    Lame excuse ;)

    #40943

    Remember guys (and I realize this is no excuse) but neither BuddyPress nor bbPress are even 1.0 yet. As soon as function calls and display functions are finalized and tweaked for a stable 1.0 release, you’ll see tons of themes and templates and frameworks.

    The opportunity currently exists for anyone with the time and motivation to swoop in and start blasting out themes for both platforms, but they would do it knowing that they may have to go back and redo some things after 1.0 is out.

    I think right now everyone is waiting for the ball to drop, because no one wants to do the same work twice. I’d love to release my bbPress theme, but I have 0 time to answer questions about it or support it, and that’s not fair to anyone either.

    Make sense?

    #40941
    felix2009
    Participant

    Still no bbPress theme available, it’s a shame! :P

    #40934

    Brian, the file itself is in bp-core/css/admin-bar.css, but like Jeffca mentioned you can also make a site-wide.css file, and place it in your currently active home theme\’s /css directory, and it will work everywhere within your site, even inside the member theme.

    That way you\’re only editing one file, and it\’s on your own terms.

    I’ve added my fix to a trac ticket so it will get reviewed and possibly fixed in the core for future updates. The goal with all of this is NOT to edit or hack the core, but to have the core be as universally compliant as possible, and still allow for customization later.

    #40915
    Trent Adams
    Participant

    You mean the same theme as the main install? The buddypress-home theme? It is possible by using one of the plugins out there to make a theme default (premium.wpmudev.org) or by just renaming the buddypress-home theme to “default” so that wpmu picks it up. Not sure if anything is hardcoded in the buddypress-home or member themes that would screw up, but might be worth testing out.

    Trent

    #40913
    Slava Abakumov
    Moderator

    @Nicola:

    Doesn’t work – just kills all styles. BTW: I’m not using your theme. So this is the problem :) Your hack only with your theme.

    CSS hardcoding – great.

    #40858

    In reply to: Anything for SEO

    Jeff
    Participant

    @Bbrian017 Each theme has its own header.php, so depending on the theme they select, the titles will vary.

    The default theme has more than the website name, ie. http://mayo.testbp.org/2009/03/25/hello-world/

    #40853
    felix2009
    Participant

    bbPress theme is still missing ;)

Viewing 25 results - 29,876 through 29,900 (of 31,071 total)
Skip to toolbar