Eternity Theme for EmlogPro

website·Indexed 32 days ago

https://docs.9imi.com

A feature-rich, minimalist, and highly customizable theme for EmlogPro. Documentation covers installation on environments like BT Panel and 1Panel, API integration starting from Ver2.3.0, license activation, and configuration for tasks, search, and CD-key previews. Supports PHP 8.0+ and MySQL 5.6+.

Tokens
5.4K
Snippets
11
Records
63
Agent score
49%

What's inside Eternity

  1. Overview of Eternity theme for EmlogPro

    Eternity is a highly customizable and minimalist theme for EmlogPro. It provides a wide range of features including a frontend user center, responsive design, dark mode, and advanced search capabilities. It is available in Lite and Pro versions, with the Pro version adding advanced monetization, e-commerce, and community features.
  2. Install SourceGuardian extension via BT Panel (One-Click Method)

    You can use the one-click installation for the latest SG version. However, if the frontend displays a white screen or the backend is empty after installation, uninstall the one-click extension and use the manual installation method instead.
  3. Configure task completion types

    The completion type determines how the system tracks a user's progress toward a reward:

    • Loop (循环): Rewards are granted every time the required amount is reached. For example, if the requirement is 10 check-ins, the user gets a reward at 10, 20, 30, etc.
    • Daily (每日): Similar to Loop (cumulative), but includes a check for the current day. Use this if you want to prevent users from claiming multiple rewards on the same day.
    • Today (当天): Only counts actions performed on the current day. For example, 'Comment 2 times today' must be completed within a single day to earn the reward.
  4. Import and export CD-keys

    CD-keys can be exported based on specific needs. For importing CD-keys, you must first set the associated article or post to ensure the import functions correctly, then follow the required format for the import file.
  5. Install the VAM Template Options Plugin

    Depending on the theme version, you must install the correct version of the options plugin:

    • Pro Version (v2.0.0+): You must install the custom version of the options plugin obtained from the official authorization center. Do not use the version provided in the online store.
    • Lite Version: Download the regular version from the provided link (Extraction code: vaimi).
  6. Apply and refresh task settings

    To ensure task changes take effect, you must perform the following two steps in order:

    1. Save the theme settings.
    2. Click the 'Refresh Task Data' (刷新任务数据) button.
  7. Authenticate API requests using Signature-based Key Authentication

    Use signature-based authentication for higher security. This method requires a Unix timestamp and a signature generated by MD5 hashing the concatenation of the timestamp and the API key. The API key is found in the backend under System -> Settings -> API Settings. This method supports both POST and GET requests.
    $apikey = '******'; // API Secret from System-Settings-API Settings
    $req_time = time(); // Unix timestamp in seconds
    $req_sign = md5($req_time . $apikey); // MD5 signature

    Required Parameters:

    • req_sign: The calculated MD5 signature.
    • req_time: The Unix timestamp used for the signature.
  8. Prepare the environment for VAM theme installation

    Before installing a VAM theme, ensure the following system requirements are met. It is critical to install the required extensions first by following the extension installation guide.

    • CMS: EmlogPro 2.4+ (Paid membership not required)
    • PHP: 8.0 or higher
    • Database: MySQL 5.6+ or MariaDB 10.3+. The character set must be utf8mb4. (MySQL 5.6 is recommended for servers with less than 2GB RAM)
    • Recommended Server: Linux + Nginx (OS: Debian 12)
    • Supported Browsers: Chrome, Firefox, Opera, Safari, Edge
  9. PHP version requirements for extension installation

    The installation process and extensions are strictly limited to PHP versions 8.0 through 8.3. Other versions are not compatible.
  10. Select and organize icons from Alibaba Vector Graphics Library

    To use custom icons, first create an account at the Alibaba Vector Graphics Library (iconfont.cn). Browse for icons and add them to a project by clicking the 'Shopping Cart' icon on the desired icon. If no project exists, create a new one and add the icons to that project directory.
  11. Install PHP extensions for Eternity Pro (BT Panel)

    For users of the BT (Baota) panel: locate the PHP version used by your site, go to Settings, and install the required extensions. After installation is complete, you must restart the PHP service for changes to take effect.