Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 79,826 through 79,850 (of 94,574 total)
  • Author
    Search Results
  • #65574
    andrew_s1
    Participant

    Code revised to give protection even if buddypress gets deactivated: adds a second line of defence by hooking a wordpress action too. I’ve assumed that there’s no conflict here, but I don’t know if these two hooks collide. It seems to work ok.

    <?php
    /*
    Plugin Name: BuddyPress Lockdown
    Plugin URI: https://buddypress.org/
    Description: Lock down your BuddyPress site if a user is not logged in.
    Author: Andy Peatling & Andrew_S1
    Version: 1.2
    Author URI: https://buddypress.org/
    Site Wide Only: true
    */

    function bp_lockdown() {
    global $bp;

    if ( BP_REGISTER_SLUG != $bp->current_component &&
    BP_LOGIN_SLUG != $bp->current_component &&
    BP_LOGIN1_SLUG != $bp->current_component &&
    !is_user_logged_in() ) {
    bp_core_redirect( site_url( BP_LOGIN_SLUG ) );
    }
    }
    function wp_lockdown() {
    if ( !is_user_logged_in() ) {
    auth_redirect( 'wp-login.php' );
    }
    }

    add_action( 'bp_init', 'bp_lockdown');
    // if no buddypress, have a backup plan
    add_action( 'send_headers', 'wp_lockdown');
    ?>

    #65571
    intimez
    Participant

    I pasted Burt’s code to the end of function.php and I get a blank page

    Did I miss something?

    [wordpress2.9.2 + buddypress1.2.1]

    #9239
    robboss
    Member

    This is related to an earlier css question about a diagonal member directory (which is fixed). My friend listing is diagonal also. I am running WordPress 2.9.1 and have installed the BuddyPress Template Pack.

    http://www.jesociety.org/members/rlb/friends/

    Thanks!

    #9235
    Sabuntu
    Member

    Hi there

    1st of all, I found your support awesome and I like to share you my misery to help me with it please

    2nd I’m so sorry if I knocked a door which was already opened

    but I searched around for an answer but with no avails

    I’m not an expert in php coding or master in web designing but I’m building a medical website which is proudly using press services, WPMU, BBpress and Now I wanna Add Buddypress.

    I searched around for how-to install buddypress as a sub-domain

    I’m using wpmu 2.9.1, wildcard is active and I like the install buddypress as

    Community.example.tld

    rather than Install Buddypress on a Secondary Blog –> (http://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/)

    I’ve read Changing Internal Configuration Settings –> (http://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/) but didn’t find a clear answer.

    I came across this code if I like to Set which blog ID BuddyPress will run on:

    define ( ‘BP_ROOT_BLOG’, $blog_id );

    So, if I didn’t find an answer for my first question, I have plan B question ;)

    if I’ve chosen the blog Id to be 3 for example

    would it be like this blog3.example.tld/community

    and How can I Keep my old BuddyPress user / group avatars in the 1st and 2nd situation ??

    and How to Redirect previous BuddyPress permalinks in both cases

    I’m sorry again if I asked for something which is already answered but you are my last hope

    Thank you again

    #9234
    bbx
    Participant

    Hi

    I’m creating my own BuddyPress template (using this great plugin http://wordpress.org/extend/plugins/bp-template-pack/). I was wondering if I could modify any id and/or class without breaking all the Ajax interactions.

    I believe all the JS is located in bp-core/js or maybe I’m wrong? Anyway, if someone could enlighten me, it would be great. Thx!

    Jeremy

    ftd2010
    Member

    I want socialise choosing a driving school just as Tripadvisor did to hotels etc.

    I have a database of driving instructors (aprox 45.000). Need to be able to search by town/city/post (zip)code, display a list of schools with ratings so of course, also need the ability for students to rate their school/instructor.

    I envisage different levels of Driving school membership:-

    a basic unclaimed listing

    -a basic profile

    – an enhanced profile [chargeable]

    I am technical enough to be dangerous and reckon that this should be possible with Buddypress and WPMu – am I right?

    Has anything like this been done?

    Can I buy a theme plus dev support off of the shelf?

    Thanks

    David

    #65561
    Anton
    Participant

    Works 100%.

    #65558
    andrew_s1
    Participant

    Note that using this method, if buddypress became deactivated, all of your site’s posts, and the comments, would become completely visible.

    #65557

    In reply to: need help with plugin

    intimez
    Participant
    #65556
    gwu123
    Participant

    any luck with this…i want to do something similar

    https://buddypress.org/forums/topic/need-help-with-plugin

    #65554
    andrew_s1
    Participant

    I’ve submitted a ticket for the issue of wp-login not being registered as a root_component:

    https://trac.buddypress.org/ticket/2074

    There’s a patch attached to that ticket, to make the necessary changes to bp-core.php

    And here’s my revision of the lockout plugin:

    <?php
    /*
    Plugin Name: BuddyPress Lockdown
    Plugin URI: https://buddypress.org/
    Description: Lock down your BuddyPress site if a user is not logged in.
    Author: Andy Peatling & Andrew_S1
    Version: 1.1
    Author URI: https://buddypress.org/
    Site Wide Only: true
    */

    function bp_lockdown() {
    global $bp;

    if ( BP_REGISTER_SLUG != $bp->current_component &&
    BP_LOGIN_SLUG != $bp->current_component &&
    BP_LOGIN1_SLUG != $bp->current_component &&
    !is_user_logged_in() ) {

    bp_core_redirect( site_url( BP_LOGIN_SLUG ) );
    }
    }
    add_action( 'bp_init', 'bp_lockdown');
    ?>

    #65551

    In reply to: BuddyPress Like

    Alex
    Participant

    Notifications has been a bit of a pain, so that will come in later… sorry

    Currently working on adding visibility options as @Rbl suggested, as well as options for the number of likers to display from the settings screen as @xp02ed added.

    @21cdb I love the idea of having a page to show the most popular content, this will be a bigger job but I’m definitely including it! I will also include a widget to show similar data.

    #65550
    MrMaz
    Participant

    I just tagged 0.3.2 which has some pretty significant bug fixes.

    * Fixed broken paging issues

    * Fixed bug with status check in some queries

    * My Links now correctly only shows the displayed user’s links

    * My Links activity now correctly only shows the displayed user’s links activity

    sweller
    Participant

    Is there a good way to display more than one xprofile group in user registration? I like the way groups are divided in the profile section, but the new group is critical to a user’s account and therefore needs to be available on registration.

    The topic was briefly discussed here and Brajesh Singh recommended opening bp_has_profile( ) to all fields, and then aggregating all of the values in a comma separated list in the “signup_profile_field_ids” hidden field. I’ve tried variations of this and nothing is working.

    So the question: Is this the best way to do it, and if so, how do you create a correct comma separated list for a value?

    Also, is there a way to change the “Profile” slug? Define( ‘BP_XPROFILE_SLUG’ , ‘…’ ) throws off an error.

    enzyad
    Participant

    Hello,

    How I can have display any (author) profile custom fields data on the forum site?

    Example page: http://testbp.org/groups/sites-using-buddypress-647515047/forum/topic/my-buddypress-site/

    #65545

    In reply to: Privacy

    xspringe
    Participant

    +15

    Some feedback on the Funding progress bar: maybe you could set it to a more reasonable amount so there’s a goal to work towards and we can actually see the progress bar move after a donation. 9,000 USD might be a bit steep ;)

    http://jeffsayre.com/2010/01/02/do-you-support-buddypress-privacy/

    #65544
    PJ
    Participant

    @ catinw12

    Um, I’m not sure what you mean. Are you asking if I purge the older buddypress folder, upload the new one, then uploaded the any files I’ve customized? Yes. I left that detail out. That’s why the backup is essential! I made sure to overwrite some standard BP files with the saved customized files I’ve created.

    #65542
    fuzzyman
    Participant

    I’m experiencing this too. Running BP 1.2.1, WPMU 2.9.1, PHP Version 5.2.9-2, Apache 2.2.11 (Win32). On the previous version, the Who’s Online work perfectly, on the current version, I just get the annoying “There are no users currently online”.

    I know that there are at least 16 people online, but for some reason, they are not displayed. I Google’d for a solution, but have not (up to now) found anyone experiencing this with the new version.

    BuddyPress 1.2.1

    WPMU 2.9.1

    PHP 5.2.9

    MySQL 5.0.51a

    Apache 2.2.11

    OS Windows Vista Business 32-bit

    Theme: BuddyPress Default 1.2.1

    Plugins: BuddyPress 1.2.1, Simple LDAP Login 1.3.0.3

    #65540
    sweller
    Participant

    Yeah, it seems to work fine by replacing the three lines of the username block with mt_rand. However be sure that there are letters somewhere in the value, such as the “mem” above. Buddypress will throw back an error without letters.

    Also this probably wouldn’t work with large websites with thousands of people, as the chance of generating the same username goes up. You’d probably have to write a function that generates a long string of random letters and numbers.

    #65536
    Jeff Sayre
    Participant

    So, how many people are employed by Auttomatic to work on this project?

    One. Andy.

    I’ve been poking around for some time and I’m a little surprised that not one person has been confused by the complete lack of security in BuddyPress.

    You need to poke around a little more. ;)

    https://buddypress.org/forums/topic/privacy-1

    https://buddypress.org/forums/topic/privacy

    https://buddypress.org/forums/topic/buddypress-privacy-component-an-update

    Also, privacy is on the BuddyPress roadmap.

    As Andy states, implementing privacy in BP or any social network is not an easy task. I am working on updating my older privacy component to work with BP 1.2 and WP/WPMU 2.9.x. It will be awhile longer before I have a working alpha for testing. But, privacy is coming to BuddyPress!

    #65529
    rich! @ etiviti
    Participant

    BTW, yes, I understand the principles of customing skinning and css but what I am asking is that it surely must be a fairly simple implant or template linking.

    you’ll need to create a new theme for bbpress, as i don’t believe a bbpress look-like buddypress is available

    #65528

    In reply to: BuddyPress Maps

    schwooba
    Participant

    On the backend, whenever I go to “edit profile” to set a marker and I click search, it sends me to the top of the page and does nothing. Any ideas for me? I’m running WPMU 2.9.1 and BP 1.2.1.

    #65525
    still giving
    Participant

    If you use the standalone BBpress option, how can you make it use the same template as the integrated Buddypress/BBpress installation?

    Thanks

    BTW, yes, I understand the principles of customing skinning and css but what I am asking is that it surely must be a fairly simple implant or template linking.

    I am trying to make a general forum any member can access without having to join a group or being limited to only that group or groups.

    #65524

    In reply to: small problem!

    abcde666
    Participant

    you are right, this seems to be a bug:

    1)

    – I have created a Private-Group at testbp.org

    when I am logged-in, then I am going to the “Group-Forums-Directory”, it is currently not possible to select this “Private-Group” from the drop-down-box in order to make a post into the Forum of this “Private-Group”.

    It is currently only possible to make a Forum-post into this “Private-Group” by going to the “Group-Tab”, then search for that Group and make the post directly within the Group-Forum. But it is not possible to make a Forum-post from the “Group-Forums-Directory”.

    2)

    also when posting a Forum-post into a “Private-Group”, my own post is actually not visible for myself within the Tab “My Topics” at the “Group-Forums-Directory”.

    Well, I would actually want to see MY OWN post, even if it is in a “Private-Group”.

    It is also not possible for myself to see MY OWN Forum-post within the Tab “All Topics” at the “Group-Forums-Directory”.

    3)

    Note: this issue is showing when being logged-in.

    4)

    https://trac.buddypress.org/ticket/2072

    #65523
    Windhamdavid
    Participant

    nice analysis ~ I’m also duplicating those errors with the core_redirect pointed to wp-login.php I’d bet Jeff has a good handle on this and I sent a request to help him test the upcoming release. I don’t have a copy of his old release to adapt or modify (if anyone could point me to, or send me the old copy, that might help).. but the hack i put up previously has worked like a charm for me making some pages private while leaving others public without having to expand this into a full on plugin with user options. I simply call that custom header for any pages I want to keep private.

Viewing 25 results - 79,826 through 79,850 (of 94,574 total)
Skip to toolbar