Skip to:
Content
Pages
Categories
Search
Top
Bottom

HOw do I remove/change this texts?


  • ipunkbali
    Member

    @ipunkbali

    I just installed bbattachment plugin. I dont like the fact that the plugin gives too many details.

    text:

    “allowed uploads: bmp (500 KB), doc (500 KB), gif (500 KB), gz (500 KB), jpeg (500 KB),

    jpg (500 KB), pdf (500 KB), png (500 KB), txt (500 KB), xls (500 KB), zip (500 KB)”

    How do i change it to something like.. ” Size Max = 500kb”

    thx

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    Line 465 in bb-attachments.php is where the $allowed string is returned. Somewhere before that line you will need to redefine $allowed to just equal your text. There’s a whole bunch of stuff before that where it goes through the allowed extensions and the sizes that you don’t need, but even if you leave that is, just define $allowed as “Size Max = 500kb”, or list your extensions, or whatever.

    You are going to have to edit the plugin to change the text.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.