Skip to:
Content
Pages
Categories
Search
Top
Bottom

Whats New (user) Submit button

  • Avatar of Andrewslo
    Andrewslo
    Participant

    @andrewslo

    here is my website with BuddyPress: http://informativepress.coom
    First I tried deactivating a bunch of plug-ins that I installed recently with no luck.

    Then I found this: http://wordpress.org/support/topic/plugin-buddypress-cant-post-update-in-activity-stream
    If you scroll down to Arkadia’s post you will see a fix that seems to be working for everyone. However, the plug-in suggested to install broke my entire website. As for the rest, I found the first part of the code in post-form.php so Arkadia is right that the button is in fact there, it’s just hidden. The problem is I can’t seem to find the buttons parent div #whats-new-options that Arkadia said to change:

    #whats-new-options {
    overflow: auto;
    height: 0px; /*CHANGE THIS HEIGHT TO 40px or whatever you want*/
    }

    I’m assuming if I find this buttons parent div #whats-new-options I will be able fix it. Does anyone know where to find this, or do you need that plug-in that destroyed my website for that? If so, any other suggestions?

    I did everything mention here and still have the same issue so I figured ill post my code

    http://pastebin.com/uDVTSqfQ

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    When you start a post or thread please start with an intro describing the issue briefly, from this post it’s hard to understand what the problem is.

    Avatar of Andrewslo
    Andrewslo
    Participant

    @andrewslo

    Hi,

    I recently started using buddypress on my site and it was/is working pretty well. I was using the buddypress activity plus plugin for links and videos.

    Since the lastest update, I am missing the Post Update button in the activity area. I deactivated the activity plus plugin and tried re-installing buddypress but the problem is still there. Does anyone have a clue of how I can resolve this?

    http://wordpress.org/extend/plugins/buddypress/

    Cant edit my first post as I was working on it but once I posted this one it wouldnt allow me

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Rightly or wrongly BP adds specific visual behaviour to this element.

    In the initial view the ‘whats-new-options’ element is hidden via a css ruleset, on focus of the textarea BP uses JS to add an inline ‘style’ attributte to change the height to 40px, on submission BP once again manipulates the element with js to change the inline style attribute to ‘height: 0;’

    Thus the expected result is that the options are hidden until they are needed.

     

    Adding inline styles means that it’s actually quite hard to change this behaviour as inline styles are intended to carry a much higher specificity and precedence in the Cascade.

     

    You can add a rule to show the option, but the issue then is on submit BP overrides that rule with the inline style height: 0;

    Avatar of Andrewslo
    Andrewslo
    Participant

    @andrewslo

    So even if I add a rule submit BP will override the rule and it would have proven pointless. Whats my option here remove the inline styles?

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    hi @andrewslo,

    when you link to your site, please check for a valid URL. You wrote coom insted of com…

    When on the site, pfuuuh, and click on home it leads to a empty page. Check if you have an old “home” in the trash and clear it, because actually the page who comes is /home-2 !

    Now the theme’s css. Some themes are not showing the ajaxified what’s new field, because of  the global.js inline style (by default 0)

    The only way to adjust this is to open the global.js of your theme and to change this height in the js file.

    If not there, you have to add a _inc folder to your child theme, then to copy the bp-default/_inc/global.js into it and adjust his code.

     

    Avatar of Andrewslo
    Andrewslo
    Participant

    @andrewslo

    you cant edit posts after you post once that kinda sucks I noticed it but I couldnt fix it

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    @andrewslo

    what do you mean by you cant edit posts after you post once

     

     

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.