Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove max file upload size notice


  • Julia_B
    Participant

    @julia_b

    I’d like to remove the notice that says Maximum file size allowed’ from my forum post form:

    Can someone tell me how to do that please?

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

  • Pascal Casier
    Moderator

    @casiepa

    Hi,
    What plugin are you using for the attachments ?
    EDIT: Found this back, so I suppose you still use the same ? (https://bbpress.org/forums/topic/gd-bbpress-attachments-file-size-issue/)
    Pascal.


    Julia_B
    Participant

    @julia_b

    Hi @casiepa – thanks, but I’m not asking about changing the upload size this time.

    I just want to remove the notice that says ‘Maximum file size allowed’ (and surrounding yellow box) from the form.

    I am still using GD-bbPress Attachments.


    Pascal Casier
    Moderator

    @casiepa

    Hi,
    I have downloaded it and will check it later. I just needed to know what you used to find the correct CSS.
    Pascal.


    Julia_B
    Participant

    @julia_b

    @casiepa thanks very much 🙂


    Pascal Casier
    Moderator

    @casiepa

    Had a quick look and it’s using standard div naming, so I looked at how I did it in one of my plugins. The below css should hide the message, but not only that one as also these ones will be gone:
    – Oh bother! No topics were found here!
    – You must be logged in to create new topics
    – Your account has the ability to post unrestricted HTML content

    .bbp-template-notice {
    	display: none;
    }
    
    .bbp-template-notice.info,
    .bbp-template-notice.error,
    .bbp-template-notice.important,
    .bbp-template-notice.warning {
    	display: block;
    }

    Hope you can decide…
    Pascal.


    Robkk
    Moderator

    @robkk

    ^That CSS code should help remove the annoying notices, but keep the important ones.


    Julia_B
    Participant

    @julia_b

    @casiepa, Excellent! Thanks, really appreciate that. I’ll try it out later and let you know if it works.

    Thanks @robkk


    Julia_B
    Participant

    @julia_b

    Works great. Thank you @casiepa!


    Pascal Casier
    Moderator

    @casiepa

    yw !

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar