Linux 软件免费装
Banner图

Bani Honar Toolkit

开发者 banihonar
更新时间 2026年11月20日 04:07
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

qr code barcode duplicate post url shortener visitor statistics

下载

1.0.0 1.1.0 1.2.0

详情介绍:

Bani Honar Toolkit is a small, modular plugin. Every feature is a module that you can switch on or off from one dashboard, and developers can add their own modules. Included modules Every option of every module is described in the questions at the start of the FAQ. فارسی افزونه چندمنظوره، ماژولار و قابل توسعه برای وردپرس: آمار کامل بازدید (چند بازدید، از کجا، با چه آدرس IP و از کدام کشور، با چه دستگاه و چه مدلی)، کوتاه‌کننده‌ی لینک با دامنه‌ی خودتان، کیو آر کد با شکل‌های ظاهری بسیار و «ذخیره مستقیم مخاطب» برای اندروید و آیفون، محافظ صفحه، تکثیر نوشته و برگه با «ویرایش امن» صفحه‌های زنده، آپلود تصویر پروفایل بدون گراواتار.

安装:

  1. In WordPress open Plugins > Add New > Upload Plugin, choose the zip file and press Install Now. (Or upload the bani-honar-toolkit folder to /wp-content/plugins/.)
  2. Activate the plugin. If an older version is installed, WordPress offers to replace it; your data is kept.
  3. Open Bani Honar Toolkit in the admin menu. Switch modules on or off on the Dashboard (Page Shield, Visitor Stats and Post Duplicator also have a switch on their own tab) and choose the language under Settings.
For the shortest links, use any permalink structure other than "Plain" in Settings > Permalinks.

屏幕截图:

  • Link Shortener: create a short link on your own domain and see the list with click counts.
  • QR Code Generator: ready-made styles, seventeen dot shapes, gradient colors and an optional logo.
  • A QR code that saves a contact (name, phone number, e-mail) straight into Android and iPhone contacts.
  • A Wi-Fi QR code: scan it and the phone joins the network.
  • Barcode Generator: an EAN-13 product barcode with its check digit, as PNG or SVG.
  • Visitor Stats: totals and visits over time.
  • Visitor Stats: countries, where visitors came from, devices, operating systems and browsers.
  • Visitor Stats: the visit log with IP address, country and device name.
  • Visitor Stats settings: privacy options and country detection (CDN, time zone estimate, optional online lookup).
  • Post Duplicator: duplicate content and change live pages safely through a draft.
  • Page Shield: deterrents against casual copying, with no effect on search engines.
  • The Contact tab: send suggestions, problem reports and module requests to the IT team.
  • Settings: the plugin language is independent of the site language, and the list of languages grows by itself.
  • The profile picture card on the user profile screen.

升级注意事项:

1.2.0 A new Barcode Generator, Wi-Fi and Event QR codes, many more QR designs, translations that install by themselves (the Install button is gone) and a new 3D header. Your data and settings are kept. 1.1.0 More QR code looks, a contact-card (vCard) QR code, pages and posts in the QR picker, a better visitor country, an Install button for the plugin translations, and a simpler way to add interface languages. Your data and settings are kept. 1.0.0 First public release. If you test an earlier internal build, replace it with this one; your data is kept. The online country lookup in Visitor Stats is off until you switch it on.

常见问题:

What can the Link Shortener do?

  • Link Shortener - turn long addresses into short links on your own domain, for example banihonar.com/Ab33.
  • Random codes made of lowercase letters, uppercase letters and numbers. You choose the length, from 1 to 32 characters.
  • Or type your own custom code. Codes are case-sensitive: Ab and ab are different links.
  • Click counter and last-click time for every link, search, edit and delete.
  • Redirect type (302, 307 or 301) and an optional path prefix such as /go/.
  • A short link never hides a real page of your site. It only works when WordPress finds nothing else at that address.

What can the QR Code Generator do?

  • QR Code Generator - turn a link or any text into a QR code and download it as PNG or SVG.
  • Choose the size, error-correction level, border and colors. Persian text works too.
  • Many looks: seventeen dot shapes (square, rounded, dots, smooth, leaf, diamond, bars, bubbles, drop, petal, cut, edge, plus, star, hexagon, heart), eight corner-frame shapes, eight corner-dot shapes, two-color gradients (straight, diagonal in both directions and radial), separate corner colors, a transparent background, eighteen ready-made styles you can click, and a logo in the middle that never covers more than a safe part of the code.
  • Contact card (vCard): a tab that makes a QR code which saves a name, phone numbers, e-mail, website, company and address straight into the contacts of Android and iPhone phones. A plain phone-number code is also possible.
  • Wi-Fi: type the network name, the password and the encryption (none, WPA/WPA2 or WEP), and say if the network is hidden. A phone that scans the code offers to join the network, so guests never type the password.
  • Event: type a title, a place, a start and an end time. The code adds the event to the calendar of the phone.
  • Pick one of your short links, a page or a blog post of your website, or press the QR button next to a link in the Link Shortener list.
  • The code is created in your browser. Nothing is uploaded to an outside service or stored. Always test a very artistic code with a phone before you print it; the screen warns you when the colors are too close to each other.

What can the Barcode Generator do?

  • Barcode Generator - make a linear barcode for a product, a stock code or a shipping label and download it as PNG or SVG, or copy it to the clipboard.
  • EAN-13, EAN-8 and UPC-A for products. Type the number without its last digit and the check digit is added for you; if you type it with the last digit and it is wrong, the screen tells you the right one. The numbers are printed under the bars in the real EAN/UPC layout, with the long guard bars.
  • Code 128 for any Latin text (it automatically chooses the shortest way to write letters and numbers), Code 39 (capital letters and numbers, with an optional check character), ITF (numbers in pairs) and ITF-14 (the 14-digit carton code, drawn with the frame around it).
  • Persian and Arabic digits typed on the keyboard are changed to normal digits.
  • Choose the color of the bars and the background (or a transparent background), the height of the bars, the size of the image and the white border. The quiet zone that scanners need is always kept, and the screen warns you when the colors are too close.
  • The barcode is created in your browser. Nothing is uploaded or stored. The tool draws the bars: the number of a product that is sold in shops is given by GS1, so ask GS1 in your country for your company prefix, and test a printed barcode with a scanner before you print many copies.

What can Visitor Stats show?

  • Visitor Stats (off by default) - see every visit to your website: how many, where from, from which IP address and country, and on which device.
  • Overview with a chart, totals (page views, visitors, visits, online now) and lists of countries, sources, device types, phone and tablet models, operating systems, browsers, campaigns and most viewed pages.
  • Sources are recognised: direct, search engines, social networks and messengers (Instagram, Telegram, Eitaa, Rubika, Bale and more), other websites and utm_ campaigns.
  • Country: read from your CDN or server (Cloudflare, ArvanCloud and others), from earlier visits of the same address, and - when nothing else knows it - estimated from the visitor's browser time zone. WordPress itself has no way to find a country, which is why a site without a CDN used to show "unknown". A "Check the country lookup" button in the settings shows what works on your server.
  • Device details: brand and model (for example Samsung Galaxy A54 5G), system and version, browser and version, screen size, language and time zone. Chrome on Android hides the phone model from websites, so it is read through Client Hints; an iPhone model cannot be read by any website, so its family is shown.
  • Visit log with search, filters (click any value to filter by it), details for every visit, and CSV download that opens correctly in Excel.
  • Words visitors typed into the search box of your website, and the member (name and e-mail) behind a visit when the visitor is logged in to your site.
  • Block an IP address or an IPv4 range for an hour, a day, a week, a month or until you remove it. Your own address and logged-in administrators are never blocked.
  • Persian (Jalali) or Gregorian dates, a retention period, and a list of IP addresses that are never counted.
  • Works with page-caching plugins and sets no cookies. Your own visits are not counted while you are logged in as an administrator.

What can the Post Duplicator do?

  • Post Duplicator - copy any post, page or custom content with one click, and edit a live page safely.
  • "Duplicate" under every title in the lists, in the bulk actions menu, in the admin bar and in a box in the editor. The copy is a draft.
  • Copies the content, excerpt, featured image, categories, tags and other taxonomies (in their saved order), custom fields, page template and post format. Comments, sub-pages (up to 100 posts), password, address, date, author and status are optional.
  • Safe with page builders: backslashes in blocks and Elementor data are kept exactly, edit locks and page-builder caches are not copied, and copying does not put a page in the translation group of Polylang.
  • Edit safely: for a page that is already live, work on a hidden draft while visitors keep seeing the live page, then press "Publish into the live page". The address, date, status, author and comments of the live page stay, and its old text is saved as a revision. If the live page was changed after the draft was made, you are asked before anything is overwritten.
  • A title pattern with {title}, {n} and {date}, a choice of who may duplicate, the content types it works for, and lists of custom fields and taxonomies that are never copied. Its own tab with a switch that turns it fully on or off.
  • Nobody can copy what they are not allowed to read; people who may not publish get "pending review" copies. WooCommerce products and orders are left to WooCommerce, because they keep data in extra tables.

What can Page Shield do?

  • Page Shield (off by default) - makes casual copying of your pages harder. It has its own tab with a switch that turns it fully on or off. Every option is off until you tick it, and none of them has any effect on search engines.
  • Blocks the right-click menu (it still works in text fields), F12, Ctrl+U, Ctrl+S and Ctrl+Shift+I / J / C, and dragging images out of the page.
  • Hides WordPress version details from the page head.
  • Can also protect logged-in administrators (off by default, so you can inspect your own site).
  • These are deterrents, not a lock: a browser must receive a page's HTML, CSS and JavaScript, so a determined person can always read them. Your PHP code never reaches the browser. The Elementor editor is not affected, and search engines see exactly the same page as everyone else. Options that could lower your search ranking, such as blocking text selection or covering the page, are deliberately not offered.

What is the Contact tab?

  • Contact the IT team - a tab where you can send a suggestion, criticism, a problem report, a security report or a request for a new module to it@banihonarpars.ir. Nothing is sent by your website: each card opens Gmail in a new tab, or the e-mail program of your computer, with a ready subject and text, and has a button that copies the whole message so you can send it from any e-mail service. Please do not attach code files or any other files unless the team asks for them: the automatic mail filter blocks such senders, and the tab says so. A problem report adds only the versions of the toolkit, WordPress and PHP, the language and the list of active modules.

What do Profile Pictures do?

  • Profile Pictures - every user uploads a profile picture from the WordPress profile screen. No Gravatar account is needed, and nothing is requested from Gravatar.
  • JPG, PNG, GIF and WebP, up to 2 MB. Pictures are cropped to a small square automatically.

Is "Edit safely" different from just editing a live page?

Yes. The page is copied to a hidden draft. You edit the draft with the normal editor (Elementor too) while visitors keep seeing the live page. When you press "Publish into the live page", the draft replaces the text and fields of the live page, which keeps its address, id, date and comments, and the old text is saved as a revision you can restore. Draft and live page are linked, so a second draft cannot be started for the same page.

What if somebody changes the live page while I edit the draft?

The plugin notices. When you publish, it tells you that the live page changed after the draft was made, and you can choose "Publish anyway" or go back and compare first.

Why can I not duplicate WooCommerce products?

Products, variations and orders keep prices, stock and relations in extra database tables that a general copier cannot copy correctly. Use the duplicate button that WooCommerce provides.

Can Page Shield make my pages impossible to copy?

No. Nothing can. A browser must receive the HTML, CSS and JavaScript of a page, so a determined person can always read them. Page Shield only stops casual copying. PHP code stays on the server and is never visible.

Does Page Shield hurt SEO?

No. Its options (right-click menu, developer shortcuts, image dragging, hidden WordPress version details) do not change the content that search engines read. Options that could hurt your ranking are deliberately not offered.

How do I send a suggestion, a criticism or a problem report, or ask for a module?

Open the Contact tab of the toolkit and press a button on the card you need: "Write in Gmail" opens a new message in Gmail, "Mail app" opens the e-mail program of your computer, and "Copy message" copies the whole text so you can send it from any e-mail service to it@banihonarpars.ir. Nothing is sent by your website.

I found a security problem. Who do I tell?

Please do not post it in public. Use "Report a security problem" on the Contact tab, or write to it@banihonarpars.ir. See SECURITY.md in the GitHub repository.

Can I see the real IP address behind a proxy or CDN?

By default the plugin reads the visitor address from the headers a CDN adds (Cloudflare, ArvanCloud and others) and falls back to the connection address. If your site can also be reached directly, without the CDN, a visitor can send a forged header, so the statistics of that visitor can be wrong. For a site that is not behind a CDN, choose "Only the direct connection (cannot be faked)" in Visitor Stats > Settings. Blocking checks both the header address and the connection address, so a forged header cannot be used to avoid a block.

Why do I not see my own visits in Visitor Stats?

Visits of logged-in administrators are not counted, so your own work does not change the numbers. Open your website in a private window or on your phone to test. You can change this under Visitor Stats > Settings.

Does Visitor Stats work with caching plugins?

Yes. The visit is sent by a small script after the page has loaded, so it is counted even when the page comes from a cache. If a visit never shows up, check that a security or cache plugin is not blocking admin-ajax.php for visitors.

How is the country found?

From your CDN or server first (Cloudflare, ArvanCloud and others add the country to every request), then from earlier visits of the same IP address, and finally, only if "Find the country online" is switched on (it is off by default), from a free lookup service. See the Privacy section. Developers can plug in their own database with the bhtk_geo_lookup filter.

Can it show the name of the visitor's computer or their e-mail address?

No. Browsers do not let websites read the computer name, folders or e-mail accounts of a visitor, and this plugin does not try. What it can show is the IP address, country, device type, brand and model (when the browser reports it), system, browser, screen size, language, time zone, and the name and e-mail of a visitor who is logged in to your website.

Can I see what visitors searched for in Google?

No website can: Google no longer passes the search words to the sites it sends visitors to. Use Google Search Console (free) for that. Visitor Stats shows the words typed into the search box of your own website.

Can I block a troublemaker?

Yes. Open the visit log, press Details on a visit, then "Block this IP address", or use the Blocked IPs tab. Remember that an IP address belongs to a network connection, not one device: people on the same Wi-Fi, and many mobile users, share an address. Prefer a temporary block. Blocking works for requests that reach WordPress; a page that a CDN or cache serves directly is not stopped. If you lock yourself out, add define( 'BHTK_NO_IP_BLOCK', true ); to wp-config.php.

Can it show the exact model of every phone?

Android phones in Chrome report their model, for example Samsung Galaxy A54 5G. Apple does not let websites read the iPhone model, so only the family (for example "Apple iPhone 12 / 13 / 14") is shown, and some Android browsers hide the model as well.

What happens to my visits if I switch Visitor Stats off?

Counting stops, and the saved visits stay visible on its tab until you delete them. Deactivating the plugin never deletes data.

Does the QR code generator send my text to another website?

No. The code is drawn in your browser by a bundled script. Nothing is uploaded and nothing is stored. The same is true for the Wi-Fi password in a Wi-Fi code and for the Barcode Generator.

Is a barcode from the Barcode Generator valid in shops?

The picture is a correct barcode and scanners read it. But the number inside an EAN or UPC barcode of a product that is sold in shops must be given to your company by GS1 (in Iran, GS1 Iran), otherwise it can clash with the number of another product. For your own stock codes, shelves, tickets or parcels you can use any number, preferably with Code 128.

Do short links work with "Plain" permalinks?

Yes, but they look like example.com/?bhtk=Ab33. Choose another permalink structure for links like example.com/Ab33.

Can a short link replace one of my pages?

No. A short link is used only when WordPress would otherwise show a "not found" page. When you create a custom code, the plugin also refuses codes that match an existing page or post.

Are "Ab" and "ab" the same link?

No. Codes are case-sensitive.

Can I change the language of the plugin without changing my site language?

Yes. Go to Bani Honar Toolkit > Settings > Plugin language, choose a language and press Save. English is built in. For another language the plugin gets the official translation from WordPress.org by itself (see the next answer).

I chose a language but the screens are still English. Why?

WordPress downloads a translation only for your site language, so when your site is in English and you choose another language inside the plugin, the translation is not on your site yet. The plugin takes care of this by itself: when you open a toolkit screen with that language chosen, it downloads the official translation from WordPress.org once with the WordPress upgrader, and the screen is shown again in your language. There is no button to press. If the download fails (for example because your server cannot connect to WordPress.org), a message tells you why and the plugin tries again later; the settings are always saved. In that case you can also choose that language as the site language under Settings > General (WordPress then installs it for you) and switch the site language back afterwards, or copy the .mo file (for example bani-honar-toolkit-fa_IR.mo) into wp-content/languages/plugins/.

A new language was added on WordPress.org. Do I have to update the plugin?

No. Open Bani Honar Toolkit > Settings: the plugin asks WordPress.org which languages have a translation (at most twice a day), and every new language appears in the "Plugin language" list with its own name, text direction and calendar. Choose it and save, and its translation is installed. A language that is already installed on your site is listed too.

Where do the translations come from?

From translate.wordpress.org, where anyone can help translate the plugin. WordPress.org builds a language pack from the approved texts. The plugin package itself contains no translation files, only the template; the packs are delivered by WordPress, either automatically for your site language or by the plugin for the plugin language. A text that is not translated yet is shown in English.

What happens to my data when I delete the plugin?

Nothing, unless you tick "Delete all toolkit data when the plugin is deleted" in Settings first.

I used the older "BHAC" plugin.

Your links and settings are copied automatically the first time Bani Honar Toolkit is activated. The old plugin is left untouched; deactivate it afterwards. Profile pictures uploaded with the old plugin keep working.

更新日志:

1.2.0 1.1.0 1.0.0 First public release. Before this release the toolkit went through many rounds of testing and changes while it was used inside the agency, and everything that was built and tested in that time is part of 1.0.0: