Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

PrivateBin

7 Topics 40 Posts
  • PrivateBin - Package Updates

    Pinned
    17
    0 Votes
    17 Posts
    1k Views
    nebulonN

    [1.9.2]

    Update PrivateBin to 1.7.3 Full changelog CHANGED: Various tweaks of the bootstrap5 template, suggested by the community CHANGED: Upgrading libraries to: DOMpurify 3.1.3 FIXED: Selected expiration not being applied, when using bootstrap template (#1309)
  • Cannot change expiration date

    Solved
    7
    2 Votes
    7 Posts
    157 Views
    luckowL

    yep. fixed.

    image.png

    image.png

  • 2 Votes
    2 Posts
    559 Views
    ericdrgnE

    @LoudLemur If you go to the file manager for you PrivateBin app you can change line 41 to be what you want. https://github.com/PrivateBin/PrivateBin/wiki/Templates (same link the cloudron docs provide) the PrivateBin repo provides examples of templates so you can add those. Below is lines 40 and 41 if you want to use the bootstrap dark template do the same thing.

    ; template to include, default is "bootstrap" (tpl/bootstrap.php) template = "bootstrap-dark"

    The Cloudron docs then go into what you need to do if you want to create your own template to use with PrivateBin. You would create the custom.php template and add it to the file manager in /app/data/custom_template/custom.php and then go back into the conf.php file and change line 41 to be the below.

    template = "custom"
  • what is best if I add new language file ?

    3
    0 Votes
    3 Posts
    306 Views
    girishG

    @freetommy https://github.com/PrivateBin/PrivateBin/wiki/Translation says they use crowdin. So, you can use that interface to help translate.

  • Customizing Look and Feel

    2
    1 Votes
    2 Posts
    281 Views
    T

    @telos-one looks like the PrivateBin wiki has some configuration options that you're able to use, including a title. But on first glance I didn't see a way to switch out the logo. Worth a glance and a potential question on their Github issues.

  • custom theme not working

    6
    0 Votes
    6 Posts
    671 Views
    GrienauerG

    @thetomester13 yes. it is about the privatebin templates, but I think it is also tricky to update these because hash-check-values for js files etc… I tested it and they will now be picked up.

    I checked it now. after a new update, it is already broken. a custom theme should also have the js hash numbers to verify and after an update these (or something else changes and the new template does not work any more. so custom themes are not a good idea in the actual state of the module, how it works now. someone has to dig deeper into it to find maybe a proper solution. for now I would say, it is not a good idea to do so, like nebulon suggested already and I have now the proof for that 😜

  • PrivateBin Bugfix

    Moved
    3
    0 Votes
    3 Posts
    650 Views
    girishG

    @legacy I have pushed an update to privatebin package which picks up the fix