পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল

চেহারা

থিম ও তার অপশন, লোগো, রং ও ডার্ক মোড, নিজের CSS, ফুটার লিংক, পেজ ও FAQ, আর লক করা "Designed & Developed by" ক্রেডিট।

স্টোরেজ, আয় ও চেহারা হালনাগাদ ৬ নভে ২০২৬ ১১ / ৫০

The look of the public site comes from a theme; the logo, colours and your own CSS sit above it on Admin → Configuration → Appearance, so you can brand the site in a few minutes without touching a template.

Themes

A theme is a folder under themes/ with theme.json, templates/*.php and assets/. The site renders a template from the active theme and falls back to the default theme (themes/boxpuff) for any template the active one does not carry - so a theme may change one page or everything.

Admin → Extensions → Themes shows every installed theme with its name, version, author and description. Buttons: Activate, Preview (only you see it, in this browser, until Stop preview), Theme Settings when the theme has options, and delete for themes that are neither active nor the default. Add Theme uploads a theme zip (it must carry theme.json); Get Themes opens faruk.bd.

BoxPuff - the default theme: a modern single-page file manager, a clean public site, light and dark, built for phones first. Its options at /admin/theme-manage/boxpuff: Accent colour, Home page kicker, Home page title, Home page text, Show the "Trusted for" strip, Show the three feature blocks, Footer text.

Spirit Theme - a premium theme (addon theme-spirit) in the classic Bootstrap style: white navbar, airy home page with a big upload card, card download pages and a dark footer with columns. See Spirit Theme. A premium theme whose addon is missing from the licence quietly falls back to the default.

Nova Theme - a premium theme (addon theme-nova): a dark header strip, a gradient hero with a big upload zone, live numbers, features, a packages teaser and a short FAQ, with colours, corner radius and font as options and a layout that fits a 360 px phone to a 4K screen. See Nova Theme.

Theme options are saved as settings named theme_<code>_<key>, so switching themes and back keeps each theme's own choices.

Logos

On the Appearance page, under Logos: Site logo (SVG or PNG, about 40 px tall, shown on light backgrounds), Logo for dark mode (optional; the light one is used when empty) and Favicon (PNG, ICO or SVG, square). They are kept in uploads/logos/ and shown with a cache-busting version. Without a logo the BoxPuff mark is used: the cube with arrows in BoxPuff blue, shipped as assets/img/boxpuff-logo.svg and boxpuff-logo.png (2400 x 720, for light backgrounds), boxpuff-logo-white.svg and .png (for dark backgrounds and the e-mail header bar) and boxpuff-icon.svg and .png (1024 x 1024, the default favicon). Those files are replaced by an update, so upload your own under Logos rather than editing them. The same logo appears in the admin panel's top bar and in e-mails ([[[LOGO_URL]]]).

Colours

The Colours card sits directly under the Logos card on the Appearance page, so the logo and the palette are set side by side. Its colour boxes keep their picker, hex field and swatches at full size on every screen.

  • Site colour scheme - Auto (device), Light or Dark. Auto follows the visitor's device; visitors can still switch from the footer, and a signed-in member's choice under Preferences wins. The chosen mode is set on the page before the first paint, so there is no flash.
  • Brand colour - buttons, links and progress bars (--accent), default BoxPuff blue #2563eb. A theme's own Accent colour (or Primary colour) option overrides it.
  • Admin panel default mode (light or dark; each administrator can still switch from the top bar) and Admin panel accent.
  • Cookie notice - the GDPR bar at the bottom of the site, shown once per visitor.

Colour fields (here, and in every theme's options) have a colour picker, a box where you can type a hex code such as #2563eb - the two follow each other - and a row of quick swatches (BoxPuff blue, violet, green, red, orange and slate). Type the six digits after the #.

Theme colours - under the colours, a block lists every colour option of the active theme (for Nova: primary, secondary, header, hero gradient; for Spirit: its accent) so you can set the whole palette on this one page. The block's heading names the theme; a link goes to the theme's other options under Themes. The colours are saved as the theme's own options, the same ones as on its Theme Settings page.

The language picker

Where visitors may choose a language (Site Settings → Language → Visitors may pick a language, with at least two languages on - Languages), the picker in the header of the public site, in all three themes, and in the admin panel's top bar is a flag menu: one button showing the flag of the current language, which opens a list of every language with its flag and name and a tick on the current one. Choosing one reloads the same page in that language.

The flag stands for a country, so BoxPuff keeps a map of language code to country (en shows the US flag, bn Bangladesh, ar Saudi Arabia, hi India, ur Pakistan and so on for dozens of languages; a code it does not know uses the country of the same two letters, and if there is none the button shows a small globe). The pictures are loaded from flagcdn.com. To show another flag for a language, add a setting named lang_flag_<code> whose value is the two-letter country code - for example lang_flag_en = gb for the British flag. There is no form field for it yet; add the row in the bp_settings table through System Tools → Database Browser (Site settings).

Your own code

Custom CSS (site) is added after the theme's stylesheet on every public page; Head code (site) is printed inside <head> (analytics or any tag; the Google Analytics code also has its own box under Site Settings → Site Options); Custom CSS (admin panel) restyles the panel. These survive theme changes and updates.

The footer carries the pages marked in footer under Admin → Configuration → Pages (Terms, Privacy, FAQ and any you add), plus API (when Show front-end API documentation is on), Contact (when the contact form is on), Report abuse, and links plugins add (for example Newsletter). The theme's Footer text sits under the logo; empty shows the site description.

The Features menu in the header appears as soon as a plugin has something to put in it: Rewards, Resellers, Webdav Access, FTP Upload, Browser Extension. Premium appears when at least one paid package is for sale; Search Files when the public search is on.

The "Designed & Developed by" credit

Every public page and the admin rail end with a credit line. The default reads Designed & Developed by: followed by the faruk.bd logo (assets/brand/faruk-bd-logo.png, or the white version on dark backgrounds). The License Center may push a credit with your licence and mark it locked; the Footer credit block on the Appearance page then shows the line read-only with the note Your licence carries the footer credit the License Center pushes out; it cannot be changed here. Licences that include "editable site credit" unlock this box. With an editable licence the Credit HTML box accepts your own line (with a live preview); empty means the default. Admin → Configuration → License shows the pushed credit with a locked or editable badge. See The licence key.

Pages and the FAQ

Admin → Configuration → Pages edits the static pages (/terms, /privacy, /page/<slug>) with placeholders {site_name}, {site_url}, {contact_email} and {year}, and whether each shows in the footer. The FAQ tab holds the questions on /faq.

Making a theme of your own

Copy themes/boxpuff to themes/mytheme, change code, name, author and description in theme.json, delete every template you do not want to change (the default fills in), and edit the rest. assets/theme.css is loaded automatically when present. Declare options in theme.json under options (types text, textarea, colour, select, yesno, file) and read them in templates with theme_option('key'). Zip the folder to share it; the panel installs it with Add Theme. Keep the author header at the top of every file, as the shipped themes do.

Tips

  • Set the logo, favicon and brand colour on day one; they reach the sign-in page, e-mails and the download pages at once.
  • Preview a theme while members keep seeing the old one, then Activate.
  • Dark mode is real on every page, including the file manager; check your logo on both backgrounds and upload a dark-mode version if needed.
এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন