GithubHelp home page GithubHelp logo

daomapsieucap / fiber-admin Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 2.9 MB

💈 Bring multiple customization features to make your own WordPress admin.

Home Page: https://wordpress.org/plugins/fiber-admin/

CSS 2.53% JavaScript 5.12% PHP 92.09% HTML 0.26%
white-label admin-tools wordpress-plugin wordpress duplicate-post custom-post-order content-protection

fiber-admin's Introduction

Hi 🚀, I'm Dao

Another WordPress Developer on earth 💬

daomapsieucap

fiber-admin's People

Contributors

daomapsieucap avatar khanhpham-viivue avatar phongkhuu115 avatar zrvincent avatar

Watchers

 avatar  avatar

Forkers

centrodevops

fiber-admin's Issues

Content protection

At this time, Fiber Admin has 2 options for content protection:

  • Image Protection: Disable right-click on the image.
  • Content Protection: Prevent copy content.

I think it's better to merge these options into one but with conditional logic:

  • We will have one option: Disable content protection (DCP).
  • When the DCP option is disabled: Show the 2 options: Disable Image Protection and Disable Content Protection.

Custom Post Order Default Override Default Query not working

The setting Override Default Query in Custom Post Order tab doesn't know the setting specific Post Type. It overrides all the post types query.

I think the issue came from my code won't check for the main query before changing post order.

Issue with settings in DB Error

  • When the site is down in real-time, the database connection is not working. When saving the logo image, using image ID is not a good solution, it should be updated by URL.
  • Message in DB Error setting always been stripped, for example, We're always be We're on the frontend.

Fix issue with Coming soon / Maintenance mode

Since the feature was released from v3.1.0, we have received some feedback from the client:

  • Double-check if the feature is working properly. There are some minor bugs when we activate this feature the first time.
  • The default coming soon mode layout needs to be improved.
  • Import related styles from the main site for both coming soon and maintenance mode.
  • Edit CSM title with Yoast SEO or other SEO plugins (now we need to edit the page title to update SEO title)

Option to show admin frontend toolbar

Admin needs the option to choose whether they want to hide/show the admin toolbar or not. This should be done via White Label > Branding > Enable Frontend Toolbar, the default value should be false.

Enable duplicate all CPT as default

Admin should have the capability to duplicate all CPT items as a default option. May add extra option to exclude this feature for specific CPT.

Wrong HTML with mailto link

Option Convert Email Text to Link causes wrong HTML tag when content has mailto link.

For example, this is the duplicated HTML a tag

Screenshot_970

Auto set attachment metadata

In Fiber Admin > Misc, we do have settings to Auto set image meta. It's the feature to prevent the admin forget to input the image meta because it's related to the required alt attribute for img tag.

Screenshot_332

Fiber Admin will convert the file name to Image Title (as readable text) with the enabled option.

After some updates, especially with #13, the function to set alt attribute is not working properly.

Requirement:

  • Move this option to a new group called Attachment.
  • We will handle the metadata file for the image and pdf, doc, docx...
  • Check and fix the issue with wrong metadata set.

Wrong img width height for SVG images

Fiber Admin adding width height with decimals which is wrong for W3School validator. It needs to be rounded up to prevent the wrong HTML attribute value.

Coming soon / Maintenance mode

Add coming soon / maintenance mode

The idea for this feature can be listed below:

  • Has the option to select a page for coming soon / maintenance mode (this page should be noindex as default)
  • Coming soon & maintenance page don't have header & footer.
  • Has extra fields for custom CSS / JS (with code style block if it's possible)
  • Coming soon / maintenance mode should have the correct response code

Convert Email Text to Link conflicts with content in data attribute

Convert Email Text to Link now converts all content using hook the_content which makes the wrong HTML structure in the data- attribute.

To prevent this issue, I think the feature Convert Email Text needs to use regex to prevent converting text in the data- attribute.

Clean image file names

It's great to have the feature to format the image file name into browser and server-friendly, non-accent characters.

There are many customers won't have enough basic knowledge about renaming the file name before uploading it to Media Library, we will help them cover this case. The case often happens for Vietnamese customers especially.

For example: The file name "Báo-cáo-thường-niên-2023.pdf" should be converted to "bao-cao-thuong-nien-2023.pdf" automatically.

For this feature, there should be a setting where admin can choose to turn on / off in CMS (default value is on).

Sanitizing filename causes wrong local json filename in ACF

Wrong conditional logic in function fiad_cleanup_attachment_name replace the filename from group_6554a45dbcf1f.json to group-6554a45dbcf1f.json which makes ACF can't delete the local ACF json. Deleted json files still exist in folder so the field group can't be deleted and it displays in Sync available tab.

The condition here should be updated and optimized just to rename the attachment files only.

Screenshot-1700046086

Improve admin UI by tabs

  • Try to merge all these settings in tab layout ➡️ Admin can have a choice to Save all settings once.
  • Move the setting menu to Settings.
  • White Label > Add option to change Privacy Policy link color.

Bug ACF fields when duplicate post

When duplicating posts has ACF fields, some fields have no value after duplicating. For example: multiple select field, gallery field,...

270524447-2884ebbf-e0e9-494c-812e-bd3ef73fb0c9


270524930-4b523adf-2344-4fe4-8d5b-1260648c7f07

Style error on Template (Divi) theme

When I activated the Fiber Admin plugin, I noticed that the style was not correct. After checking, I found a filter causing this error.
Please check it with Divi theme.

image_2023_07_07T04_05_22_217Z

Before active plugin
screencapture-01

After active plugin
screencapture-02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.