Simplify Complete

Summary

Simplify Complete is an edition that includes all existing modules pre-installed, so there’s no need to install them separately.

---

Changelog
20.11.2024
SimpleBlog
- Updated the smiley code syntax (uses a format like e.g. :happy: now)

Loginbase
- Added an option to turn off the TinyMCE editor.
- Added the option to change the password on the Edit Profile page.
- Implemented a Dark Mode setting
- Added an Accent Color setting to allow customization of the default blue color in the admin theme.
- Added pagination settings for easier customization of arrows and the div wrapper.

15.11.2024
Pages
- Added Pages module to the Complete Edition
Updater
- Added Updater module to the Comlete Edition
SimpleBlog
- Implemented logic to ensure aliases are unique when creating, editing, restoring, or soft-deleting blog posts.
- Added versioning support to enable updates through the updater.
Loginbase
- Improved query string handling in the functions.php by sanitizing individual parameters and ensuring valid ports.
- Added versioning support to enable updates through the updater.

13.11.2024
Initial release.

Description

This is the Complete Edition
Simplify Complete is an edition that includes all existing modules pre-installed, so there’s no need to install them separately.

This requires PHP version 8.0 or higher. Please update the PHP version in your web hosting settings before uploading this script!

---

The Complete Edition includes the following modules:
- Simplify Loginbase
- Simplify Pages
- Simplify SimpleBlog (+ Antispam, Smileys)
- Simplify Updater

---

Installation Steps:

1. Upload Files: 
    Upload all files to your web server.

2. Access Admin Panel: 
    Navigate to /simplify in your browser. This will be your admin panel.

3. Register an Account: 
    Register a new user account. Once registered, you're ready to start using Simplify.

Registration will be closed after the first user has registered. This is a security feature and is intentional. 

You can re-open the registration by logging in and going to the Settings. The first user to register will always be an Admin, all others will be members with limited rights.

By default, the admin can manage the content of all users, while members can only edit their own content.

---

IMPORTANT: Manually add Simplify Module support to your existing design

If they don't already exist, Simplify will generate basic header.php and footer.php files in the same location as your index.php and profile.php when you first open it in your browser. 

These files serve as examples for how to integrate Simplify into your theme. They contain the necessary functions and hooks to ensure modules can properly add their assets, such as stylesheets, scripts, etc.


To manually add support for the Simplify Modules to your existing design, add these lines to your <head></head> section:

<?php
// Render assets
if (method_exists('AssetsManager', 'renderAssets')) echo AssetsManager::renderAssets('header');

// Render SEO meta tags
if (isset($blog) && is_object($blog) && method_exists($blog, 'renderMetaTags')) $blog->renderMetaTags($metaTags);

// Add FontAwesome stylesheet
if (class_exists('ModuleLoader') && method_exists('ModuleLoader', 'getSetting') && ModuleLoader::getSetting('Default', 'addFontAwesome')): ?>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<?php endif; ?>


And this right before the </body>

<?php if (method_exists('AssetsManager', 'renderAssets')) echo AssetsManager::renderAssets('footer'); ?>