Linux 软件免费装

danixland-user-panel

开发者 danixland
更新时间 2020年11月5日 21:29
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 5.6

标签

widget sidebar links dashboard user panel gravatar

下载

1.0.1 1.0.2 1.1.0 1.2 1.2.1 1.4 1.4.1 1.4.2 1.3

详情介绍:

danixland-user-panel is a plugin that adds a new widget to be used on the Sidebar (or wherever you like). This widget is an enhanced version of the standard meta widget, it shows the current user's Gravatar (can be disabled in the control panel), shows a link to your site's Dashboard, to the current user's options and detects if a user is logged in or not. If a user is not logged in, the widget checks if user registration is enabled and shows different links based on how the admin set up registration on the site. If registration is enabled, the widget shows a link to the registration page plus the usual "login" and "forgotten password" where if registration is disabled, it shows only the standard "login" link. This plugin allows the admin to display a set of custom links which can be shown based on usernames, user ids or even user roles and capabilities. Starting with version 1.2 this plugin uses some code from the sidebar-login by Mike Jolley, so a big thank you goes to him for releasing this nice piece of software.

安装:

Installing danixland-user-panel is straightforward and requires just a few seconds: If you use the "Add New Plugin" pane from your dashboard just install it and activate it, then proceed to the last step and configure it. Otherwise follow these steps:
  1. Download the latest version of the plugin.
  2. If using the "Install Plugins->Upload" section on the WordPress admin area just upload the zip file, otherwise unpack the zip file and upload the "danixland-user-panel" directory inside the "wp-content/plugins" directory of your WordPress installation using your favourite ftp client.
  3. 通过 WordPress 的“插件”菜单以激活本插件。
  4. Add the widget to your sidebar from Appearance->Widgets.
  5. Configure the widget options through the Setting Panel which can be accessed from the sidebar clicking on Settings->User Panel Options.

屏幕截图:

  • The link in the admin area's sidebar. It's accessible only to those users who can [manage-options](http://codex.wordpress.org/Roles_and_Capabilities#manage_options).
  • The heading of the settings page with the option to enable/disable the visualization of the Gravatar image.
  • The two heading options, here you can set a message to welcome your users, both when they are logged in or not.
  • The custom link area with two custom links set. Notice the tips in the description which will help you use it at its best.
  • The widget on the front page of the site, displayed in the footer of the standard twentyeleven theme with no customization. Here the user is logged in and has two custom links.
  • The same widget but showing only the "login" and "forgot password" links since the user is not logged in and registration is not allowed.
  • Here's the widget on the front site, the user has not logged in and registration of new users is allowed.

升级注意事项:

1.4.2
  • Fixed translation system, no plugin functionalities modified. Upgrade if you want to enjoy this plugin in your own language.
1.4.1
  • Small plugin edit that avoids using a function that will be deprecated with WordPress 4.5 (future proofing FTW!!). Upgrade recommended!
1.4
  • Some plugin fixes to avoid returning errors because of the deprecated WP_Widget method.
1.2
  • Major plugin changes, adopted the new WordPress Settings API which improves overall security, so it is higly recommended to upgrade.
1.1.0
  • This version adds an useful functionality, so it is recommended to upgrade.
1.0.2 Minor fix, this version is the same as the 1.0.1 1.0.1 This version adds the "password forgotten" in no registration mode, so it's useful to upgrade. 1.0 No upgrade since this is the first version ;)

常见问题:

What can I do to customize even more the appearance of the widget?

The code generated by the plugin is wrapped in an HTML element with class dnx-user-panel, what kind of element is decided by your theme, if unsure ask his creator. Contained in that element you'll find an unordered list with id dnxup_login_links and a variable class based on what kind of user is surfing the page; these are the classes you can use:

  • If the user is logged in to your site: .user_logged_in
  • If the user is not logged in to your site and you have registration enabled: .logged_out_yesreg
  • Or if the user is not logged in to your site and you don't want new users to register: .logged_out_noreg
Also each custom list item has class dnxup_custom_link, predefined list items have a specific id, and you can specify ids and classes for your custom links too!! These are the predefined ids for every list item:

Logged out users, no registration:

  • #login
  • #lostpassword

Logged out users, registration enabled:

  • #register
  • #login
  • #lostpassword

Logged in users:

  • #dashboard
  • #profile
  • #logout

I'm stuck with your plugin and don't seem to be able to customize it/make it work, can you help me?

Of course, you can ask for help on the forums or write a comment on the main article for this plugin on my site, I'll reply ASAP ;)

I'd like this plugin to be translated in my language, can you do this for me?

Starting with version 1.2 the plugin ships with a .POT file that can be used to create a translation of the plugin in your language, so if you're familiar with english you can help by providing a translation and it will be added to future versions of the plugin along with a link to your site on these pages ;) To provide a translation simply edit the file "danixland-user-panel.pot" and fill every line with the traduction in your language, then save it as yourlanguagecode.po (E.G. it_IT.po for Italian), then contact me via the forums or my site and I'll tell you how to send this file to me. I'll add your translation ASAP. A number of softwares exists to help you with .po files, like POEdit or Lokalize

If you have any other questions feel free to ask

更新日志:

1.4.2 1.4.1 1.4 1.3 1.2.1 1.2 1.1.0 1.0.2 1.0.1 1.0