Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 7,026 through 7,050 (of 32,544 total)
  • Author
    Search Results
  • danbp
    Participant

    I can confirm that Raindrops theme is working correctly with BP and taht the admin bar is showing up to logged in users.

    Deactivate and delete the admin bar plugin. Remove also any custom code you have added in the past concerning the toolbar. The idea is to revert back to a fully standard WP install.

    If this doesn’t work, you have to go to your db and check the wp_options table for the toolbar setting.
    Search for option_name hide-loggedout-adminbar where value must contain 1.

    #243114
    danbp
    Participant

    Are users allowed to change their avatar ? See BP settings.
    If yes:
    Test with Twenty Fourteen theme and without any plugin as BP.
    Also, while testing, enable debug mode in wp-config (from false to true).

    atfpodcast
    Participant

    Yes sir the bar is there when are not logged on. I added show_admin_bar( true ); in a function plugin and that did not work. I tried the 2014 theme with the same results. no tool bar. THe one i deactivated was the one from stranger studios hid admin bar to non admins and and I deactivated that.
    https://wordpress.org/plugins/hide-admin-bar-from-non-admins/

    djsteveb
    Participant

    @atfpodcast – is the bar there when they are not logged in?

    does it do the same thing when using the 2014 or 2015 theme?

    have you checked settings –

    admin dashboard – settings – buddypress – click the settings tab – checkbox – Toolbar Show the Toolbar for logged out users ?

    occur when other plugins are deactivated?

    #243098
    danbp
    Participant

    Hi,

    i’m not familiar with bp-attachment yet, so sorry in advance.
    First, I would check that BP is installed and setup correctly and test it with Twenty something theme, and all other plugins deactivated.

    An error occurred. Please try again later. is only used in one place: bp-core/bp-core-attachment.php
    This error is related to bp_attachments_get_plupload_default_settings function, which controls some default settings to get plupload to work on your install.

    Read through it to see what is checked by this function, and maybe you will have an idea of which plugin or theme is messing up the upload process. It’s probably nothing important (pictures are uploaded), but you see that message, which is weird, of course. A little js conflict perhaps. Or a plugin with some bad code or not correctly updated…

    The other reason i tell you to re-check BP settings, is this URL to a profile.
    http://www.adventureridingnz.co.nz/members/members-2/martin_worswick/
    Can you explain why you use /members/members-2/ and how you built it ?

    Usually, a profile URL looks like this: `http://www.adventureridingnz.co.nz/members/martin_worswick/
    `
    As the attachment API use js, it is possible that the uploader doesn’t find the correct way to end the upload, or something like that, due to this URL.

    Headlights call from a Guzzi. 😉

    #243095
    Henry Wright
    Moderator

    Does front-page.php exist in your theme’s folder? If so, then that’ll override whatever you have in home.php.

    #243094
    djsteveb
    Participant

    @olliecard – I’m sure there are many ways to accomplish this, however I am not sure that buddypress is easily adaptable to some of the requirements – privacy for certain things, restricting profiles and such. I hope someone can chime in an share methods for using BP in this way, I’d love to see those options.

    You could play with things like s2member for some restrictions and payments even – but restricting BP stuff is a challenge I think. Using other member and restrictions plugins with regular wordpress is pretty solid.

    I believe you may be able to achieve your goal using some other WP plugins – there are many others that get into profiles, membership, restrictions, classifieds and such.

    It might be 50 hours of work to mash all the various components together in a perfect way – and if so you may want to look at what wpmudev has withe their “membership 2” plugin and others that mix with it. wpmudev peeps had quick answers and solutions for something similar I posted about there years ago. I think their prices are double what they should be – but the support there exists, and if you are looking at a serious project it may be best to get into a professional support system like that.

    Of course you would mix and match some of the free plugins in the wp-repo and probably come out with something – press permit, profile plugins, s2member – custom fields, tweak some themes – maybe even go WP-MS multi site for some semi-separated static things – and you may achieve what you are describing as well.

    I’d love to see others post about other options, and I’d love to see BP have more fine grained control over things – it’s moving in that direction with things like user levels and such so the future with bp is possible, I just don’t think it’s there yet, and likely won’t be playing well with others anytime soon – and getting code help with BP – even if you offer to pay for it – is not the easiest thing in the world.

    2 cents from a random user – not an expert

    #243078
    atfpodcast
    Participant

    Im using raindrops. I seen the other themes jazz the profile look. I also noticed it changed the link in bbpress to the profile not the forum dashboard. Im not good with php so if i can copy and past that helps

    #243075
    @mercime
    Participant

    @atfpodcast Sorry, not quite clear what you mean. What exactly do “other BuddyPress themes have for the profile” that you want? Can you post a link to the other BP themes profile page URI so we can identify what you mean?

    #243072
    danbp
    Participant

    The mistake comes from you ! You probably confused bp-legacy and bp-default. You must use the id’s and classes used by bp-default theme, not thoose comming from buddypress legacy templates.

    BP-default was designed to be used by BP < 1.7/1.9. Now, BP can be used with any theme…

    When you check for CSS names, read the page source (right click on browser screen > show source).

    First screenshot is the whats-new form. You highlighted the CSS and can see that it has nothing to do with the css rule you try to apply to activity avatar.
    The div there is called whats-new-avatar and the class is photo.

    Code source is in bp-default/activity/post-form.php

    Try
    div#whats-new-avatar .photo {}

    Idem for the second screenshot. It’s the activity page of bp-default theme, which use different names as the actual buddypress template.

    Bp-default theme is building a list for activities. Means you’re in a ul/li serrie. Avatars are somewhere inside a li.
    You have to try something like

    ul#activity-stream .photo {}

    All concerned templates are in bp-default/activity/

    Can’t help you more as i stopped to use bp-default since a few years now. Simply keep in mind that you’re working on an old theme which has not much to do with the way BP is currently handling with themes.

    Codex contains some old reference to bp-default if you have other issue with that theme.

    Keep your eyes open and have a nice day. 🙂

    #243070
    ajay25
    Participant

    Hi,

    Completely deleted the functions.php from child theme and bp-custom.php from the plugins folder. Used only the below mentioned code in style.css file which is located in the child theme. Unable to know where I am doing the mistake. There was no change after I did this.

    /*
    Theme Name: My Theme
    Theme URI: http://example.org/themes/dusk/
    Description:
    Version: 1.0
    Author: Admin
    Author URI:
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */
    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }
    #243061
    danbp
    Participant

    To create a shortcode, you use the same function as in the mentionned topic and instead echoing, you return what you need. Like this:

    function bpfr_message_shortcode() {	
    $author = get_the_author();
    $message = 'Login to send a message to this author !';
    
    if( is_user_logged_in() ) {
    	return '<a href=" '.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . $author ) .' title="Private Message to Author" ">Contact the author</a>';
     } else {
        return $message;
     }
    } 
    add_shortcode( 'ksam', 'bpfr_message_shortcode' );

    Add this to bp-custom.php or your child-theme functions.php.

    Use the shortcode [ksam] at the place you want and you’ll see a Contact the author link.

    Note that I tested it only within a post, meaning you need to be in a post loop to fetch an author.

    #243060
    danbp
    Participant

    I tested the snippet on Buddy theme, so i’m pretty sure you have a user menu. This menu is on WP’s Toolbar. You see it when you’re logged in.

    counter menu on Buddy theme

    To choose an item position, you have to do it differently, as explained here:

    [Resolved] Position Notification Counter Bubble after Specific Navigation Tab ID

    For more about menu handling and functions, see WP Codex, as this is not really related to BuddyPress. Now it’s your turn to work a little !

    atfpodcast
    Participant

    and what? as the title says what can I add to my theme the other buddy press themes have for the profile

    #243052
    ajay25
    Participant

    Hi,

    I added the above mentioned code in the style.css of my child theme an the result is negative.

    Code that I added to the style.css is as mentioned below.

    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }

    I checked the same in “twentyfifteen” theme and the issue is the same.

    #243051
    gurselgunacar
    Participant

    @danbp you are my hero. i tried to find this code for 2 weeks 🙂 you solved that. my theme doesnt contain user menu. So i need to add count of notification. Lastly how can we move this menu items left side of menu?

    #243047
    danbp
    Participant

    Add this to bp-custom.php and give a try ! Should show at the left of the logout button on Buddy theme nav bar

    function my_nav_menu_notif_counter($menu) {  
    
    $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/';   
           // condition: user must be loggedin
            if (!is_user_logged_in())
                    return $menu;
            else
                    $notif = '<li><a href=" ' .$url. ' ">Notif ['. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .']</a></li>';
    				
                    $menu = $menu . $notif;
                    return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' );
    #243025
    ajay25
    Participant

    Hi,

    Please ignore the previous message.

    1) I created a new child theme and created a style.css and function.php.
    2) In function.php, I used the below code. It changed the size of the profile pic but not the size of the profile pic in the activity stream

    define ( 'BP_AVATAR_THUMB_WIDTH', 80 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 80 );
    define ( 'BP_AVATAR_FULL_WIDTH', 175 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 175 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 300 );
    #243024
    ajay25
    Participant

    Hi,

    As per the link that you shared, I created a child theme and a style.css in it.

    I used the code as mentioned above but it didn’t work. Unable to know where I am making a mistake.

    #243023
    danbp
    Participant
    #243014
    danbp
    Participant

    Note: I am using the default theme of buddypress.

    Weird ! Have you tried with Twenty Fifteen ?

    First, read here:

    Customizing BuddyPress Avatars

    Try to add the define to your child-theme functions.php, instead of bp-custom.

    Spare bandwidth… define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 ); Are you sure you want to allow such a big size for a picture who use as max full width a default size of only 150 px ? 😉

    danbp
    Participant

    Mention stuff is in buddypress/bp-activity/css and buddypress/bp-activity/js

    To modify the text color of the name list, add this into your child-theme style.css.
    Use !important for the new rule.

    .atwho-view {	
    color: #e30472!important;
    }
    #242989
    danbp
    Participant

    Only thing i understand from default.css concern gallery and images rules.
    If you don’t want them, remove them or use display:none;

    bp-default styles are in bp-default/_inc/css/default.css
    To overide, you use a child-theme containing a style.css file

    #242982
    rgrober
    Participant

    @danbp, thank you for the reply!

    I was modifying media queries in the style.css of my child theme (placed at the end of the css). That is actually working now.

    My new question would be is there anyway to disable the already existing media query rules?

    I’m aware the bp-default is no longer maintained. I’m using the latest version of BP and WP.

    #242980
    danbp
    Participant

    @rgrober,

    can you give details please, as media queries and css are not, imo, the same thing. What do you mean by media queries in style.css ?

    Can you tell what you want to do exactly and what you have already done ?

    Also bp-default theme is no more maintained. Are you still using it ? And if so, what WP/BP version are you using ?

Viewing 25 results - 7,026 through 7,050 (of 32,544 total)
Skip to toolbar