Skip to content
/ wdesk Public

Fast and straightforward Helpdesk with multilanguage support for WordPress

Notifications You must be signed in to change notification settings

wwwxkz/wdesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wdesk

Available in https://wordpress.org/plugins/wdesk

Screenshots

Support

Environment

  • Wordpress > 5.0
  • PHP > 7.0
  • Git clone main
  • New branch 'feature/fix/update feature/update-name short description'

Structure

  • wdesk
    • admin (Admin panel pages)
      • [page_name]
        • [page_name.php] (Calls nedded documents)
        • [html.php] (Logic goes here)
    • languages (Internationalization)
      • wdesk.pot (Main file to generate new internationalizations or update existing ones)
      • wdesk-pt_BR.po (.po and .mo are automatically generated using Poedit)
      • wdesk-pt_BR.mo
    • script (Backend scripts)
      • helpers (.csv download, notify user, tiny helpers)
      • functions (Long functions with many parameters usually related to table operations "CRUD" as tickets and users)
    • shortcode (All shortcodes)
      • components (Stringified HTML of shortcodes)
        • scripts (Stringified JS of shortcodes)
        • styles (Stringified CSS of shortcodes)
        • [component_name.php]
      • [shortcode_name.php] (Call nedded components) shortcode.php (Registers all shortcodes)
    • index.php (Main Wordpress plugin file)
    • readme.txt (Wordpress online plugin page configuration file)

Shortcodes

  • wdesk_guest (Create ticket as a guest)
  • wdesk_access (Sign-in, Log-in and Recover)
  • wdesk_log_in (Log-in form)
  • wdesk_sign_in (Sign-in form)
  • wdesk_recover (Recover user password)

Internationalization

  • wp i18n make-pot . languages/wdesk.pot --slug=wdesk
  • Or use languages/wdesk.pot
  • Poedit
  • New branch 'add/fix/update language-name_variant short description'

Progress

  • Improve prototype
    • Add guest users using tokens
    • Remove serialized in the DB
    • Remove main script from frontend
    • INSERT wdesk_settings example data IF NOT EXIST
    • Replace wdesk_settings for get_option
  • Refactor frontend/script and frontend.php
    • Padronize variables and function names
    • Replace colspan by css
  • Improve security
    • Replace cookies by session
    • Refactor urlparams
    • Use token with id
      • Token expires
    • Refactor security
      • Access token instead of session password

Features

  • Usability improvement
    • Download ticket as .csv
    • Ticket notes
    • Search and filter
    • Last update
    • Tags
    • Department email
    • Rich text
  • Add more customization and tools
    • Date format
    • Ban emails
    • Ban email providers
    • Reports
    • Max subject, thread
    • Autoclose

About

Fast and straightforward Helpdesk with multilanguage support for WordPress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages