বিজ্ঞাপন
বিশটি জায়গা, ক্যাম্পেইন, জায়গা অনুযায়ী HTML, VAST, AIO Player-এর প্রি-রোল, মিড-রোল, L আকৃতির ফ্রেম, পজ কার্ড ও ব্যানার, faruk.bd ডেমো সেট আর অ্যাড ব্লকার লিমিটার।
Free downloads are paid for by advertising, so advertising is part of the core, not a plugin. Every page has named placements; each shows a campaign you made (a picture, HTML such as AdSense, a video or a VAST tag), or, when no campaign fits, the plain HTML typed for that place. Members on a package without Show Site Adverts see nothing at all. Slots are drawn with class names that change every day, so a content blocker cannot name them, and an ad blocker limiter can ask visitors to switch their blocker off.
Everything is on Admin → Extensions → Advertising (page Advertising Settings). Its subtitle tells you which packages see adverts, with a link to change that.
Common Settings
Advertising enabled (the master switch), Hide adverts for administrators, and Advert 'Head' Tag Code - code put into <head> of every public page, for example the AdSense loader.
The placements
| Placement | Where it shows | Shape |
|---|---|---|
| Site header | Under the top bar on every public page | wide |
| Site footer | Above the footer on every public page | wide |
| Home page, below the hero | Under the upload box | wide |
| Download page, top / bottom | Above the download choices / under the comparison table | wide |
| Download page, right side | Beside the download choices on wide screens | box |
| Delayed redirect, top / bottom | Around the countdown on the redirect download page | wide |
| File view, top / bottom | Around the preview in the file manager (shared views) | wide |
| File view, right | Beside the file details | box |
| File manager, bottom-left | At the foot of the folder tree | box |
| Public folder page, top | Above the files of a shared folder | wide |
| Search results | Between the results | wide |
| Upgrade page | Under the packages | wide |
| Player, before the video | A video, picture or HTML before the file plays | player |
| Player, in the middle | At the ad breaks of a long video | player |
| Player, L-shaped frame | The video shrinks into the top-right and the frame shows the advertisement | lband |
| Player, when paused | A card over the paused video | box |
| Player, small banner | A strip over the lower part of the video | slim |
Twenty places in all. Plugins may add more through the bp_ad_placements hook. The three File view places are drawn inside the file manager's viewer: top above the preview, bottom under it, right beside the details panel, so an advert set there now really shows when a member opens a file.
Campaigns
The Campaigns tab lists every advertisement with its placement, kind, impressions, clicks and click rate, and buttons Edit, Pause / Resume and Delete. New Advertisement (also ?edit=new) opens the editor:
- Name (for you), Placement, Kind: HTML (AdSense code or any markup), Image (a picture with a Link), Video file (an mp4 for pre-roll and mid-roll) or VAST tag.
- Picture - PNG, JPG, GIF or WebP, kept in
uploads/ads/. For the L-shaped frame give a picture of the player's size: its left quarter and bottom quarter show around the video. - Video / VAST URL, HTML with a live preview.
- Player options: Skippable after (seconds) (0 = never), Shown for (seconds), L-band / overlay after (seconds), L-band when (after N seconds, at the ad breaks, or both), Close button after (seconds), Badge word (default Ad).
- Weight (chosen more often against others on the same place), Active, Starts and Ends dates.
Several campaigns on one place are rotated by weight; impressions are counted once per visitor per ten minutes and clicks go through /account/ajax/ad_click so the counts are exact.
Preview and advice
Every place has a Preview button, so you see an advertisement where it will sit before a visitor does. It opens a window over the panel with a mock of the real page (the home page, the download page, the delayed-redirect page, search or upgrade, a public folder, the file manager, the file viewer, or the AIO Player) in which the chosen place is drawn with its advert and every other place is a grey, named block. Desktop and Phone switch the width; Close or the Escape key leaves. The same view opens on its own address, /admin/advertising?preview=<placement> with &id=<campaign> for one campaign. It only reads: no impression is counted and no click can be made.
The buttons are on the Campaigns list (a campaign's own picture or HTML), on the campaign editor (Preview on the page, which shows the HTML, video or VAST address you have typed even before you save), on each box of the Banner Ads tab (the HTML typed in that box, saved or not), and on the five cards of the Video Ads tab (Preview in the player). What is drawn in the place is, in this order: what you typed in the form; the campaign; the saved HTML of the place; an ad unit from a plugin (Google AdSense draws a labelled stand-in); and, if there is nothing, a dashed block saying Your advert goes here - best size 728 x 90 for that place.
Next to every place an advice card works out, from the place itself, what to put there:
- the sizes that fit, with the best ones marked and the phone sizes named (a header takes 728 x 90 on a computer and 320 x 100 on a phone; a box beside the details takes 300 x 250);
- the formats it takes (an image with a link, or HTML and ad-network script, and for the player places a video, a picture or a VAST tag);
- an AdSense verdict - fits, with care or not allowed here - with the reason (the file manager is behind a sign-in, which AdSense cannot read; display ads are never allowed inside a video player);
- under Which networks fit, and tips, networks that usually serve that place and tips that depend on where it sits.
In the campaign editor the card follows the Placement list: pick another place and its card appears.
The faruk.bd demo set
A fresh site (when the installer's box was ticked) carries a ready-made campaign in every position: nineteen advertisements for BoxPuff, AIO Video, AIO Downloader, Quran CMS, Hearing Center Business Suite, Dealer Management System, MyMeetBook and the author, in the shape each place needs - wide, box, slim banner, pause card and L-band - built as inline HTML with no outside files, linking to faruk.bd/...?ref=boxpuff. They are marked demo in the list so you can see exactly what each placement looks like with a real advertisement in it. Put in the demo set refreshes them (replacing earlier demo ones), Remove the demo set deletes them all. Editing a demo advertisement turns it into one of yours.
Banner Ads (HTML per place)
Plain HTML for each non-player place, each box with its advice card and a Preview on the page button. A campaign on the same place takes precedence; leave a box empty for no advert. This is where AdSense code usually went; the Google AdSense plugin now gives every place a unit of its own, shown only where a place has neither a campaign nor typed HTML.
Video Ads
Video Advertising Method: Disabled or VAST Urls. With VAST, one of the VAST Urls (one per line) is chosen at random and plays before every video in the AIO Player. Google's test tag is printed on the page for a first try. Campaigns on the five player places are set as campaigns, not here - which is why the tab ends with The five places inside the player: one card each for Player, before the video, in the middle, L-shaped frame, when paused and small banner. A card says in a sentence what the place is, how many campaigns are Running now out of how many exist there (and Plus the VAST tags for the pre-roll when VAST is on), warns Nothing plays here yet when it is empty, and carries its advice card, a Preview in the player button and New campaign here, which opens the editor with the place already chosen. The page tells you whether VAST is on or off above the cards.
The AIO Player
Video and audio files play in BoxPuff's own player (the same one AIO Video ships), and the advertising layer is drawn by it:
- Pre-roll - a video, picture, HTML or VAST before the file plays, skippable after N seconds.
- Mid-roll - at the ad breaks of long videos; Admin → Extensions → AIO Player sets Mid-roll adverts, A break every (minutes) (8), No break in the first (minutes) (5) and Breaks per video at most (3). Pre-roll campaigns fill the breaks when no mid-roll campaign exists.
- L-shaped frame - the picture scales into the top-right three quarters while the advertisement fills the left and bottom bands, after N seconds or at the breaks, with a close button.
- Pause card - a card over the paused video.
- Small banner - a strip over the lower part of the picture.
The player page also sets the accent colour, a watermark (image, position, size, opacity, link, hide with the controls), the speed menu, touch gestures, picture in picture, the no-right-click menu, The word on adverts and an Audio poster. Breaks and overlays are drawn with the day's neutral class names too.
Ad Blocker
Adblock Limiter: Disabled, Block Download Pages or Block Entire Site. A tiny script named Adblock Filename (ads.js by default - a name blockers hide) is loaded; when it does not arrive, a full-screen notice with your Message and a Go premium button appears after 2.5 seconds. Change the filename only when the limiter stops working.
Who sees adverts
The package field Show Site Adverts decides, for pages and player alike; visitors follow the trial package. Admins can be excluded. A member on a premium package without adverts sees none anywhere - which is one of the things the upgrade page promises.
Tips
- Replace the demo set early: keep the ones you like as a starting point by editing them, or Remove the demo set and paste your AdSense units into Banner Ads.
- Pictures for the L-shaped frame work best at 1280x720 with the message in the left and bottom quarters.
- The Player, when paused card and the small banner are the least intrusive places; the pre-roll pays most.
- BoxPuff carries no adult-content options at all: there is no adult flag, no adult keyword list and no adult advert variant, so an ad network's content rules are easy to keep.