Bottle cheat sheets part 1

I prefer to write a series of small articles about all bottle plugin features that need to be clarified .i think first you have to check our working demo .I created some dummy files boxes , users and subscribers .


Dummy users

  • UsernamePassword
  • demo1demo1
  • demo2demo2
  • demo3demo3
  • demo4demo4
  • demo5demo5
  • demo6demo6
  • demo7demo7
  • Login Page

Dummy subscribers

Please check working demo to be familiar with bottle features (use demo/demo as login data)

Dummy files boxes
Title : Box1
Access Privilege : Visitors (anyone can download)
you can also : Reject IPS
Download Page

Title : Box2
Access Privilege :Visitors (anyone can download)
Password protected :demo
you can also : Reject IPS
Download Page

Title : Box3
Access Privilege :Users (users only can download)
Blocked users :demo1 , demo4
Allowed subscriptions :[email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box4
Access Privilege :Users (users only can download)
Password protected :demo
Blocked users :demo2 , demo3
Allowed subscriptions :[email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box5
Access Privilege :Subscriptions (subscribers only can download)
Allowed Users : demo5 , demo2
Blocked Subscriptions : [email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box6
Access Privilege :Subscriptions (subscribers only can download)
Password protected :demo
Allowed Users : demo4 , demo2
Blocked Subscriptions : [email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box7
Access Privilege :Users & Subscriptions (users & subscribers only can download)
Blocked users : demo1 , demo2
Blocked Subscriptions : [email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box8
Access Privilege :Users & Subscriptions (users & subscribers only can download)
Password protected :demo
Blocked users : demo4 , demo1
Blocked Subscriptions : [email protected] , [email protected]
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box9
Access Privilege :Hidden
Allowed users : since bottle files page access role set to subscribers so all dummy users can access but notice you have to login first then access to page (it works like preview draft posts)
you can also : Allow IPS ,Reject IPS
Download Page

Title : Box10
Access Privilege :Hidden
Password protected :demo
Allowed users : same as previous box
you can also : Allow IPS ,Reject IPS but notice password protect only for allowed ips
Download Page

Notice : in previous boxes some features don’t included and some has default values

  • bottle deny access or allow access from specific request for one hour by default before you can try access again .this hour can be reduced but not recommended
  • allow and block ips lists feature not used but can be included
  • Allow IPS and Reject IPS processed before anything so if user allowed but pass with denied ip will be rejected
  • allow and block integrated subscriptions lists feature not used in demos and this can be used if you integrated bottle with another subscriptions table (visit integrate bottle section in settings page to know how to integrate bottle with another subscriptions plugin)
  • time limit disabled
  • downloads limit disabled
  • advertisements , sharing ,fast download and backup set to on