Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 201 through 225 (of 271 total)
  • @valuser

    Participant

    Thanks.

    Why I had asked was that i noticed after doing updates to wp 3.4.1 and updating buddypress that on some test sites with child themes the bp compatibility notice was present.

    On clicking it brought me to the screen 1 of the bp template compatibility pack.

    As the theme already had the folders in-situ I would have thought it would have brought me to screen 3 of the bp compatibilty pack as in previous updates.

    As it happens i had done (as i presume others would do) tiny tweaks to the activity, group index & group loop files.

    So if I had pressed the compatibility button I presume my tweaks would have been lost.

    When I update buddypress again, i’ll pay more attention to see if this repeats.

    @valuser

    Participant

    My apologies.

    i have it in functions.php of the theme – in this case a child of bp-default theme

    yes! that site first went to http://localhost/members/user1//friends/ (2 forward slashes) then resolved to http://localhost/members/user1/friends/ 1 forward slash –correct site

    try
    ` function rt_login_redirect($redirect_to, $set_for, $user){
    $redirect_to = bp_core_get_user_domain($user->ID).’friends/’;
    return $redirect_to;
    }
    add_filter(‘login_redirect’, ‘rt_login_redirect’, 20, 3);`

    forward slash taken away. It now goes there straight away.

    hopefully for you as well.

    @valuser

    Participant

    Works for me with (as above)

    `bp_core_get_user_domain($user->ID).’/friends/’`

    Does not work with

    `bp_loggedin_user_domain($user->id).’/friends/’`

    Strange!

    @valuser

    Participant

    try this — (replace friends with whatever)

    `function rt_login_redirect($redirect_to, $set_for, $user){
    $redirect_to = bp_core_get_user_domain($user->ID).’/friends/’;
    return $redirect_to;
    }
    add_filter(‘login_redirect’, ‘rt_login_redirect’, 20, 3);`

    @valuser

    Participant

    see https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/

    There are great volunteers on this forum. When they have the time, I am sure they will assist you.

    @valuser

    Participant

    found it

    $link = get_blog_option( BP_ROOT_BLOG, 'siteurl') . '/tag/'

    @valuser

    Participant

    Thanks – no problem.

    Have now put 6142 on an online test multisite/multinetwork with quite a number of plugins. so far so good

    For the record, the Terminal commands i used (on a Mac) to do a svn download (if thats the terminology) were

    cd ~/Desktop
    svn co https://svn.buddypress.org/trunk buddypress/

    @valuser

    Participant

    ok have put 6142 (from svn) on an online small single install test site and it seems fine – post update fully functional.

    Many many thanks. Will keep posted if any issues become apparent to me

    @valuser

    Participant

    6142.

    Now just this. So i have beta1 (official) online. Do i just go in and delete one (well – move it to a backup folder) and substitute it with the new one

    @valuser

    Participant

    got this now have it svn co https://svn.buddypress.org/trunk buddypress/

    @valuser

    Participant

    @valuser

    Participant

    Mac

    @valuser

    Participant

    c-panel

    Do you have SSH (terminal) access to it? Afraid i’m don’t understand this – yet!
    Do you know how to use a terminal to log into another server? no — not yet!

    but i would like to know how to properly update with trunk versions when you have the time to explain.

    At the moment i download zip trunk and alter it rezip and upload with cpanel .

    @valuser

    Participant

    https://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity

    https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page

    @valuser

    Participant

    Many Many thanks. Thrilled to bits.

    @valuser

    Participant

    Tried this but it stopped everything getting to the activity stream

    function do_not_record_this_tag( $post_id, $post ){
    
    /* this is the array that contains the category to exclude */
    $ids_to_exclude = array( 4 );
    
    if ( 'publish' != $post->post_status )
    return false;
    
    $post_tags = get_the_post_tag( $post_id );
    $in = false;
    
    if( count($post_tags) > 0 ) {
    
    foreach ( $post_tags as $post_tag ) {
    if( in_array( $post_tag->tag_ID, $ids_to_exclude) )
    $in = true;
    
    }
    /* if the post has at least one excluded category, then we remove the BuddyPress hook that records an activity */
    if( $in )
    remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 );
    
    }
    
    }
    
    add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );

    any ideas ???

    @valuser

    Participant

    Could this be done for tags ?

    say something like array( 'taxonomy' => 'post_tag','field' => 'slug', 'terms' => 'nono' )

    Would really appreciate it if imath’s code in post 2 above could be adapted for tags ?

    @valuser

    Participant

    Yep.

    online – php 5.2.17

    local: Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1

    chuffed to be of help and just thanks for work.

    @valuser

    Participant

    late here. so off the top of my head you will have to mess with `$var = “<a href='$link'`

    you have to add /page1.php (that is of course if page1.php is the same for all user blogs) to `’$link’` it could be `’$link./page1.php’` or ` ‘$link’.’/page1.php’`

    mess around with it as i will tomorrow but this is where lack of formal training shows up. A coder reading this would do it in a flash. The dot in .php could be messing it up. Hopefully an angel coder will see this post, smile and make it beautiful!

    @valuser

    Participant

    I don’t quite follow.As far as i can recall i had tested this on multisite & on multisite/multinetwork.

    The code (i think) gets all blogs of the user but “breaks” or stops at the first which is the users main blog.

    Thus the eventual `$link = $user_blog->siteurl;’

    returns the site url of the primary blog of the user .

    So on multisite subdirectories it would return http://mydomain.com/theblogaddressofcurrentuser/

    or on multisite subdomain it would return http://theblogaddressofcurrentuser.mydomain.com/

    so Famous, if the setup was subdirectories and your blog (sub)address was famous, you would go to http://mydomain.com/famous/

    and

    If the setup was subdomains and your blog (sub)address was famous, you would go to http://famous.mydomain.com/

    @valuser

    Participant

    This MAY work for you.

    `

    ID ; $user_blogs = get_blogs_of_user( $user_id ); foreach ($user_blogs AS $user_blog) {$user_blog->siteurl; break;} $link = $user_blog->siteurl;$title = “My Very Own Blog”; $var = “$title“; echo “$var”; ?>

    `

    Not a coder so it probably could be cleaned up !

    @valuser

    Participant

    Developers deserve huge credit.

    Testing on a local install.

    Child theme of bp-default.

    bp multi network.

    Forums for Groups.

    70+ plugins simultaneously (list at http://pastebin.com/0FmZgbrk). Mainly buddypress plugins – some old.

    All well so far

    Obviously there are hundreds/thousands of other plugins – just didn’t get round to them –yet.

    a) With bp-upm (a major plugin imho) -perfect in single install, in multi-install settings do not appear in dashboard but access can be got through http://mydomain.dev/wp-admin/network/admin.php?page=bp-upm-settings. Could just be on this installation.

    b) Also haven’t really tested bp-mass-messaging or mass messaging for buddypress (2 plugins) though they both turn up and appear to be ok.

    You guys and the volunteers here have normalized the expectation that anybody of average intelligence with access to a computer can create a sophisticted scalable social network in a few hours.

    How cool is that!

    Thank you.

    @valuser

    Participant

    @valuser

    Participant

    @mercime many thanks for info

    will take a look.

    There was a plugin called Google Maps Made Simple or wpgmappity from http://www.wordpresspluginfu.com/wpgmappity/
    that allowed front-end posting (and configuration) of google maps.

    It still works. There is an example of what it can do in the p2 theme (front-end posting) at http://www.rubyrvews.com/.

    I’ll leave a test user account open for a week ( user: tester password: tester1 ) in case any potential developer might have a look, see it working, maybe insert a map and, perhaps explore if it can be ported to buddypress.

    All i know is – it works on p2 front end and is reasonably intuitive to use.

    though the login asks for email it accepts tester !

    @valuser

    Participant

    Many thanks @Hugo.

    `

    `
    and
    #group-creator img.avatar {float: none; margin-top: 2px;}

    appears to work for me.

Viewing 25 replies - 201 through 225 (of 271 total)
Skip to toolbar