Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,801 through 2,825 (of 3,728 total)
  • Author
    Search Results
  • #93077
    Stacy (non coder)
    Participant

    Wp- private claims to do this (https://wordpress.org/extend/plugins/wp-private/).

    #93071
    paulhastings0
    Participant

    While I don’t have personal experience with Mingle, it makes sense that you should at least be able to migrate the userbase over. As for Private Messages, Friendships, etc. that sounds more like a job for a plugin.

    Make sure though that before you do anything that you create a backup.

    #93032
    @mercime
    Participant
    #93031
    Tolden
    Member

    Does no one use this plugin and can help me?

    #93027
    phos flip
    Participant

    Don’t know if this is any use to anyone and no doubt there are far better ways of doing it but just in case it is of use….

    I’ve created (hacked really) a plugin made up of 3 files, one of which is useless for now but at a future point I’d like to play around with it.

    bp-group-catdisp.php

    `<?php
    /*
    Plugin Name: Display Categories
    Plugin URI:
    Description: Displays a blog category in groups
    Author: Mas
    Version: 0.1
    License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
    Site Wide Only: true
    */
    if ( !defined( ‘BP_GROUP_CATDISP’ ) )
    define ( ‘BP_GROUP_CATDISP’, ‘programme’ );

    function bp_group_catdisp_init() {
    bp_group_catdisp_wrapper();
    }

    if ( defined( ‘BP_VERSION’ ) )
    bp_group_catdisp_wrapper();
    else
    add_action( ‘bp_init’, ‘bp_group_catdisp_init’ );
    //above links to admin screen in backend
    require(dirname(__FILE__) . “/bp-group-catdisp-admin.php”);

    // group options
    function bp_group_catdisp_wrapper() {
    class bp_group_catdisp extends BP_Group_Extension {
    var $visibility = ‘private’;

    var $enable_create_step = false;
    var $enable_edit_item = false;
    var $has_caps = false;

    function bp_group_catdisp () {
    global $groups_template;

    // group title

    $this->name = __( ‘Programme’, ‘programe’ );
    $this->slug = BP_GROUP_CATDISP;
    $this->nav_item_position = 12;
    $this->create_step_position = 12;

    // group ID for displaying category within
    global $bp;

    $group_array = array( 17,11 );

    if ( in_array( $bp->groups->current_group->id, $group_array) )
    //group ID to display in array. Note can reverse this code ie. set it not to display in listed groups by placing !in_array( $bp etc.

    {
    $this->enable_nav_item = true;
    } else {
    $this->enable_nav_item = false;
    }

    }

    function display () {
    global $bp, $groups_template;

    include(“bp-group-catdisp-edit.php”);

    //bit above links to file that prints to tab

    }

    }
    bp_register_group_extension( ‘bp_group_catdisp’ );
    }

    ?>
    `

    bp-group-catdisp-edit.php

    `

    stories4change Y-Care Programme

    Information and modules related to the Y-Care Programme 2010/11

    <a href="” rel=”bookmark” title=”Permanent Link to “>

    Sorry, no posts matched your criteria.

    `

    bp-group-catdisp-admin.php

    `<?php

    function group_catdisp_add_admin_menu() {
    add_submenu_page( ‘bp-general-settings’, __( ‘Group Categories’, ‘bp_group_catdisp’ ), __( ‘Disp Cats’, ‘bp_group_catdisp’ ), ‘manage_options’, __FILE__, ‘group_catdisp_plugin_options’ );
    }
    add_action(‘admin_menu’, ‘group_catdisp_add_admin_menu’, 15);

    function group_catdisp_plugin_options() {
    if (!current_user_can(‘manage_options’)) {
    wp_die( __(‘You do not have sufficient permissions to access this page.’) );
    }
    $updated = false;
    //above this is php for creating admin page and below is printed onto admin page

    ?>

    <?php
    if ( !$options = get_option( ‘bp_gm_settings’ ) )
    $per_page = 10;
    else
    $per_page = $options;

    $args = array( ‘type’ => ‘alphabetical’, ‘per_page’ => $per_page );

    if ( $_GET == ‘name’ )
    $args = ‘alphabetical’;
    else if ( $_GET == ‘group_id’ )
    $args = ‘newest’;
    else if ( $_GET == ‘popular’ )
    $args = ‘popular’;

    if ( $_GET )
    $args = $_GET;
    else
    $args = 1;

    if( bp_has_groups( $args ) ) :
    global $groups_template;
    ?>

    <?php
    if ( !$group )
    $group =& $groups_template->group;
    ?>

    Category

    Categories

    You don’t have any groups to manage.

    <?php
    }
    ?>
    `

    The first two hard code a group by ID and display a selected wordpress category within that group. The last file is the useless one. I’d started hacking from one of @boonebgorges plugins with the idea of creating an admin screen from which groups could be linked to blog categories.

    I’ve run out of time for now to play with that further and so for now am just going to duplicate the first two files for another couple of groups which will work for my purposes.

    #92834
    amahesh
    Member

    I have been playing around with this for quite some time but cant get it to work. I just want it so that anyone can see who the members are of a private group. I got close and you can see at http://snipbids.com/groups/electronics-1682147612/members/

    Something is showing but I cant get the list of group members to show

    Any ideas? please any help would be greatly appreicated

    @r-a-y: I made the changes in the templatetags file to get to this result

    #92787
    Dickson Waudo
    Participant

    @nuprn1 thats a nice idea, I don’t know about the apply_filter though. the `$browse_sql` var is a new var that I initiate in just that function and within the scope of the if statement. Reasons being I added a whole other table to be queried in `$paged_groups` and `$total_groups` array being returned by the `get_active` function.

    Its a small line of code, easily replaced on upgrade and works perfectly fine for me right now, I just wanted to be able to access, append/modify and object oriented class function from an outside function (that doesn’t make sense) lol. Something like whatever I have in my what if statement gets its own function and the arguments from the get_active function and processes my query after get active is complete (sorta), its not a private function so I can access it outside the BP_Groups_Group class, just don’t know how I can do an add_action or an apply_filter

    #92698
    Josh Frank
    Participant

    I just re-posted this in the Private Community plugin forum. After deactivating the plug-in, the feed works without an error. I will follow up on the plugin’s thread. Let me know if you have any suggestions for making these play nicely! New forum threat at:
    https://buddypress.org/community/groups/buddypress-private-community/forum/topic/activity-stream-rss-parsing-error-1/

    #92374
    NipponMonkey
    Member

    @spinhead, the problem seems to be because your blog isn’t in the root domain. I think you need to change the config file a little to get it working. See my reply:
    https://buddypress.org/community/groups/buddypress-private-community/forum/topic/redirect-hell/

    #92360
    Ray
    Participant

    Thanks for the response! My goal is to install the classifieds plugin for BuddyPress and then gave different school networks where students can put up classifieds between themselves(the site is more elaborate but that’s the nuts and bolts). Do you think this is something I can achieve with buddy press?

    Private groups
    Automatic add to particular group based on school selected(could be a predefined group already made)
    The classifieds section be different on each group
    No friends, PMs if need be but there will be the classifieds bored so there’s really no need

    Thanks!
    -Ray-

    #92342
    spinhead
    Participant

    I’ve also had problems; posted my issue on the plugin’s forum.

    #92185
    LPH2005
    Participant

    Unless someone can see a better way to optimize this file, this is my final online version:

    `php_value memory_limit 256M

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^thechembook.com [NC]
    RewriteRule ^(.*)$ http://www.thechembook.com/$1 [L,R=301]

    RewriteCond %{HTTP_HOST} ^thechemistrybook.com [NC]
    RewriteRule ^(.*)$ http://www.thechembook.com/$1 [L,R=301]

    RewriteCond %{HTTP_HOST} http://www.thechemistrybook.com [NC]
    RewriteRule ^(.*)$ http://www.thechembook.com/$1 [L,R=301]

    RewriteCond %{HTTP_HOST} http://www.chemhints.com [NC]
    RewriteRule ^(.*)$ http://www.thechembook.com/$1 [L,R=301]

    RewriteCond %{HTTP_HOST} ^chemhints.com [NC]
    RewriteRule ^(.*)$ http://www.thechembook.com/$1 [L,R=301]

    php_value session.gc_probability 1
    php_value session.gc_divisor 100
    php_value session.gc_maxlifetime 3600
    php_value session.save_path /path/to/sessions

    # Protect the htaccess file

    Order Allow,Deny
    Deny from all

    # Protect wpconfig.php

    Order Allow,Deny
    Deny from all

    # Disable directory browsing
    Options All -Indexes

    # BEGIN COMPRESSION AND CACHING

    # Enable compression
    AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/html text/plain text/xml image/x-icon

    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4.0[678] no-gzip
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html
    BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

    # Make sure proxies deliver correct content
    Header append Vary User-Agent env=!dont-vary
    # Ensure proxies deliver compressed content correctly
    Header append Vary Accept-Encoding

    # No ETags, No Pragma
    Header unset Pragma
    Header unset ETag
    # Default cache time to 1 year (31536000 sec)
    Header set Cache-Control “max-age=31536000, public, must-revalidate”

    # No ETags
    FileETag none

    # CACHE SETTINGS (mod_expires)

    # Turn on Expires
    ExpiresActive On
    # set default to “access plus 1 year”
    ExpiresDefault A31536000
    # html – “modification plus 1 hour”
    ExpiresByType text/html M3600
    # css and JavaScript – “modification plus 6 weeks”
    ExpiresByType text/css M3628800
    ExpiresByType text/javascript M3628800
    ExpiresByType application/x-javascript M3628800

    # No cache for php-files

    ExpiresActive Off

    Header set Cache-Control “private, no-cache, no-store, proxy-revalidate, no-transform”

    # END CACHING

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress`

    #92074
    cbowcutt
    Member

    gotcha – didn’t see that before. in the field next to Create Group Capability it appears I can only leave the text “upload_files” in there (it doesn’t take “subscriber”). I deleted the text for Create private group capability and Create hidden group capability but those options still appear when I go to create a new group. I’m clearly doing something wrong….

    #91963
    Boone Gorges
    Keymaster

    Sounds to me like most of your requirements could be met with WP Multisite plus a few selected plugins and themes.
    – P2 allows for front-end posting
    https://wordpress.org/extend/plugins/more-privacy-options/ expands WP’s default privacy options to allow blog admins to hide their blogs from everyone but themselves
    – Forums could be accomplished with bbPress or a forum-specific WP plugin

    Depending on what you need out of “blogs”, you might also be able to repurpose BuddyPress groups to do something similar. For instance:
    – Each member is the sole member of a private/hidden group, and uses BP activity to “blog”. Since this happens through BP, there is no WP Dashboard involved.
    – Likewise with Notes
    – Depending on what you want with “Link List”, that can be pretty easily done with an additional profile field.
    – Forums would of course be built in, in the form of non-private groups that the user could join.

    How to decide? If you don’t need the rich functionality of blogs (post revision history, out of the box multimedia support, etc), then actually giving each user two WP blogs might be too much overhead. In that case, BP would be a good choice. The functionality that you’d need is all already there; your work would be limited to customizing and configuring the interface.

    #91700
    NipponMonkey
    Member

    I’ve now added greater support for allowing access to your site. In the array of allowed URIs, you can now use ‘*’ at the end of an allowed URI,

    e.g. Array(‘/public-blog’, ‘/public-blog/*’) would allow access to ‘/public-blog/post-1’, ‘/public-blog/post-2’, etc…

    This is useful for allowing greater access to your site while keeping it private, and for allowing access to parts of your site that certain other plugins might require.

    See FAQs for more information:
    https://buddypress.org/community/groups/buddypress-private-community/home/

    #91673
    NipponMonkey
    Member

    @Gpo1, what happened?

    Could you give your feedback in the plugin’s forum:
    https://buddypress.org/community/groups/buddypress-private-community/forum/

    The general response has been good so far, it seems to be working fine for everyone else, so I’d be interested to know what’s going wrong for you.

    Did you get an error message?

    #91659
    gpo1
    Participant

    It killed my site this plugin

    #91636
    NipponMonkey
    Member

    Hi, I’m the person who started this thread about 5 months ago!

    I’ve been messing around with my own solution for a while now, and I’ve created my first couple of WP/BP plugins recently.

    In fact, I’ve just released my BuddyPress Private Community Plugin:
    https://buddypress.org/community/groups/buddypress-private-community/

    Somebody has already given it 5 stars!

    It’s basically a single static class that has a few customizable settings, you can block RSS feeds, stop widgets from displaying when the user is logged out, and set an array of pages that are public. Of course you can set the redirect page when I logged out user tries to access a private page too. It defaults to the home page, but I suggest you change that in the config.

    There is an example of how to create your own config file for the plugin, one that is saved in a place that won’t be overwritten when you update the plugin and that doesn’t require database access – so it should be a lightweight and quick plugin.

    It’s been working great for me, let me know what you think and if you find any bugs!

    #91474
    thecorkboard
    Participant

    +1

    I’ve got a client who needs private blogs (to hide from the scary google robots) but a public directory.

    ~Kyle~

    alanchrishughes
    Participant

    @Driftless1 “Are we trying to artificially create a difference where there is none? Or is the difference there – Buddypress is just not making it clear enough?”

    I think they are all the same, they are all just conversations, with different ways of going about having it. Buddypress seems confusing or lost in between because it is rightfully tyring to integrate these barely different means of having conversations into one more complete and convenient system.

    The site I am working on has had a main news/blog section for about 3 years now. So I am looking at 3 main types of conversations

    1. Comments on news articles and the comments on their comments which can become a lot like a forum topic.

    2. An actual forum topic started by the user them self about something they feel is important enough for the world to hear.

    3. Short and pointless twitter/facebook type comments that they don’t necessarily care to share with the world, whether it is because it is private or they know it just isn’t important enough, just something for friends who might be interested in know “omg! i finally finished all my cleaning my gutters!”

    I think it just comes down to the user. It is about a user and their conversations, where ever they are taking place, then being fed back to one convenient location for all their buddies to find. I think it would be really neat to create some kind of universal user profile similar to gravatar so what ever website you are on, you can comment there and it will feed back to your personal profile with a link to that website and that comment so your friends can see what you are talking about out there and maybe jump in the conversation also. This would obviously open a pandora’s box of options on how or where you want your conversations to appear, but I’m certain that is the direction for “web 2.0.” The same way we boycot proprietary code, browsers, file types, or software, I think we will boycot myspaces and facebooks for universal profiles.

    #91438
    kriskl
    Participant

    I just had another check, from another profile and

    user with ‘normal’ rights

    and the same problem happens,

    message is sent to 2 people, One random, and one who I have deleted as admin for spamming via wordpress admin panel :(

    #91240
    kriskl
    Participant

    sorry, it is WPMU 2.9.1 and Buddypress 1.2.3 (I think)
    there are many plugins installed and some small modifications, but not related to PM

    what I think may have triggered it, is i had to delete some spammers, and deleting via buddypress did not seem to work, so I went to wp-admin and deleted one or two spammers there,

    but it asked me to transfer their posts to my (admin) profile,
    there were no posts, but that dialog box came up, so I accepted it.
    and it had completed the delete process successfully,

    #91228
    @mercime
    Participant

    WP/BP versions? Did you change theme, plugins or upgrade something before this PM behavior happened?

    #91108
    lorenzo
    Member

    Hi Roger (and everyone else!), i think i’m going somewhere now, but will need some extra input. hopefully the thread will be an additional useful example!

    ok, this is where i am at: default theme with the ajax controllers at the top of the activity stream. in the activity folder of the child theme i have an index.php and activity-loop.php and and entry.php.

    basically i’ve got a ‘private’ area with content accessible only to staff. for normal post/pages i have is an extra check based on a custom field for posts and the category for pages like the following and then based on the group membership i either show a message or the actual content:

    http://pastebin.com/E4cnkwZS (top)

    now, because the group is private, the BP stuff is not showing in the activity stream already, which is good, but the posts/pages bypass my checks and come up in the list of activities showing the actual content which should be private instead.

    so, here is what i came up with so far. using the index.php i check the group membership and then load two different activity-loops:
    http://pastebin.com/E4cnkwZS (bottom)

    how would you exclude stuff? in the bp_has_activity function there is an ‘include’ option which allows to filter content, but not an ‘exclude’ one. it might be trivial to go around it, but not sure how. furthermore if you use the dropdown filter i have the impression that the arguments are passed dynamically resetting whatever is passed in the original query (like in your example and some i’ve tried using the same model).

    i would very much appreciate any further suggestion! thanks

    #91068
    Josh Frank
    Participant

    Wanted to say thank you and put in my endorsement for @Travel-Junkie ‘s great, simple privacy solution.

    Re-posting that code below for simplicity’s sake, found at this comment link:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616

    Running WP 3.0.1 single-site with BuddyPress 1.2.5.2.

    Add to functions.php (may be titled Theme Functions in your Dashboard Theme Editor):

    function sh_walled_garden()
    {
    global $bp;

    if( bp_is_register_page() || bp_is_activation_page() )
    return;

    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
    }
    add_action( ‘get_header’, ‘sh_walled_garden’ );

Viewing 25 results - 2,801 through 2,825 (of 3,728 total)
Skip to toolbar