Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17573

    Hi Carsten,
    Thank you for confirming the fix. I am glad it worked.

    I sincerely appreciate your patience.

    Have a great day.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17571

    Hi Carsten,

    There was an issue in our table creation statement which only appeared on some of the mysql version. It was related to a datetime field.

    Since the table were not created, the plugin started throwing too many notices.

    Please upgrade to 1.0.5. After upgrade, Please deactivate the plugin and reactivate it. It will create the tables which were not created earlier and will not throw any notice after that.

    Please let me know how it goes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17569

    Ahh,
    Thank you.

    I see. The the table creation failed due to mysql strict mode and that has been the root of the issue. Please allow me 30 minutes, I am putting an update that will work with strict mode too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17568

    Hi Carsten,
    Thank you.

    It could be some issue with PHP 7.2 as the plugin is only tested upto PHP 7.0.32.

    Do you have debug enabled, if not, Please enable it for a temporary check. It can be done by following

    
    
    define( 'WP_DEBUG', true ); // this line is already present, just change the value to true
    define('WP_DEBUG_LOG', true );
    
    

    After that, Please visit members directory. I am guessing there is some php error on the user query filter which is happening on 7.2.

    Please let me know what you see in error.log file(in wp-content it will be created).

    If you are not comfortable with doing the above change, Please allow me 8-12 hours, I will check the plugin on php 7.2

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
    Brajesh Singh on in reply to: [Resolved] After plugin activation -> all users lost #17565

    Hi,
    Welcome to BuddyDev Forums.

    I am sorry for the inconvenience.

    Are you using any other plugin for filtering members list? Also, which version of PHP, WordPress/BuddyPress are you using? Is the theme premium? If yes, which theme it is. Also, are you using database caching?

    I just enabled and checked again and it is working for me on BuddyPress 3.2. It can be some conflict.

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Hi Chris,
    Please open a new topic for the new questions in future. That allows us to keep the topics organized. I hope you won’t mind it.

    1. Restricting wp-content/uploads, I am sorry but I won’t be able to assist with it. It is easily doable but it won’t scale and I don’t favour it.

    2. The code should go to wp-content/plugins/bp-custom.php( create if not present) or you can put it in yourtheme/functions.php.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Thank you for the patience Max.
    1. Please download it from here
    https://buddydev.com/downloads/coub-custom/versions/coub-custom-1-0-0.zip

    2. After installing, you will need to make 2 changes

    A)
    Open ‘coub-custom.php’ and on line 19, you will see a code like this

    
    	private $field_ids = array(
    		87,
    	);
    

    Remove 78 and add your own field ids that will contain the url from coub. You can use one or more text field. Save it.

    B). Open proxy.php, on line 12 you will see a code like this

    
    // CHANGE this, with your own stylesheet.
    $stylesheet_url = "http://example.com/somestyle.css";
    
    

    Add the url of your own custom stylesheet. That stylesheet will be added/injected in the iframe and anything you write there will apply to the player.

    PS:- In the text field, all you need to enter is an embed url like this

    http://coub.com/embed/um0um0

    Please give it a try.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406
  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Please visit Dashboard->Appearance->Customize and then click on “Additional CSS”

    Add the following css there

    
    @media screen and (min-width: 55em) {
    #buddypress #object-nav {
        border-right: 0 none;
        float: none;
        margin-right:0;
        width: auto;
    }
    
    #buddypress #object-nav ul li {
    		float:left;
    	}
    }
    
    

    That should do it. Please let me know if it works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25406

    Hi Sandor,
    It depends on your theme. Are you using a custom theme? Which theme are you using?

    The theme mostly determines the markup for the placement of navigatin menus. It is possible to do both of the above but will depend on the theme.

    If you can provide more details about your theme, I may be able to suggest some option.

    Thank you
    Brajesh