Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 501 through 525 (of 572 total)
  • @sbrajesh

    Participant

    have you included adminbar.css from the bp-default to your current theme.

    If not,use import to add it to your current home theme.

    If you can point to the site,may be we can help better.

    btw,try firebug and see ,id the adminbar.css included on your pages or not.

    @sbrajesh

    Participant

    please provide more details

    https://buddypress.org/forums/topic/when-asking-for-support

    Hopefully,It will help us to solve the issue.

    @sbrajesh

    Participant

    well,to me,It seems the problem with get_bloginfo.

    As you are using child theme,put timthumb in your child theme.

    then replace this line

    $scriptpath = get_bloginfo('template_directory');

    with this

    $scriptpath = get_bloginfo('stylesheet_directory');

    or this

    $scriptpath = get_stylesheet_directory_uri();

    Both should work

    @sbrajesh

    Participant

    It is not about activating/deactivating the plugin from the site.It is for a system which controls which component should be active on a user’s profile and which should not be.better Imagine as a bridge between plugins(and the visual functionality they offer) and the User profile/settings.

    @sbrajesh

    Participant

    count me in too :) looking forward to see your site active soon.

    @sbrajesh

    Participant

    hi Michael

    This is not an stupid Idea,It will be one of the excellent thing.I appreciate your attention towards the end users .after all,we all build social network ,and User convenience/control over features should be the most important thing to consider.

    The only difficulty I see is implementation.It will need too much attention and some real work.

    I will certainly give it a try when I get some time from my current project.I am sure,It will add much value to the community.

    I believe It is achievable, but it may take some extra time :)

    @sbrajesh

    Participant

    hi all,

    Well,I had experimented with login feature and came up with another solution.I just blogged :) it and here is the code for your reference.

    My goal was

    1.redirect normal users to their profile,whether they try to login from front pages(yeh,site front page or any other page on site) or wp-login.php

    2.If the user is Site admin, and logs from site front page,redirect him to front page

    3.If User is Site admin and tries to login from wp-login.php,that means he is interested in login to wp-admin,so let him go to the mu dashboard.

    here is the code you need to put in your bp-custom.php and It will handle it all for you.

    add_filter("login_redirect","bpdev_redirect_to_profile",10,3);

    function bpdev_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user)
    {
    if(empty($redirect_to_calculated))
    $redirect_to_calculated=admin_url();

    /*if the user is not site admin,redirect to his/her profile*/
    if(!is_site_admin($user->user_login))
    return bp_core_get_user_domain($user->ID );
    else
    return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/

    }

    and No need to modify anything else.

    Edit:I tried posting code twice ,hopefully the code is their in this post.

    @sbrajesh

    Participant

    you are most welcome :)

    I am glad your site is working now.

    I am not sure about facebuddy theme though.

    @sbrajesh

    Participant

    well,follow these steps

    1.Get a backup of bp-themes(I hope you already did it) and delete it from wp-content,there should be no folder named bp-themes

    2.Now copy the bp-sn-parent and bp-default from the buddypress/bp-themes(the new buddypress plugin you have downloaded) to wp-content/themes

    3.Go to wp-dashboard->Site Admin->Themes and enable bp-default

    4.Go to appearance and activate bp-default ,hopefully ,you site should return back to normal.

    @sbrajesh

    Participant

    have you removed bp-themes folder from the wp-content

    @sbrajesh

    Participant

    I guess, you can use this approach

    1st approach

    1.Create a page template and put site wide activity loop there instead of the normal page stuff.

    2.Go to Pages->new ,create a page and assign this template

    2nd approach

    1.Create a page template

    2.Make this page template widgitized and call the widget in the page content area

    3.Create necessary widget enabling login in your functions.php

    4.Go create a page use this template.

    6.Go to appearance->widgets and assign sitewide activity widget

    It should work

    @sbrajesh

    Participant

    hi Olive

    have you checked this thread.Hopefully this should help you as your buddypress is not on the root domain but on sub blog.

    https://buddypress.org/forums/topic/can-i-run-non-bp-theme-on-tld-and-bp-theme-on-subdomain-all-on-same-wpmu-install

    @sbrajesh

    Participant

    @glittereyes

    Yes, you should create bp-custom.php file inside the wp-content/plugins directory and put your custom functions there.

    @sbrajesh

    Participant

    For avatar, you can specify custom avatar size using bp_core_fetch_avatar() function,but in that case either you will have to edit the sitewide activity widget(Not a good idea) or use custom loops.

    for images inside activity content,I will suggest,use css for that.You can target images inside activity using css and set a height/width.

    It is just an easy workaround,I can recall for now.There may be other approaches using php.

    @sbrajesh

    Participant

    as It seems from your error description it is bp-genealogies theme.

    try deactivating this theme ,and activating the default buddypress theme.Is the error still showing ?

    @sbrajesh

    Participant

    Well,Just to let you people know,I had written this plugin for buddypress 1.0.X version and It works upto buddypress 1.0.3.I last tested it(on request of one of user) for buddypress 1.0.3+wpmu 2.8.4a and It was working.

    So hopefully,It will solve your issue if you are using buddypress 1.0.3

    But again,because of security reasons It is strongly recommended to upgrade to most recent version of wpmu+buddypress.

    @sbrajesh

    Participant

    @sbrajesh

    Participant

    I agree with you completely and I will certainly keep in mind in my next plugin :)

    It should not be difficult to implement an uninstall/cleanup process to clean all the databases.

    Thanks for pointing it here in the community.Hopefully ,many more people will be interested in doing so.

    @sbrajesh

    Participant

    hi Phillip

    Yes yo can.

    By default your registration page will show only the fields from first profile field group.

    You can change it.

    You will have to edit registration/register.php

    Look for the code

    bp_has_profile( 'profile_group_id=1' )

    and replace it with

    bp_has_profile( )

    Now your register page will show all the fields.

    But stop,This is not enough,you need to aggregate all the field ids and put it as hidden field.

    So Take a look at the the line

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />

    remove it from the profile loop.Now create some code inside the profile loop,aggregate all profile ids and then

    put this code outside the profile group loop,

    where I ssume you have aggregated all profile fields in the variable $all_pf_fields.

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php echo $all_pf_fields;?>" />

    Please note,all $all_pf_fields should be the comma separated list of all profile ids(say 1,2,3,)

    This will make it work,and your registration page will show all profile groups fields

    @sbrajesh

    Participant

    hi Andrea

    First of all thanks for the clean theme.

    here is what I found.

    1.The site.com/blog will not work with this theme if buddypress is enabled.

    Please have a look the function “bp_dtheme_show_home_blog” inside bp-sn-parent,copying pasting ,that section will make it work.

    2.On the profile page, a little bit more styling of userbar and optionsbar (yeh,I mean margin padding) will be nice.

    Overall ,this looks good and is very clean.

    I appreciate your hard work.

    Edit: Spelling corrected :D

    @sbrajesh

    Participant

    hi

    I checked buddy theme 1.3 .It does not support threaded comment .btw,Try replacing the comments.php from buddytheme by comments.php from either default or home or bp-sn-parent.May be that should make it work,but you may need some css styling in that case.

    @sbrajesh

    Participant

    hi

    well, you don’t need any plugin to make it work.It is part of wp now.

    can you specify which theme you are using.The feature of threaded comments depends on themes too(as themes should allow it) and most of the themes allow this.

    Please let us know the theme,or check with the theme author,does that themes supports threaded comment.

    @sbrajesh

    Participant

    yeh

    I second to Jeff.

    The best way for you will be ,create some clone of adminbar.css from bp-default,customize it to your need and then put it in one of your theme.

    Now in all other themes, just use css imort rule to include this css.So you keep one place for maintaining the admin bar.

    And yes,Firebug is a great addon,go for it.

    @sbrajesh

    Participant

    hi

    It is working.may be it was a temporary problem.Try again,hopefully it should work for you too.

    @sbrajesh

    Participant

    hi

    This is a css problem.

    Put something like this in the theme css(which ever blog theme you are using)

    body {padding-top:28px !important;}

    and The top bar will no more hide the theme.

    Hope it helps.

    btw,you need to have adminbar css in all your themes in order to enable visibility of admin bar.The best way is use import url syntax of css and import adminbar.css from one theme to all the themes.

Viewing 25 replies - 501 through 525 (of 572 total)
Skip to toolbar