initial commit
[danixland-user-panel.git] / readme.txt
CommitLineData
80ada540 1=== danixland-user-panel ===
2Contributors: danixland
3Donate link: http://danixland.net
4Tags: user, panel, dashboard, widget, sidebar, gravatar, links,
5Requires at least: 3.0.1
6Tested up to: 4.4
7Stable tag: 1.4.2
8
9This widget is an enhanced version of the standard meta widget for the sidebar.
10
11== Description ==
12
13danixland-user-panel is a plugin that adds a new widget to be used on the Sidebar (or wherever you like).
14This widget is an enhanced version of the standard meta widget, it shows the current user's Gravatar (can be disabled
15in the control panel), shows a link to your site's Dashboard, to the current user's options and detects if a user is
16logged in or not.
17If a user is not logged in, the widget checks if user registration is enabled and shows different links based on how
18the admin set up registration on the site.
19If registration is enabled, the widget shows a link to the registration page plus the usual "login" and "forgotten password"
20where if registration is disabled, it shows only the standard "login" link.
21
22This 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.
23
24_Starting with version 1.2 this plugin uses some code from the sidebar-login by [Mike Jolley](http://mikejolley.com), so a big **thank you** goes to him for releasing this nice piece of software._
25
26
27== Installation ==
28
29Installing danixland-user-panel is straightforward and requires just a few seconds:
30
31If 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.
32Otherwise follow these steps:
33
341. Download the latest version of the plugin.
351. If using the "Install Plugins->Upload" section on the WordPress admin area just upload the zip file, otherwise unpack the zip file and upload
36 the **"danixland-user-panel"** directory inside the "wp-content/plugins" directory of your WordPress installation using your favourite ftp client.
371. Activate the plugin through the 'Plugins' menu in WordPress.
381. Add the widget to your sidebar from Appearance->Widgets.
391. Configure the widget options through the Setting Panel which can be accessed from the sidebar clicking on Settings->User Panel Options.
40
41== Frequently Asked Questions ==
42
43= What can I do to customize even more the appearance of the widget? =
44
45The 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.
46Contained 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:
47
48* If the user is logged in to your site: `.user_logged_in`
49* If the user is not logged in to your site and you have registration enabled: `.logged_out_yesreg`
50* Or if the user is not logged in to your site and you don't want new users to register: `.logged_out_noreg`
51
52Also 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!!
53These are the predefined ids for every list item:
54
55###### Logged out users, no registration:
56
57* `#login`
58* `#lostpassword`
59
60###### Logged out users, registration enabled:
61
62* `#register`
63* `#login`
64* `#lostpassword`
65
66###### Logged in users:
67
68* `#dashboard`
69* `#profile`
70* `#logout`
71
72= I'm stuck with your plugin and don't seem to be able to customize it/make it work, can you help me? =
73
74Of course, you can ask for help on [the forums](http://wordpress.org/support/) or write a comment on the main article for this plugin on [my site](http://danixland.net/blog/2010/603-danixland-user-panel-plugin/), I'll reply ASAP ;)
75
76= I'd like this plugin to be translated in my language, can you do this for me? =
77
78Starting 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 ;)
79
80To 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.
81
82A number of softwares exists to help you with .po files, like [POEdit](http://sourceforge.net/projects/poedit/) or [Lokalize](http://userbase.kde.org/Lokalize "for kde users")
83
84####If you have any other questions feel free to ask
85
86== Screenshots ==
87
881. 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).
892. The heading of the settings page with the option to enable/disable the visualization of the Gravatar image.
903. The two heading options, here you can set a message to welcome your users, both when they are logged in or not.
914. The custom link area with two custom links set. Notice the tips in the description which will help you use it at its best.
925. 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.
936. The same widget but showing only the "login" and "forgot password" links since the user is not logged in and registration is not allowed.
947. Here's the widget on the front site, the user has not logged in and registration of new users is allowed.
95
96== Changelog ==
97
98= 1.4.2 =
99* fixed i18n functionality. This plugin is now fully international and is now shipping with a working POT and an italian translation.
100
101= 1.4.1 =
102* wp_currentuserinfo() is deprecated as of latest WordPress 4.5-alpha, so I had to switch to wp_get_current_user() instead.
103
104= 1.4 =
105* Plugin now uses the __construct method which is recommended since WP 4.3
106
107= 1.3 =
108* Fixed errors that rendered the plugin unusable on WP 4.1 beta 1
109
110= 1.2.1 =
111* Added Azerbaijani translation
112
113= 1.2 =
114* Migration to the [Settings API](http://codex.wordpress.org/Settings_API).
115* Added options to set multiple custom links.
116* [i18n](http://codex.wordpress.org/I18n_for_WordPress_Developers) setup and plugin shipping now with standard .pot file to help translators.
117
118= 1.1.0 =
119* Added possibility to add a custom link
120
121= 1.0.2 =
122* Fixed "plugin link" that was pointing to a wrong url
123
124= 1.0.1 =
125* Added "password forgotten" link in no registration mode.
126
127= 1.0 =
128* This is the first version of the plugin.
129
130== Upgrade Notice ==
131
132= 1.4.2 =
133* Fixed translation system, no plugin functionalities modified. Upgrade if you want to enjoy this plugin in your own language.
134
135= 1.4.1 =
136* Small plugin edit that avoids using a function that will be deprecated with WordPress 4.5 (future proofing FTW!!). Upgrade recommended!
137
138= 1.4 =
139* Some plugin fixes to avoid returning errors because of the deprecated WP_Widget method.
140
141= 1.2 =
142* Major plugin changes, adopted the new [WordPress Settings API](http://codex.wordpress.org/Settings_API) which improves overall security, so it is higly recommended to upgrade.
143
144= 1.1.0 =
145* This version adds an useful functionality, so it is recommended to upgrade.
146
147= 1.0.2 =
148Minor fix, this version is the same as the 1.0.1
149
150= 1.0.1 =
151This version adds the "password forgotten" in no registration mode, so it's useful to upgrade.
152
153= 1.0 =
154No upgrade since this is the first version ;)
155
156
157
158== ToDo list ==
159
160List is actually empty, but I'm open to suggestions.
161
162== Translations ==
163
164Azerbaijani translation (for previous version, not working anymore) by: [deqaxwer](http://wordpress.org/support/profile/deqaxwer)
165Italian translation by me :)