forked from joomla/Members-Manager
update to version 1.0.7
This commit is contained in:
parent
f0d8a687d9
commit
c80f127b1e
26
README.md
26
README.md
@ -1,4 +1,4 @@
|
||||
# Joomla Members Manager (JMM)
|
||||
# Members Manager (JMM)
|
||||
[![GitHub release](https://img.shields.io/github/release/vdm-io/Joomla-Members-Manager.svg)](https://github.com/vdm-io/Joomla-Members-Manager/releases)
|
||||
|
||||
![Members Manager image](https://raw.githubusercontent.com/vdm-io/Joomla-Members-Manager/master/admin/assets/images/vdm-component.jpg "The Members Manager")
|
||||
@ -13,38 +13,38 @@ Watch this [tutorial](https://youtu.be/lkE0ZiSWufg) to see how.
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Members Manager](https://www.joomlacomponentbuilder.com/)
|
||||
+ *First Build*: 6th September, 2015
|
||||
+ *Last Build*: 11th July, 2018
|
||||
+ *Last Build*: 25th July, 2018
|
||||
+ *Version*: 1.0.x
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
|
||||
**74 Hours** or **9 Eight Hour Days** (actual time the author saved -
|
||||
**103 Hours** or **13 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **26591**
|
||||
+ *File count*: **244**
|
||||
+ *Folder count*: **67**
|
||||
+ *Line count*: **36982**
|
||||
+ *File count*: **264**
|
||||
+ *Folder count*: **69**
|
||||
|
||||
**49 Hours** or **6 Eight Hour Days** (the actual time the author spent)
|
||||
**68 Hours** or **8 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @19hours** = codingtime / 4;
|
||||
> **planning @11hours** = codingtime / 7;
|
||||
> **mapping @7hours** = codingtime / 10;
|
||||
> **office @12hours** = codingtime / 6;)
|
||||
> **debugging @26hours** = codingtime / 4;
|
||||
> **planning @15hours** = codingtime / 7;
|
||||
> **mapping @10hours** = codingtime / 10;
|
||||
> **office @17hours** = codingtime / 6;)
|
||||
|
||||
**123 Hours** or **15 Eight Hour Days**
|
||||
**171 Hours** or **21 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **3 weeks** or **0.6 months**
|
||||
Project duration: **4.2 weeks** or **0.9 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Joomla Members Manager (JMM)
|
||||
# Members Manager (JMM)
|
||||
[![GitHub release](https://img.shields.io/github/release/vdm-io/Joomla-Members-Manager.svg)](https://github.com/vdm-io/Joomla-Members-Manager/releases)
|
||||
|
||||
![Members Manager image](https://raw.githubusercontent.com/vdm-io/Joomla-Members-Manager/master/admin/assets/images/vdm-component.jpg "The Members Manager")
|
||||
@ -13,38 +13,38 @@ Watch this [tutorial](https://youtu.be/lkE0ZiSWufg) to see how.
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Members Manager](https://www.joomlacomponentbuilder.com/)
|
||||
+ *First Build*: 6th September, 2015
|
||||
+ *Last Build*: 11th July, 2018
|
||||
+ *Last Build*: 25th July, 2018
|
||||
+ *Version*: 1.0.x
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
|
||||
**74 Hours** or **9 Eight Hour Days** (actual time the author saved -
|
||||
**103 Hours** or **13 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **26591**
|
||||
+ *File count*: **244**
|
||||
+ *Folder count*: **67**
|
||||
+ *Line count*: **36982**
|
||||
+ *File count*: **264**
|
||||
+ *Folder count*: **69**
|
||||
|
||||
**49 Hours** or **6 Eight Hour Days** (the actual time the author spent)
|
||||
**68 Hours** or **8 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @19hours** = codingtime / 4;
|
||||
> **planning @11hours** = codingtime / 7;
|
||||
> **mapping @7hours** = codingtime / 10;
|
||||
> **office @12hours** = codingtime / 6;)
|
||||
> **debugging @26hours** = codingtime / 4;
|
||||
> **planning @15hours** = codingtime / 7;
|
||||
> **mapping @10hours** = codingtime / 10;
|
||||
> **office @17hours** = codingtime / 6;)
|
||||
|
||||
**123 Hours** or **15 Eight Hour Days**
|
||||
**171 Hours** or **21 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **3 weeks** or **0.6 months**
|
||||
Project duration: **4.2 weeks** or **0.9 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -35,19 +35,68 @@
|
||||
<action name="currency.export" title="COM_MEMBERSMANAGER_CURRENCIES_EXPORT" description="COM_MEMBERSMANAGER_CURRENCIES_EXPORT_DESC" />
|
||||
<action name="currency.import" title="COM_MEMBERSMANAGER_CURRENCIES_IMPORT" description="COM_MEMBERSMANAGER_CURRENCIES_IMPORT_DESC" />
|
||||
<action name="currency.submenu" title="COM_MEMBERSMANAGER_CURRENCIES_SUBMENU" description="COM_MEMBERSMANAGER_CURRENCIES_SUBMENU_DESC" />
|
||||
<action name="site.profile.access" title="COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE" description="COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE_DESC" />
|
||||
<action name="member.access" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_DESC" />
|
||||
<action name="member.access.account" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT_DESC" />
|
||||
<action name="member.access.city" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY_DESC" />
|
||||
<action name="member.access.country" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY_DESC" />
|
||||
<action name="member.access.email" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL_DESC" />
|
||||
<action name="member.access.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.access.main_member" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER_DESC" />
|
||||
<action name="member.access.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE_DESC" />
|
||||
<action name="member.access.name" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME_DESC" />
|
||||
<action name="member.access.postal" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL_DESC" />
|
||||
<action name="member.access.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE_DESC" />
|
||||
<action name="member.access.region" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION_DESC" />
|
||||
<action name="member.access.street" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET_DESC" />
|
||||
<action name="member.access.token" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN_DESC" />
|
||||
<action name="member.access.type" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE_DESC" />
|
||||
<action name="member.access.user" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER_DESC" />
|
||||
<action name="member.access.website" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE_DESC" />
|
||||
<action name="member.batch" title="COM_MEMBERSMANAGER_MEMBERS_BATCH_USE" description="COM_MEMBERSMANAGER_MEMBERS_BATCH_USE_DESC" />
|
||||
<action name="member.create" title="COM_MEMBERSMANAGER_MEMBERS_CREATE" description="COM_MEMBERSMANAGER_MEMBERS_CREATE_DESC" />
|
||||
<action name="member.delete" title="COM_MEMBERSMANAGER_MEMBERS_DELETE" description="COM_MEMBERSMANAGER_MEMBERS_DELETE_DESC" />
|
||||
<action name="member.edit" title="COM_MEMBERSMANAGER_MEMBERS_EDIT" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_DESC" />
|
||||
<action name="member.edit.account" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT_DESC" />
|
||||
<action name="member.edit.city" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY_DESC" />
|
||||
<action name="member.edit.country" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY_DESC" />
|
||||
<action name="member.edit.created_by" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="member.edit.created" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="member.edit.email" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL_DESC" />
|
||||
<action name="member.edit.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.edit.main_member" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER_DESC" />
|
||||
<action name="member.edit.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE_DESC" />
|
||||
<action name="member.edit.name" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME_DESC" />
|
||||
<action name="member.edit.own" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN_DESC" />
|
||||
<action name="member.edit.postal" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL_DESC" />
|
||||
<action name="member.edit.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE_DESC" />
|
||||
<action name="member.edit.region" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION_DESC" />
|
||||
<action name="member.edit.state" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE_DESC" />
|
||||
<action name="member.edit.street" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET_DESC" />
|
||||
<action name="member.edit.token" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN_DESC" />
|
||||
<action name="member.edit.type" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE_DESC" />
|
||||
<action name="member.edit.user" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_USER" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_USER_DESC" />
|
||||
<action name="member.version" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION_DESC" />
|
||||
<action name="member.edit.website" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE_DESC" />
|
||||
<action name="member.export" title="COM_MEMBERSMANAGER_MEMBERS_EXPORT" description="COM_MEMBERSMANAGER_MEMBERS_EXPORT_DESC" />
|
||||
<action name="member.import" title="COM_MEMBERSMANAGER_MEMBERS_IMPORT" description="COM_MEMBERSMANAGER_MEMBERS_IMPORT_DESC" />
|
||||
<action name="member.submenu" title="COM_MEMBERSMANAGER_MEMBERS_SUBMENU" description="COM_MEMBERSMANAGER_MEMBERS_SUBMENU_DESC" />
|
||||
<action name="member.view.account" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT_DESC" />
|
||||
<action name="member.view.city" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY_DESC" />
|
||||
<action name="member.view.country" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY_DESC" />
|
||||
<action name="member.view.email" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL_DESC" />
|
||||
<action name="member.view.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.view.main_member" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER_DESC" />
|
||||
<action name="member.view.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE_DESC" />
|
||||
<action name="member.view.name" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME_DESC" />
|
||||
<action name="member.view.postal" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL_DESC" />
|
||||
<action name="member.view.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE_DESC" />
|
||||
<action name="member.view.region" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION_DESC" />
|
||||
<action name="member.view.street" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET_DESC" />
|
||||
<action name="member.view.token" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN_DESC" />
|
||||
<action name="member.view.type" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE_DESC" />
|
||||
<action name="member.view.user" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_USER" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_USER_DESC" />
|
||||
<action name="member.view.website" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE_DESC" />
|
||||
<action name="region.access" title="COM_MEMBERSMANAGER_REGIONS_ACCESS" description="COM_MEMBERSMANAGER_REGIONS_ACCESS_DESC" />
|
||||
<action name="region.batch" title="COM_MEMBERSMANAGER_REGIONS_BATCH_USE" description="COM_MEMBERSMANAGER_REGIONS_BATCH_USE_DESC" />
|
||||
<action name="region.create" title="COM_MEMBERSMANAGER_REGIONS_CREATE" description="COM_MEMBERSMANAGER_REGIONS_CREATE_DESC" />
|
||||
@ -86,6 +135,54 @@
|
||||
<action name="member.create" title="COM_MEMBERSMANAGER_MEMBERS_CREATE" description="COM_MEMBERSMANAGER_MEMBERS_CREATE_DESC" />
|
||||
<action name="member.delete" title="COM_MEMBERSMANAGER_MEMBERS_DELETE" description="COM_MEMBERSMANAGER_MEMBERS_DELETE_DESC" />
|
||||
<action name="member.access" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_DESC" />
|
||||
<action name="member.edit.user" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_USER" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_USER_DESC" />
|
||||
<action name="member.access.user" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER_DESC" />
|
||||
<action name="member.view.user" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_USER" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_USER_DESC" />
|
||||
<action name="member.edit.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.access.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.view.landline_phone" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE_DESC" />
|
||||
<action name="member.edit.type" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE_DESC" />
|
||||
<action name="member.access.type" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE_DESC" />
|
||||
<action name="member.view.type" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE_DESC" />
|
||||
<action name="member.edit.account" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT_DESC" />
|
||||
<action name="member.access.account" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT_DESC" />
|
||||
<action name="member.view.account" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT_DESC" />
|
||||
<action name="member.edit.token" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN_DESC" />
|
||||
<action name="member.access.token" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN_DESC" />
|
||||
<action name="member.view.token" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN_DESC" />
|
||||
<action name="member.edit.country" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY_DESC" />
|
||||
<action name="member.access.country" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY_DESC" />
|
||||
<action name="member.view.country" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY_DESC" />
|
||||
<action name="member.edit.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE_DESC" />
|
||||
<action name="member.access.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE_DESC" />
|
||||
<action name="member.view.postalcode" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE_DESC" />
|
||||
<action name="member.edit.city" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY_DESC" />
|
||||
<action name="member.access.city" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY_DESC" />
|
||||
<action name="member.view.city" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY_DESC" />
|
||||
<action name="member.edit.region" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION_DESC" />
|
||||
<action name="member.access.region" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION_DESC" />
|
||||
<action name="member.view.region" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION_DESC" />
|
||||
<action name="member.edit.street" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET_DESC" />
|
||||
<action name="member.access.street" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET_DESC" />
|
||||
<action name="member.view.street" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET_DESC" />
|
||||
<action name="member.edit.postal" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL_DESC" />
|
||||
<action name="member.access.postal" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL_DESC" />
|
||||
<action name="member.view.postal" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL_DESC" />
|
||||
<action name="member.edit.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE_DESC" />
|
||||
<action name="member.access.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE_DESC" />
|
||||
<action name="member.view.mobile_phone" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE_DESC" />
|
||||
<action name="member.edit.name" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME_DESC" />
|
||||
<action name="member.access.name" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME_DESC" />
|
||||
<action name="member.view.name" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME_DESC" />
|
||||
<action name="member.edit.website" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE_DESC" />
|
||||
<action name="member.access.website" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE_DESC" />
|
||||
<action name="member.view.website" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE_DESC" />
|
||||
<action name="member.edit.email" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL_DESC" />
|
||||
<action name="member.access.email" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL_DESC" />
|
||||
<action name="member.view.email" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL_DESC" />
|
||||
<action name="member.edit.main_member" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER_DESC" />
|
||||
<action name="member.access.main_member" title="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER_DESC" />
|
||||
<action name="member.view.main_member" title="COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER" description="COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER_DESC" />
|
||||
<action name="member.version" title="COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION" description="COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="type">
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -55,7 +55,7 @@ class MembersmanagerControllerAjax extends JControllerLegacy
|
||||
{
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
$fieldValue = $jinput->get('field', NULL, 'WORD');
|
||||
$valueValue = $jinput->get('value', NULL, 'WORD');
|
||||
$valueValue = $jinput->get('value', NULL, 'STRING');
|
||||
if($fieldValue && $valueValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->checkUnique($fieldValue, $valueValue);
|
||||
@ -132,9 +132,10 @@ class MembersmanagerControllerAjax extends JControllerLegacy
|
||||
{
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
$idValue = $jinput->get('id', NULL, 'INT');
|
||||
if($idValue && $user->id != 0)
|
||||
$shownameValue = $jinput->get('showname', NULL, 'INT');
|
||||
if($idValue && $shownameValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->getUser($idValue);
|
||||
$result = $this->getModel('ajax')->getUser($idValue, $shownameValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -311,6 +311,135 @@ abstract class MembersmanagerHelper
|
||||
}
|
||||
return $options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the html/link of the image
|
||||
*
|
||||
* @param object $item The item to get image for
|
||||
* @param string $target The target in the item to use
|
||||
* @param string $name The name target in item to use
|
||||
* @param string $filelink The file link
|
||||
*
|
||||
* @return string image html/link
|
||||
*
|
||||
*/
|
||||
public static function getImageLink(&$item, $target, $name = 'name', $filelink = null, $html = true)
|
||||
{
|
||||
// check that we have a value
|
||||
if (isset($item->{$target}) && MembersmanagerHelper::checkString($item->{$target}))
|
||||
{
|
||||
// load the file link path if not set
|
||||
if (!$filelink)
|
||||
{
|
||||
$filelink = self::getFolderPath('url');
|
||||
}
|
||||
// set image link
|
||||
if (strpos($item->{$target}, '_') !== false)
|
||||
{
|
||||
$extention = explode('_', $item->{$target});
|
||||
$actualName = self::safeString($target, 'w');
|
||||
if (strpos($item->{$target}, 'VDM') !== false)
|
||||
{
|
||||
$fileNameArray = explode('VDM', $item->{$target});
|
||||
if (isset($fileNameArray[1]) && MembersmanagerHelper::checkString($fileNameArray[1]))
|
||||
{
|
||||
$actualName = $fileNameArray[1];
|
||||
}
|
||||
}
|
||||
// check if we have the extention
|
||||
if (isset($extention[2]))
|
||||
{
|
||||
// set the link
|
||||
$link = $filelink . $item->{$target} . '.' . $extention[2];
|
||||
// return ready html
|
||||
if ($html)
|
||||
{
|
||||
return '<img src="' . $link . '" alt="' . $actualName . ' ' . $item->{$name} . '" data-uk-tooltip title="' . $item->{$name} . '"/>';
|
||||
}
|
||||
// return just the link
|
||||
else
|
||||
{
|
||||
return $link;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the edit button
|
||||
*
|
||||
* @param int $item The item to edit
|
||||
* @param string $view The type of item to edit
|
||||
* @param string $views The list view controller name
|
||||
* @param string $ref The return path
|
||||
* @param string $headsup The message to show on click of button
|
||||
*
|
||||
* @return string On success the full html edit button
|
||||
*
|
||||
*/
|
||||
public static function getEditButton(&$item, $view, $views, $ref = '', $headsup = 'COM_MEMBERSMANAGER_ALL_UNSAVED_WORK_ON_THIS_PAGE_WILL_BE_LOST_ARE_YOU_SURE_YOU_WANT_TO_CONTINUE')
|
||||
{
|
||||
// check that we have the ID
|
||||
if (self::checkObject($item) && isset($item->id))
|
||||
{
|
||||
$id = (int) $item->id;
|
||||
// check if the checked_out is available
|
||||
if (isset($item->checked_out))
|
||||
{
|
||||
$checked_out = (int) $item->checked_out;
|
||||
}
|
||||
}
|
||||
elseif (self::checkArray($item) && isset($item['id']))
|
||||
{
|
||||
$id = (int) $item['id'];
|
||||
// check if the checked_out is available
|
||||
if (isset($item['checked_out']))
|
||||
{
|
||||
$checked_out = (int) $item['checked_out'];
|
||||
}
|
||||
}
|
||||
elseif (is_numeric($item))
|
||||
{
|
||||
$id = (int) $item;
|
||||
}
|
||||
// check ID
|
||||
if (isset($id) && $id > 0)
|
||||
{
|
||||
// can edit
|
||||
if (JFactory::getUser()->authorise($view.'.edit', 'com_membersmanager.'.$view.'.' . (int) $id))
|
||||
{
|
||||
// set the edit link
|
||||
$edit = "index.php?option=com_membersmanager&view=".$views."&task=".$view.".edit&id=".$id.$ref;
|
||||
// set the link title
|
||||
$title = self::safeString(JText::_('COM_MEMBERSMANAGER_EDIT').' '.$view, 'W');
|
||||
// check that there is a check message
|
||||
if (self::checkString($headsup))
|
||||
{
|
||||
$href = 'onclick="UIkit.modal.confirm(\''.JText::_($headsup).'\', function(){ window.location.href = \'' . $edit . '\' })" href="javascript:void(0)"';
|
||||
}
|
||||
else
|
||||
{
|
||||
$href = 'href="' . $edit . '"';
|
||||
}
|
||||
// check if it is checked out
|
||||
if (isset($checked_out) && $checked_out > 0)
|
||||
{
|
||||
// is this user the one who checked it out
|
||||
if ($checked_out == JFactory::getUser()->id)
|
||||
{
|
||||
return ' <a ' . $href . ' class="uk-icon-lock" title="' . $title . '"></a>';
|
||||
}
|
||||
return ' <a href="#" disabled class="uk-icon-lock" title="' . JText::sprintf('COM_MEMBERSMANAGER__HAS_BEEN_CHECKED_OUT_BY_S', self::safeString($view, 'W'), JFactory::getUser($checked_out)->name) . '"></a>';
|
||||
}
|
||||
// return normal edit link
|
||||
return ' <a ' . $href . ' class="uk-icon-pencil" title="' . $title . '"></a>';
|
||||
}
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the Component xml manifest.
|
||||
**/
|
||||
@ -960,16 +1089,16 @@ abstract class MembersmanagerHelper
|
||||
{
|
||||
if ($external)
|
||||
{
|
||||
if ($name = self::getVar(null, $val, $id, $name, '=', $table))
|
||||
if ($_name = self::getVar(null, $val, $id, $name, '=', $table))
|
||||
{
|
||||
$names[] = $name;
|
||||
$names[] = $_name;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($name = self::getVar($table, $val, $id, $name))
|
||||
if ($_name = self::getVar($table, $val, $id, $name))
|
||||
{
|
||||
$names[] = $name;
|
||||
$names[] = $_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1691,7 +1820,7 @@ abstract class MembersmanagerHelper
|
||||
*
|
||||
* @returns string on success
|
||||
**/
|
||||
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true)
|
||||
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true, $keepOnlyCharacters = true)
|
||||
{
|
||||
if ($replaceNumbers === true)
|
||||
{
|
||||
@ -1720,7 +1849,16 @@ abstract class MembersmanagerHelper
|
||||
$string = trim($string);
|
||||
$string = preg_replace('/'.$spacer.'+/', ' ', $string);
|
||||
$string = preg_replace('/\s+/', ' ', $string);
|
||||
// remove all and keep only characters
|
||||
if ($keepOnlyCharacters)
|
||||
{
|
||||
$string = preg_replace("/[^A-Za-z ]/", '', $string);
|
||||
}
|
||||
// keep both numbers and characters
|
||||
else
|
||||
{
|
||||
$string = preg_replace("/[^A-Za-z0-9 ]/", '', $string);
|
||||
}
|
||||
// select final adaptations
|
||||
if ($type === 'L' || $type === 'strtolower')
|
||||
{
|
||||
|
@ -3,9 +3,11 @@ COM_MEMBERSMANAGER_ADD_NAME="Add Name"
|
||||
COM_MEMBERSMANAGER_ADD_ONE_OF_THESE_PLACEHOLDERS_IN_TEXT_FOR_CUSTOM_DOWNLOAD_PLACEMENT="Add one of these placeholders in text for custom download placement"
|
||||
COM_MEMBERSMANAGER_ADD_USERNAME="Add username"
|
||||
COM_MEMBERSMANAGER_ALLOWED_IMAGE_FORMATS_ARE_NOT_SET_IN_THE_GLOBAL_SETTINGS_PLEASE_NOTIFY_YOUR_SYSTEM_ADMINISTRATOR="Allowed image formats are not set in the global settings, please notify your system administrator."
|
||||
COM_MEMBERSMANAGER_ALL_UNSAVED_WORK_ON_THIS_PAGE_WILL_BE_LOST_ARE_YOU_SURE_YOU_WANT_TO_CONTINUE="All unsaved work on this page will be lost, are you sure you want to continue?"
|
||||
COM_MEMBERSMANAGER_ARCHIVED="Archived"
|
||||
COM_MEMBERSMANAGER_AUTHOR="Author"
|
||||
COM_MEMBERSMANAGER_BACK="Back"
|
||||
COM_MEMBERSMANAGER_BSB_IS_ALREADY_IN_USE_PLEASE_TRY_ANOTHER="<b>%s</b> is already in use, please try another!"
|
||||
COM_MEMBERSMANAGER_CLOSE="Close"
|
||||
COM_MEMBERSMANAGER_CLOSE_NEW="Close & New"
|
||||
COM_MEMBERSMANAGER_CONFIG_ALMOST_FLAT_LOAD="Almost Flat"
|
||||
@ -110,7 +112,7 @@ COM_MEMBERSMANAGER_COUNTRIES_N_ITEMS_UNFEATURED_1="%s Country unfeatured."
|
||||
COM_MEMBERSMANAGER_COUNTRIES_N_ITEMS_UNPUBLISHED="%s Countries unpublished."
|
||||
COM_MEMBERSMANAGER_COUNTRIES_N_ITEMS_UNPUBLISHED_1="%s Country unpublished."
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU="Countries Submenu"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the country"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU_DESC="Allows the users in this group to submenu of country"
|
||||
COM_MEMBERSMANAGER_COUNTRY="Country"
|
||||
COM_MEMBERSMANAGER_COUNTRY_ALIAS="Alias"
|
||||
COM_MEMBERSMANAGER_COUNTRY_ALIAS_HINT="Auto-generated from name"
|
||||
@ -201,7 +203,7 @@ COM_MEMBERSMANAGER_CURRENCIES_N_ITEMS_UNFEATURED_1="%s Currency unfeatured."
|
||||
COM_MEMBERSMANAGER_CURRENCIES_N_ITEMS_UNPUBLISHED="%s Currencies unpublished."
|
||||
COM_MEMBERSMANAGER_CURRENCIES_N_ITEMS_UNPUBLISHED_1="%s Currency unpublished."
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU="Currencies Submenu"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the currency"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU_DESC="Allows the users in this group to submenu of currency"
|
||||
COM_MEMBERSMANAGER_CURRENCY="Currency"
|
||||
COM_MEMBERSMANAGER_CURRENCY_ALIAS="Alias"
|
||||
COM_MEMBERSMANAGER_CURRENCY_ALIAS_HINT="Auto-generated from name"
|
||||
@ -289,6 +291,7 @@ COM_MEMBERSMANAGER_ERROR_USER_NOT_UPDATED="Error - User Not Updated"
|
||||
COM_MEMBERSMANAGER_EXPORT_DATA="Export Data"
|
||||
COM_MEMBERSMANAGER_EXPORT_DATA_DESC=" Allows users in this group to export data."
|
||||
COM_MEMBERSMANAGER_EXPORT_FAILED="Export Failed"
|
||||
COM_MEMBERSMANAGER_GREAT_SS_IS_AVAILABLE="Great, %s(%s) is available!"
|
||||
COM_MEMBERSMANAGER_HELP_MANAGER="Help"
|
||||
COM_MEMBERSMANAGER_IMPORT_CONTINUE="Continue"
|
||||
COM_MEMBERSMANAGER_IMPORT_DATA="Import Data"
|
||||
@ -340,7 +343,39 @@ COM_MEMBERSMANAGER_MAIN_MEMBER="Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBER="Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS="Members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS="Members Access"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT="Members Access Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT_DESC="Allows the users in this group to access account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY="Members Access City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY_DESC="Allows the users in this group to access city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY="Members Access Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY_DESC="Allows the users in this group to access country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_DESC="Allows the users in this group to access access members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL="Members Access Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL_DESC="Allows the users in this group to access email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE="Members Access Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE_DESC="Allows the users in this group to access landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER="Members Access Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER_DESC="Allows the users in this group to access main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE="Members Access Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE_DESC="Allows the users in this group to access mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME="Members Access Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME_DESC="Allows the users in this group to access name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL="Members Access Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE="Members Access Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE_DESC="Allows the users in this group to access postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL_DESC="Allows the users in this group to access postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION="Members Access Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION_DESC="Allows the users in this group to access region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET="Members Access Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET_DESC="Allows the users in this group to access street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN="Members Access Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN_DESC="Allows the users in this group to access token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE="Members Access Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE_DESC="Allows the users in this group to access type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER="Members Access User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER_DESC="Allows the users in this group to access user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE="Members Access Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE_DESC="Allows the users in this group to access website of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_BATCH_OPTIONS="Batch process the selected Members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_BATCH_TIP="All changes will be applied to all selected Members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_BATCH_USE="Members Batch Use"
|
||||
@ -350,17 +385,49 @@ COM_MEMBERSMANAGER_MEMBERS_CREATE_DESC="Allows the users in this group to create
|
||||
COM_MEMBERSMANAGER_MEMBERS_DELETE="Members Delete"
|
||||
COM_MEMBERSMANAGER_MEMBERS_DELETE_DESC="Allows the users in this group to delete delete members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT="Members Edit"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT="Members Edit Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT_DESC="Allows the users in this group to edit account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY="Members Edit City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY_DESC="Allows the users in this group to edit city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY="Members Edit Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY_DESC="Allows the users in this group to edit country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY="Members Edit Created By"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE="Members Edit Created Date"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_DESC="Allows the users in this group to edit the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL="Members Edit Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL_DESC="Allows the users in this group to edit email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE="Members Edit Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE_DESC="Allows the users in this group to edit landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER="Members Edit Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER_DESC="Allows the users in this group to edit main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE="Members Edit Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE_DESC="Allows the users in this group to edit mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME="Members Edit Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME_DESC="Allows the users in this group to edit name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN="Members Edit Own"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own members created by them"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL="Members Edit Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE="Members Edit Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE_DESC="Allows the users in this group to edit postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL_DESC="Allows the users in this group to edit postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION="Members Edit Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION_DESC="Allows the users in this group to edit region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE="Members Edit State"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET="Members Edit Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET_DESC="Allows the users in this group to edit street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN="Members Edit Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN_DESC="Allows the users in this group to edit token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE="Members Edit Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE_DESC="Allows the users in this group to edit type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_USER="Members Edit User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_USER_DESC="Allows the users in this group to edit user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION="Members Edit Version"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE="Members Edit Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE_DESC="Allows the users in this group to edit website of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EXPORT="Members Export"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EXPORT_DESC="Allows the users in this group to export export members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_IMPORT="Members Import"
|
||||
@ -383,7 +450,39 @@ COM_MEMBERSMANAGER_MEMBERS_N_ITEMS_UNFEATURED_1="%s Member unfeatured."
|
||||
COM_MEMBERSMANAGER_MEMBERS_N_ITEMS_UNPUBLISHED="%s Members unpublished."
|
||||
COM_MEMBERSMANAGER_MEMBERS_N_ITEMS_UNPUBLISHED_1="%s Member unpublished."
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU="Members Submenu"
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU_DESC="Allows the users in this group to submenu of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT="Members View Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT_DESC="Allows the users in this group to view account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY="Members View City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY_DESC="Allows the users in this group to view city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY="Members View Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY_DESC="Allows the users in this group to view country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL="Members View Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL_DESC="Allows the users in this group to view email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE="Members View Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE_DESC="Allows the users in this group to view landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER="Members View Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER_DESC="Allows the users in this group to view main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE="Members View Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE_DESC="Allows the users in this group to view mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME="Members View Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME_DESC="Allows the users in this group to view name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL="Members View Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE="Members View Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE_DESC="Allows the users in this group to view postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL_DESC="Allows the users in this group to view postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION="Members View Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION_DESC="Allows the users in this group to view region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET="Members View Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET_DESC="Allows the users in this group to view street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN="Members View Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN_DESC="Allows the users in this group to view token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE="Members View Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE_DESC="Allows the users in this group to view type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_USER="Members View User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_USER_DESC="Allows the users in this group to view user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE="Members View Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE_DESC="Allows the users in this group to view website of member"
|
||||
COM_MEMBERSMANAGER_MEMBER_ACCOUNT="Account"
|
||||
COM_MEMBERSMANAGER_MEMBER_ACCOUNT_DESCRIPTION="What Type of Account is this."
|
||||
COM_MEMBERSMANAGER_MEMBER_ACCOUNT_LABEL="Account"
|
||||
@ -415,6 +514,7 @@ COM_MEMBERSMANAGER_MEMBER_LANDLINE_PHONE_HINT="Landline Phone Here"
|
||||
COM_MEMBERSMANAGER_MEMBER_LANDLINE_PHONE_LABEL="Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBER_LANDLINE_PHONE_MESSAGE="Error! Please add landline phone number here."
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN="Main"
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN_LOGIN="Main & Login"
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER="Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_DESCRIPTION="Select the main member this sub-member belongs to."
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_LABEL="Main Member"
|
||||
@ -446,6 +546,8 @@ COM_MEMBERSMANAGER_MEMBER_POSTAL_DESCRIPTION="Please add your postal address her
|
||||
COM_MEMBERSMANAGER_MEMBER_POSTAL_HINT="P.O.Box 0000"
|
||||
COM_MEMBERSMANAGER_MEMBER_POSTAL_LABEL="Postal"
|
||||
COM_MEMBERSMANAGER_MEMBER_POSTAL_MESSAGE="Error! Please add postal address here."
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE="Member Profile (Site) Access"
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE_DESC=" Allows the users in this group to access site member profile."
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE="Profile Image"
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_DESCRIPTION="<div id='upload-drop-profile-image' class='uk-placeholder'><br /><br /><i class='uk-icon-cloud-upload uk-icon-medium uk-text-muted uk-margin-small-right'></i> Upload Your <strong>profile image <span id='size-profile'></span></strong> by dropping the file here or <a class='uk-form-file'>selecting the file from your computer<input id='upload-select-profile-image' type='file'></a><br /><br /><br /></div><div id='progressbar-profile-image' class='uk-progress uk-hidden'><div class='uk-progress-bar' style='width: 0%;'>...</div></div>"
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_LABEL="Profile Image"
|
||||
@ -462,6 +564,11 @@ COM_MEMBERSMANAGER_MEMBER_STREET_LABEL="Street Address"
|
||||
COM_MEMBERSMANAGER_MEMBER_STREET_MESSAGE="Error! Please add street here."
|
||||
COM_MEMBERSMANAGER_MEMBER_SUB="Sub"
|
||||
COM_MEMBERSMANAGER_MEMBER_SUB_LOGIN="Sub & Login"
|
||||
COM_MEMBERSMANAGER_MEMBER_TOKEN="Token"
|
||||
COM_MEMBERSMANAGER_MEMBER_TOKEN_DESCRIPTION="Will be auto generated if left empty"
|
||||
COM_MEMBERSMANAGER_MEMBER_TOKEN_HINT="uniqueValue"
|
||||
COM_MEMBERSMANAGER_MEMBER_TOKEN_LABEL="TOKEN"
|
||||
COM_MEMBERSMANAGER_MEMBER_TOKEN_MESSAGE="<b>TOKEN already used!</b><br />The token must be a unique value! <em>Please try another.</em>"
|
||||
COM_MEMBERSMANAGER_MEMBER_TYPE="Type"
|
||||
COM_MEMBERSMANAGER_MEMBER_TYPE_DESCRIPTION="Select the type"
|
||||
COM_MEMBERSMANAGER_MEMBER_TYPE_LABEL="Type"
|
||||
@ -475,6 +582,7 @@ COM_MEMBERSMANAGER_MEMBER_WEBSITE_DESCRIPTION="Enter website address"
|
||||
COM_MEMBERSMANAGER_MEMBER_WEBSITE_HINT="http://www.example.com"
|
||||
COM_MEMBERSMANAGER_MEMBER_WEBSITE_LABEL="Website"
|
||||
COM_MEMBERSMANAGER_MEMBER_WEBSITE_MESSAGE="Error! Please add website here."
|
||||
COM_MEMBERSMANAGER_MOBILE="Mobile"
|
||||
COM_MEMBERSMANAGER_NAME="Name"
|
||||
COM_MEMBERSMANAGER_NEW="New"
|
||||
COM_MEMBERSMANAGER_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!"
|
||||
@ -499,16 +607,16 @@ COM_MEMBERSMANAGER_REGIONS_DELETE="Regions Delete"
|
||||
COM_MEMBERSMANAGER_REGIONS_DELETE_DESC="Allows the users in this group to delete delete regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT="Regions Edit"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS="Regions Edit Alias"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS_DESC="Allows the users in this group to edit alias of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY="Regions Edit Country"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY_DESC="Allows the users in this group to update the edit country of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY_DESC="Allows the users in this group to edit country of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_BY="Regions Edit Created By"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_DATE="Regions Edit Created Date"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_DESC="Allows the users in this group to edit the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME="Regions Edit Name"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME_DESC="Allows the users in this group to edit name of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_OWN="Regions Edit Own"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own regions created by them"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_STATE="Regions Edit State"
|
||||
@ -577,6 +685,7 @@ COM_MEMBERSMANAGER_SUBMENU_COUNTRIES="Countries"
|
||||
COM_MEMBERSMANAGER_SUBMENU_CURRENCIES="Currencies"
|
||||
COM_MEMBERSMANAGER_SUBMENU_MEMBERS="Members"
|
||||
COM_MEMBERSMANAGER_SUCCESS="Success"
|
||||
COM_MEMBERSMANAGER_TEL="Tel"
|
||||
COM_MEMBERSMANAGER_THERE_HAS_BEEN_AN_ERROR="There has been an error."
|
||||
COM_MEMBERSMANAGER_THE_PROFILE_WILL_BE_CROPPED_TO_THIS_SIZE="The profile will be cropped to this size"
|
||||
COM_MEMBERSMANAGER_TRASHED="Trashed"
|
||||
@ -599,9 +708,9 @@ COM_MEMBERSMANAGER_TYPES_EDIT_CREATED_DATE="Types Edit Created Date"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created types"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESC="Allows the users in this group to edit the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION="Types Edit Description"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION_DESC="Allows the users in this group to update the edit description of the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION_DESC="Allows the users in this group to edit description of type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME="Types Edit Name"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME_DESC="Allows the users in this group to edit name of type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_OWN="Types Edit Own"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own types created by them"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_STATE="Types Edit State"
|
||||
@ -669,6 +778,7 @@ COM_MEMBERSMANAGER_USER_WAS_CREATED_SUCCESSFULLY_AND_THE_LOGIN_DETAILS_WAS_EMAIL
|
||||
COM_MEMBERSMANAGER_USER_WAS_UPDATED_SUCCESSFULLY="User was updated successfully"
|
||||
COM_MEMBERSMANAGER_USE_BATCH="Use Batch"
|
||||
COM_MEMBERSMANAGER_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
|
||||
COM_MEMBERSMANAGER_VALUE_ALREADY_TAKEN_PLEASE_TRY_AGAIN="Value already taken, please try again."
|
||||
COM_MEMBERSMANAGER_VERSION="Version"
|
||||
COM_MEMBERSMANAGER_WARNING_IMPORT_FILE_ERROR="Warning, import file error."
|
||||
COM_MEMBERSMANAGER_WARNING_IMPORT_UPLOAD_ERROR="Warning, import upload error."
|
||||
@ -676,5 +786,7 @@ COM_MEMBERSMANAGER_WEBSITE="Website"
|
||||
COM_MEMBERSMANAGER_YOU_CAN_NOW_SELECT_BSB_THAT_YOU_JUST_CREATED_FROM_THE_USERS_LIST_IN_THE_ABOVE_FIELD_SIMPLY_CLICK_ON_THE_BLUE_USER_ICON="You can now select <b>%s</b> that you just created from the users list in the above field. Simply click on the blue user icon."
|
||||
COM_MEMBERSMANAGER_YOU_DO_NOT_HAVE_PERMISSION_TO_REMOVE_THIS_FILE="You do not have permission to remove this file."
|
||||
COM_MEMBERSMANAGER_YOU_DO_NOT_HAVE_PERMISSION_TO_UPLOAD_AN="You do not have permission to upload an"
|
||||
COM_MEMBERSMANAGER__HAS_BEEN_CHECKED_OUT_BY_S="% has been checked out by %s"
|
||||
MEMBERS_DETAILS="Details"
|
||||
MEMBERS_MEMBER="Member"
|
||||
MEMBERS_PHONE="Phone"
|
@ -19,7 +19,7 @@ COM_MEMBERSMANAGER_COUNTRIES_EXPORT_DESC="Allows the users in this group to expo
|
||||
COM_MEMBERSMANAGER_COUNTRIES_IMPORT="Countries Import"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_IMPORT_DESC="Allows the users in this group to import import countries"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU="Countries Submenu"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the country"
|
||||
COM_MEMBERSMANAGER_COUNTRIES_SUBMENU_DESC="Allows the users in this group to submenu of country"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_ACCESS="Currencies Access"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_ACCESS_DESC="Allows the users in this group to access access currencies"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_BATCH_USE="Currencies Batch Use"
|
||||
@ -39,7 +39,7 @@ COM_MEMBERSMANAGER_CURRENCIES_EXPORT_DESC="Allows the users in this group to exp
|
||||
COM_MEMBERSMANAGER_CURRENCIES_IMPORT="Currencies Import"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_IMPORT_DESC="Allows the users in this group to import import currencies"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU="Currencies Submenu"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the currency"
|
||||
COM_MEMBERSMANAGER_CURRENCIES_SUBMENU_DESC="Allows the users in this group to submenu of currency"
|
||||
COM_MEMBERSMANAGER_EDIT_CREATED_BY="Edit Created By"
|
||||
COM_MEMBERSMANAGER_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
|
||||
COM_MEMBERSMANAGER_EDIT_CREATED_DATE="Edit Created Date"
|
||||
@ -51,7 +51,39 @@ COM_MEMBERSMANAGER_EXPORT_DATA_DESC=" Allows users in this group to export data.
|
||||
COM_MEMBERSMANAGER_IMPORT_DATA="Import Data"
|
||||
COM_MEMBERSMANAGER_IMPORT_DATA_DESC=" Allows users in this group to import data."
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS="Members Access"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT="Members Access Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_ACCOUNT_DESC="Allows the users in this group to access account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY="Members Access City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_CITY_DESC="Allows the users in this group to access city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY="Members Access Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_COUNTRY_DESC="Allows the users in this group to access country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_DESC="Allows the users in this group to access access members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL="Members Access Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_EMAIL_DESC="Allows the users in this group to access email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE="Members Access Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_LANDLINE_PHONE_DESC="Allows the users in this group to access landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER="Members Access Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MAIN_MEMBER_DESC="Allows the users in this group to access main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE="Members Access Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_MOBILE_PHONE_DESC="Allows the users in this group to access mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME="Members Access Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_NAME_DESC="Allows the users in this group to access name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL="Members Access Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE="Members Access Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTALCODE_DESC="Allows the users in this group to access postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_POSTAL_DESC="Allows the users in this group to access postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION="Members Access Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_REGION_DESC="Allows the users in this group to access region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET="Members Access Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_STREET_DESC="Allows the users in this group to access street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN="Members Access Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TOKEN_DESC="Allows the users in this group to access token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE="Members Access Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_TYPE_DESC="Allows the users in this group to access type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER="Members Access User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_USER_DESC="Allows the users in this group to access user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE="Members Access Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_ACCESS_WEBSITE_DESC="Allows the users in this group to access website of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_BATCH_USE="Members Batch Use"
|
||||
COM_MEMBERSMANAGER_MEMBERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_CREATE="Members Create"
|
||||
@ -59,23 +91,89 @@ COM_MEMBERSMANAGER_MEMBERS_CREATE_DESC="Allows the users in this group to create
|
||||
COM_MEMBERSMANAGER_MEMBERS_DELETE="Members Delete"
|
||||
COM_MEMBERSMANAGER_MEMBERS_DELETE_DESC="Allows the users in this group to delete delete members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT="Members Edit"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT="Members Edit Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_ACCOUNT_DESC="Allows the users in this group to edit account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY="Members Edit City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CITY_DESC="Allows the users in this group to edit city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY="Members Edit Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_COUNTRY_DESC="Allows the users in this group to edit country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY="Members Edit Created By"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE="Members Edit Created Date"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_DESC="Allows the users in this group to edit the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL="Members Edit Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_EMAIL_DESC="Allows the users in this group to edit email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE="Members Edit Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_LANDLINE_PHONE_DESC="Allows the users in this group to edit landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER="Members Edit Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MAIN_MEMBER_DESC="Allows the users in this group to edit main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE="Members Edit Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_MOBILE_PHONE_DESC="Allows the users in this group to edit mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME="Members Edit Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_NAME_DESC="Allows the users in this group to edit name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN="Members Edit Own"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own members created by them"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL="Members Edit Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE="Members Edit Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTALCODE_DESC="Allows the users in this group to edit postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_POSTAL_DESC="Allows the users in this group to edit postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION="Members Edit Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_REGION_DESC="Allows the users in this group to edit region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE="Members Edit State"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET="Members Edit Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_STREET_DESC="Allows the users in this group to edit street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN="Members Edit Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TOKEN_DESC="Allows the users in this group to edit token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE="Members Edit Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_TYPE_DESC="Allows the users in this group to edit type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_USER="Members Edit User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_USER_DESC="Allows the users in this group to edit user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION="Members Edit Version"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE="Members Edit Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EDIT_WEBSITE_DESC="Allows the users in this group to edit website of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EXPORT="Members Export"
|
||||
COM_MEMBERSMANAGER_MEMBERS_EXPORT_DESC="Allows the users in this group to export export members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_IMPORT="Members Import"
|
||||
COM_MEMBERSMANAGER_MEMBERS_IMPORT_DESC="Allows the users in this group to import import members"
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU="Members Submenu"
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_SUBMENU_DESC="Allows the users in this group to submenu of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT="Members View Account"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_ACCOUNT_DESC="Allows the users in this group to view account of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY="Members View City"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_CITY_DESC="Allows the users in this group to view city of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY="Members View Country"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_COUNTRY_DESC="Allows the users in this group to view country of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL="Members View Email"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_EMAIL_DESC="Allows the users in this group to view email of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE="Members View Landline Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_LANDLINE_PHONE_DESC="Allows the users in this group to view landline phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER="Members View Main Member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MAIN_MEMBER_DESC="Allows the users in this group to view main member of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE="Members View Mobile Phone"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_MOBILE_PHONE_DESC="Allows the users in this group to view mobile phone of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME="Members View Name"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_NAME_DESC="Allows the users in this group to view name of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL="Members View Postal"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE="Members View Postalcode"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTALCODE_DESC="Allows the users in this group to view postalcode of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_POSTAL_DESC="Allows the users in this group to view postal of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION="Members View Region"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_REGION_DESC="Allows the users in this group to view region of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET="Members View Street"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_STREET_DESC="Allows the users in this group to view street of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN="Members View Token"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TOKEN_DESC="Allows the users in this group to view token of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE="Members View Type"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_TYPE_DESC="Allows the users in this group to view type of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_USER="Members View User"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_USER_DESC="Allows the users in this group to view user of member"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE="Members View Website"
|
||||
COM_MEMBERSMANAGER_MEMBERS_VIEW_WEBSITE_DESC="Allows the users in this group to view website of member"
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE="Member Profile (Site) Access"
|
||||
COM_MEMBERSMANAGER_MEMBER_PROFILE_ACCESS_SITE_DESC=" Allows the users in this group to access site member profile."
|
||||
COM_MEMBERSMANAGER_MENU="» Members Manager"
|
||||
COM_MEMBERSMANAGER_REGIONS_ACCESS="Regions Access"
|
||||
COM_MEMBERSMANAGER_REGIONS_ACCESS_DESC="Allows the users in this group to access access regions"
|
||||
@ -87,16 +185,16 @@ COM_MEMBERSMANAGER_REGIONS_DELETE="Regions Delete"
|
||||
COM_MEMBERSMANAGER_REGIONS_DELETE_DESC="Allows the users in this group to delete delete regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT="Regions Edit"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS="Regions Edit Alias"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_ALIAS_DESC="Allows the users in this group to edit alias of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY="Regions Edit Country"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY_DESC="Allows the users in this group to update the edit country of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_COUNTRY_DESC="Allows the users in this group to edit country of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_BY="Regions Edit Created By"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_DATE="Regions Edit Created Date"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created regions"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_DESC="Allows the users in this group to edit the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME="Regions Edit Name"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_NAME_DESC="Allows the users in this group to edit name of region"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_OWN="Regions Edit Own"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own regions created by them"
|
||||
COM_MEMBERSMANAGER_REGIONS_EDIT_STATE="Regions Edit State"
|
||||
@ -120,9 +218,9 @@ COM_MEMBERSMANAGER_TYPES_EDIT_CREATED_DATE="Types Edit Created Date"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created types"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESC="Allows the users in this group to edit the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION="Types Edit Description"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION_DESC="Allows the users in this group to update the edit description of the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_DESCRIPTION_DESC="Allows the users in this group to edit description of type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME="Types Edit Name"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_NAME_DESC="Allows the users in this group to edit name of type"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_OWN="Types Edit Own"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own types created by them"
|
||||
COM_MEMBERSMANAGER_TYPES_EDIT_STATE="Types Edit State"
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
28
admin/layouts/member/details_above.php
Normal file
28
admin/layouts/member/details_above.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = array(
|
||||
'token',
|
||||
'account'
|
||||
);
|
||||
|
||||
?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field){
|
||||
echo $form->renderField($field);
|
||||
} ?>
|
||||
</div>
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -16,7 +16,6 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'account',
|
||||
'type',
|
||||
'name',
|
||||
'email',
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -553,19 +553,55 @@ class MembersmanagerModelAjax extends JModelList
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public function checkUnique($field, $value)
|
||||
{
|
||||
if ($found = MembersmanagerHelper::getVar('organizer', $value, $field, 'id'))
|
||||
{
|
||||
// Get the database object and a new query object.
|
||||
$db = \JFactory::getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// convert to camel case naming
|
||||
$valueArray = (array) $this->splitAtUpperCase(trim($value));
|
||||
$value = MembersmanagerHelper::safeString(trim(implode(' ', $valueArray), '-'), 'L', '-', false, false);
|
||||
|
||||
$view = $this->getViewID();
|
||||
if (!isset($view['a_id']) || $found != $view['a_id'])
|
||||
if (isset($view['a_id']) && MembersmanagerHelper::checkString($view['a_view']))
|
||||
{
|
||||
return true;
|
||||
// Build the query.
|
||||
$query->select('COUNT(*)')
|
||||
->from('#__membersmanager_' . (string) $view['a_view'])
|
||||
->where($db->quoteName($field) . ' = ' . $db->quote($value));
|
||||
|
||||
// remove this item from the list
|
||||
if ($view['a_id'] > 0)
|
||||
{
|
||||
$query->where($db->quoteName('id') . ' <> ' . (int) $view['a_id']);
|
||||
}
|
||||
|
||||
// Set and query the database.
|
||||
$db->setQuery($query);
|
||||
$duplicate = (bool) $db->loadResult();
|
||||
|
||||
if ($duplicate)
|
||||
{
|
||||
return array (
|
||||
'message' => JText::sprintf('COM_MEMBERSMANAGER_BSB_IS_ALREADY_IN_USE_PLEASE_TRY_ANOTHER', $value),
|
||||
'status' => 'danger');
|
||||
}
|
||||
return array (
|
||||
'value' => $value,
|
||||
'message' => JText::sprintf('COM_MEMBERSMANAGER_GREAT_SS_IS_AVAILABLE', $field, $value),
|
||||
'status' => 'success');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function splitAtUpperCase($string)
|
||||
{
|
||||
return preg_split('/(?=[A-Z])/', $string, -1, PREG_SPLIT_NO_EMPTY);
|
||||
}
|
||||
|
||||
|
||||
public function getRegion($country)
|
||||
{
|
||||
// Get a db connection.
|
||||
@ -739,7 +775,7 @@ class MembersmanagerModelAjax extends JModelList
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getUser($id)
|
||||
public function getUser($id, $showname = 0)
|
||||
{
|
||||
$user = JFactory::getUser($id);
|
||||
if ($user->id)
|
||||
@ -748,7 +784,7 @@ class MembersmanagerModelAjax extends JModelList
|
||||
// start the block
|
||||
$fields[] = '<div id="user_info" >';
|
||||
|
||||
$fields[] = $this->getUserFields($user);
|
||||
$fields[] = $this->getUserFields($user, false, (2 === (int) $showname));
|
||||
|
||||
$view = $this->getKey();
|
||||
$access = array(1 => 'member.access', 2 => 'other.access');
|
||||
@ -779,7 +815,7 @@ class MembersmanagerModelAjax extends JModelList
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function getUserFields(&$user, $permission = false)
|
||||
protected function getUserFields(&$user, $permission = false, $showname = false)
|
||||
{
|
||||
// set read only
|
||||
$readOnly = ' readonly="" class="readonly"';
|
||||
@ -790,13 +826,19 @@ class MembersmanagerModelAjax extends JModelList
|
||||
$fields[] = '<div style="padding: 10px;">';
|
||||
|
||||
$readOnly = ' id="vdm_name"';
|
||||
}
|
||||
|
||||
if($permission || $showname)
|
||||
{
|
||||
// load name
|
||||
$fields[] = '<div class="control-group">';
|
||||
$fields[] = '<div class="control-label"><label title="">'.JText::_('COM_MEMBERSMANAGER_NAME').'</label></div>';
|
||||
$fields[] = '<div class="controls"><input type="text" size="8"'.$readOnly.' value="'.$user->name.'"></div>';
|
||||
$fields[] = '</div>';
|
||||
}
|
||||
|
||||
if($permission)
|
||||
{
|
||||
$readOnly = ' id="vdm_username"';
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -138,10 +138,10 @@ class JFormFieldMainmembers extends JFormFieldList
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.user'),array('id','main_member_user')));
|
||||
$query->select($db->quoteName(array('a.id','a.user','a.account','a.name','a.email'),array('id','main_member_user','account','name','email')));
|
||||
$query->from($db->quoteName('#__membersmanager_member', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->where($db->quoteName('a.account') . ' = 1');
|
||||
$query->where($db->quoteName('a.account') . ' = 1 OR ' . $db->quoteName('a.account') . ' = 2');
|
||||
$query->order('a.user ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
@ -150,9 +150,16 @@ if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', JText::_('COM_MEMBERSMANAGER_SELECT_AN_OPTION'));
|
||||
foreach($items as $item)
|
||||
{
|
||||
if ($item->account == 1)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, JFactory::getUser((int) $item->main_member_user)->name . ' ' . JFactory::getUser((int) $item->main_member_user)->email);
|
||||
}
|
||||
else
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->name . ' ' . $item->email);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $options;
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -51,8 +51,22 @@ return $groups;
|
||||
*/
|
||||
protected function getExcluded()
|
||||
{
|
||||
// set the groups array
|
||||
$groups = JComponentHelper::getParams('com_membersmanager')->get('memberuser');
|
||||
return $groups;
|
||||
// To ensure that there is only one record per user
|
||||
// Get a db connection.
|
||||
$db = JFactory::getDbo();
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
// Select all records from the #__membersmanager_member table from user column'.
|
||||
$query->select($db->quoteName('user'));
|
||||
$query->from($db->quoteName('#__membersmanager_member'));
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
$found = $db->getNumRows();
|
||||
if ($found)
|
||||
{
|
||||
// return all users already used
|
||||
return array_unique($db->loadColumn());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -17,21 +17,34 @@ jform_vvvvvvxvvy_required = false;
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var account_vvvvvvv = jQuery("#jform_account input[type='radio']:checked").val();
|
||||
var account_vvvvvvv = jQuery("#jform_account").val();
|
||||
vvvvvvv(account_vvvvvvv);
|
||||
|
||||
var account_vvvvvvw = jQuery("#jform_account input[type='radio']:checked").val();
|
||||
var account_vvvvvvw = jQuery("#jform_account").val();
|
||||
vvvvvvw(account_vvvvvvw);
|
||||
|
||||
var account_vvvvvvx = jQuery("#jform_account input[type='radio']:checked").val();
|
||||
var account_vvvvvvx = jQuery("#jform_account").val();
|
||||
vvvvvvx(account_vvvvvvx);
|
||||
});
|
||||
|
||||
// the vvvvvvv function
|
||||
function vvvvvvv(account_vvvvvvv)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvv == 1 || account_vvvvvvv == 3)
|
||||
if (isSet(account_vvvvvvv) && account_vvvvvvv.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvvv = account_vvvvvvv;
|
||||
var account_vvvvvvv = [];
|
||||
account_vvvvvvv.push(temp_vvvvvvv);
|
||||
}
|
||||
else if (!isSet(account_vvvvvvv))
|
||||
{
|
||||
var account_vvvvvvv = [];
|
||||
}
|
||||
var account = account_vvvvvvv.some(account_vvvvvvv_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (account)
|
||||
{
|
||||
jQuery('#jform_user').closest('.control-group').show();
|
||||
if (jform_vvvvvvvvvv_required)
|
||||
@ -58,11 +71,35 @@ function vvvvvvv(account_vvvvvvv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvv Some function
|
||||
function account_vvvvvvv_SomeFunc(account_vvvvvvv)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvv == 1 || account_vvvvvvv == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvvw function
|
||||
function vvvvvvw(account_vvvvvvw)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvw == 2)
|
||||
if (isSet(account_vvvvvvw) && account_vvvvvvw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvvw = account_vvvvvvw;
|
||||
var account_vvvvvvw = [];
|
||||
account_vvvvvvw.push(temp_vvvvvvw);
|
||||
}
|
||||
else if (!isSet(account_vvvvvvw))
|
||||
{
|
||||
var account_vvvvvvw = [];
|
||||
}
|
||||
var account = account_vvvvvvw.some(account_vvvvvvw_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (account)
|
||||
{
|
||||
jQuery('#jform_email').closest('.control-group').show();
|
||||
if (jform_vvvvvvwvvw_required)
|
||||
@ -108,11 +145,35 @@ function vvvvvvw(account_vvvvvvw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvw Some function
|
||||
function account_vvvvvvw_SomeFunc(account_vvvvvvw)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvw == 2 || account_vvvvvvw == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvvx function
|
||||
function vvvvvvx(account_vvvvvvx)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvx == 2 || account_vvvvvvx == 3)
|
||||
if (isSet(account_vvvvvvx) && account_vvvvvvx.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvvx = account_vvvvvvx;
|
||||
var account_vvvvvvx = [];
|
||||
account_vvvvvvx.push(temp_vvvvvvx);
|
||||
}
|
||||
else if (!isSet(account_vvvvvvx))
|
||||
{
|
||||
var account_vvvvvvx = [];
|
||||
}
|
||||
var account = account_vvvvvvx.some(account_vvvvvvx_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (account)
|
||||
{
|
||||
jQuery('#jform_main_member').closest('.control-group').show();
|
||||
if (jform_vvvvvvxvvy_required)
|
||||
@ -139,6 +200,17 @@ function vvvvvvx(account_vvvvvvx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvx Some function
|
||||
function account_vvvvvvx_SomeFunc(account_vvvvvvx)
|
||||
{
|
||||
// set the function logic
|
||||
if (account_vvvvvvx == 3 || account_vvvvvvx == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// update required fields
|
||||
function updateFieldRequired(name,status)
|
||||
{
|
||||
@ -178,6 +250,9 @@ function isSet(val)
|
||||
|
||||
jQuery(document).ready(function($)
|
||||
{
|
||||
var tokenValue = jQuery('#jform_token').val();
|
||||
// check if this token value is used
|
||||
checkUnique(tokenValue, 'token', 0);
|
||||
// load the profile image if it is set
|
||||
var profile = $('#jform_profile_image').val();
|
||||
if (profile.length > 20)
|
||||
@ -317,6 +392,7 @@ function isEmpty(obj) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function checkUnique_server(value, field){
|
||||
var getUrl = JRouter("index.php?option=com_membersmanager&task=ajax.checkUnique&format=json&vdm="+vastDevMod);
|
||||
if(token.length > 0 && value.length > 0 && field.length > 0){
|
||||
@ -330,14 +406,31 @@ function checkUnique_server(value, field){
|
||||
jsonp: 'callback'
|
||||
});
|
||||
}
|
||||
function checkUnique(value, field){
|
||||
function checkUnique(value, field, show){
|
||||
// check that we have a value
|
||||
if (value.length > 1) {
|
||||
checkUnique_server(value, field).done(function(result) {
|
||||
if (result) {
|
||||
// clear values and set notice
|
||||
jQuery("#jform_"+field).val('');
|
||||
jQuery.UIkit.notify({message: field+' is take, please try another.', timeout: 5000, status: 'danger'});
|
||||
if(result.value && result.message){
|
||||
// show notice that functioName is okay
|
||||
if (show) {
|
||||
UIkit2.notify({message: result.message, timeout: 5000, status: result.status, pos: 'top-right'});
|
||||
}
|
||||
jQuery('#jform_'+field).val(result.value);
|
||||
} else if(result.message){
|
||||
// show notice that functionName is not okay
|
||||
if (show) {
|
||||
UIkit2.notify({message: result.message, timeout: 5000, status: result.status, pos: 'top-right'});
|
||||
}
|
||||
jQuery('#jform_'+field).val('');
|
||||
} else {
|
||||
// set an error that message was not send
|
||||
if (show) {
|
||||
UIkit2.notify({message: Joomla.JText._('COM_MEMBERSMANAGER_VALUE_ALREADY_TAKEN_PLEASE_TRY_AGAIN'), timeout: 5000, status: 'danger', pos: 'top-right'});
|
||||
}
|
||||
jQuery('#jform_'+field).val('');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// set regions that are on the page
|
||||
@ -404,13 +497,19 @@ function setRegion(array){
|
||||
|
||||
jQuery(document).ready(function($)
|
||||
{
|
||||
var user_id =$("#jform_user_id").val();
|
||||
getUser(user_id);
|
||||
var user_id = $("#jform_user_id").val();
|
||||
var showname = 1;
|
||||
// check if the user id was found
|
||||
if (!isSet(user_id)) {
|
||||
var user_id =$("#jform_user").val();
|
||||
var showname = 2;
|
||||
}
|
||||
getUser(user_id, showname);
|
||||
});
|
||||
function getUser_server(id){
|
||||
function getUser_server(id, showname){
|
||||
var getUrl = JRouter("index.php?option=com_membersmanager&task=ajax.getUser&format=json&vdm="+vastDevMod);
|
||||
if(token.length > 0 && id > 0){
|
||||
var request = 'token='+token+'&id='+id;
|
||||
if(token.length > 0 && id > 0 && showname > 0){
|
||||
var request = 'token='+token+'&id='+id+'&showname='+showname;
|
||||
}
|
||||
return jQuery.ajax({
|
||||
type: 'GET',
|
||||
@ -420,8 +519,8 @@ function getUser_server(id){
|
||||
jsonp: 'callback'
|
||||
});
|
||||
}
|
||||
function getUser(id){
|
||||
getUser_server(id).done(function(result) {
|
||||
function getUser(id, showname){
|
||||
getUser_server(id, showname).done(function(result) {
|
||||
jQuery('#user_info').remove();
|
||||
if(result) {
|
||||
loadUser(result);
|
||||
@ -469,6 +568,10 @@ function setUser_server(id){
|
||||
function setUser(){
|
||||
// get the id
|
||||
var id = jQuery("#jform_user_id").val();
|
||||
// check if the user id was found
|
||||
if (!isSet(id)) {
|
||||
var id = jQuery("#jform_user").val();
|
||||
}
|
||||
// get the values
|
||||
userArray['var'] = encodeURIComponent(jQuery("#vdm_name").val());
|
||||
userArray['uvar'] = encodeURIComponent(jQuery("#vdm_username").val());
|
||||
@ -522,8 +625,8 @@ function createUser() {
|
||||
}
|
||||
function loadUser(result){
|
||||
// first check the system type
|
||||
var account = jQuery("#jform_account input[type='radio']:checked").val();
|
||||
if (1 == account || 3 == account) {
|
||||
jQuery('#jform_user').closest('.control-group').parent().append(result);
|
||||
var account = jQuery("#jform_account").val();
|
||||
if (1 == account || 4 == account) {
|
||||
jQuery('#jform_user').closest('.span6').append(result);
|
||||
}
|
||||
}
|
||||
|
@ -119,24 +119,47 @@
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Account Field. Type: Radio. (joomla) -->
|
||||
<!-- Account Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
type="list"
|
||||
name="account"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_ACCOUNT_LABEL"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_ACCOUNT_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
validate="number">
|
||||
validate="number"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN</option>
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN_LOGIN</option>
|
||||
<option value="2">
|
||||
COM_MEMBERSMANAGER_MEMBER_SUB</option>
|
||||
COM_MEMBERSMANAGER_MEMBER_MAIN</option>
|
||||
<option value="3">
|
||||
COM_MEMBERSMANAGER_MEMBER_SUB</option>
|
||||
<option value="4">
|
||||
COM_MEMBERSMANAGER_MEMBER_SUB_LOGIN</option>
|
||||
</field>
|
||||
<!-- Profile_image_uploader Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="profile_image_uploader" label="COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_LABEL" description="COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_DESCRIPTION" class="profile_image_uploader" />
|
||||
<!-- Token Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="token"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_TOKEN_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_TOKEN_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
validate="uniquefield"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_TOKEN_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_TOKEN_HINT"
|
||||
autocomplete="off"
|
||||
/>
|
||||
<!-- Country Field. Type: Countries. (custom) -->
|
||||
<field
|
||||
type="countries"
|
||||
@ -148,16 +171,18 @@
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Region Field. Type: Regions. (custom) -->
|
||||
<!-- Postalcode Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="regions"
|
||||
name="region"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_REGION_LABEL"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_REGION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
type="text"
|
||||
name="postalcode"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_HINT"
|
||||
/>
|
||||
<!-- City Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
@ -172,18 +197,16 @@
|
||||
message="COM_MEMBERSMANAGER_MEMBER_CITY_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_CITY_HINT"
|
||||
/>
|
||||
<!-- Postal Field. Type: Text. (joomla) -->
|
||||
<!-- Region Field. Type: Regions. (custom) -->
|
||||
<field
|
||||
type="text"
|
||||
name="postal"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_POSTAL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_POSTAL_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_POSTAL_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_POSTAL_HINT"
|
||||
type="regions"
|
||||
name="region"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_REGION_LABEL"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_REGION_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Street Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
@ -198,6 +221,49 @@
|
||||
message="COM_MEMBERSMANAGER_MEMBER_STREET_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_STREET_HINT"
|
||||
/>
|
||||
<!-- Postal Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="postal"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_POSTAL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_POSTAL_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_POSTAL_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_POSTAL_HINT"
|
||||
/>
|
||||
<!-- Mobile_phone Field. Type: Tel. (joomla) -->
|
||||
<field
|
||||
type="tel"
|
||||
name="mobile_phone"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
validated="tel"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_HINT"
|
||||
/>
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_NAME_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_NAME_HINT"
|
||||
/>
|
||||
<!-- Website Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
@ -225,17 +291,6 @@
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Main_member Field. Type: Mainmembers. (custom) -->
|
||||
<field
|
||||
type="mainmembers"
|
||||
name="main_member"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_LABEL"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Email Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -251,50 +306,16 @@
|
||||
message="COM_MEMBERSMANAGER_MEMBER_EMAIL_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_EMAIL_HINT"
|
||||
/>
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<!-- Main_member Field. Type: Mainmembers. (custom) -->
|
||||
<field
|
||||
type="text"
|
||||
name="name"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_NAME_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_NAME_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
type="mainmembers"
|
||||
name="main_member"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_LABEL"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_MAIN_MEMBER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_NAME_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_NAME_HINT"
|
||||
/>
|
||||
<!-- Postalcode Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="postalcode"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_POSTALCODE_HINT"
|
||||
/>
|
||||
<!-- Profile_image_uploader Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="profile_image_uploader" label="COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_LABEL" description="COM_MEMBERSMANAGER_MEMBER_PROFILE_IMAGE_UPLOADER_DESCRIPTION" class="profile_image_uploader" />
|
||||
<!-- Mobile_phone Field. Type: Tel. (joomla) -->
|
||||
<field
|
||||
type="tel"
|
||||
name="mobile_phone"
|
||||
label="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
description="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
validated="tel"
|
||||
message="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_MESSAGE"
|
||||
hint="COM_MEMBERSMANAGER_MEMBER_MOBILE_PHONE_HINT"
|
||||
button="true"
|
||||
/>
|
||||
</fieldset>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -201,6 +201,630 @@ class MembersmanagerModelMember extends JModelAdmin
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('created', 'filter', 'unset');
|
||||
}
|
||||
// Modify the form based on Edit User access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.user', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.user', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('user', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('user', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('user'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('user', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('user', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on User access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.user', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.user', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('user');
|
||||
}
|
||||
// Modify the form based on View User access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.user', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.user', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('user', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('user'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('user', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('user', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Landline Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.landline_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.landline_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('landline_phone', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('landline_phone', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('landline_phone'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('landline_phone', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('landline_phone', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Landline Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.landline_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.landline_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('landline_phone');
|
||||
}
|
||||
// Modify the form based on View Landline Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.landline_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.landline_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('landline_phone', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('landline_phone'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('landline_phone', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('landline_phone', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Type access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.type', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.type', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('type', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('type', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('type'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('type', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('type', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Type access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.type', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.type', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('type');
|
||||
}
|
||||
// Modify the form based on View Type access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.type', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.type', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('type', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('type'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('type', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('type', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Account access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.account', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.account', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('account', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('account', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('account'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('account', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('account', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Account access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.account', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.account', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('account');
|
||||
}
|
||||
// Modify the form based on View Account access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.account', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.account', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('account', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('account'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('account', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('account', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Token access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.token', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.token', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('token', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('token', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('token'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('token', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('token', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Token access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.token', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.token', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('token');
|
||||
}
|
||||
// Modify the form based on View Token access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.token', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.token', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('token', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('token'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('token', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('token', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Country access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.country', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.country', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('country', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('country', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('country'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('country', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('country', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Country access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.country', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.country', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('country');
|
||||
}
|
||||
// Modify the form based on View Country access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.country', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.country', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('country', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('country'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('country', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('country', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Postalcode access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.postalcode', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.postalcode', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('postalcode', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('postalcode', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('postalcode'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postalcode', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postalcode', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Postalcode access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.postalcode', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.postalcode', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('postalcode');
|
||||
}
|
||||
// Modify the form based on View Postalcode access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.postalcode', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.postalcode', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('postalcode', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('postalcode'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postalcode', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postalcode', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit City access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.city', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.city', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('city', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('city', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('city'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('city', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('city', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on City access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.city', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.city', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('city');
|
||||
}
|
||||
// Modify the form based on View City access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.city', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.city', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('city', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('city'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('city', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('city', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Region access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.region', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.region', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('region', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('region', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('region'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('region', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('region', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Region access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.region', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.region', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('region');
|
||||
}
|
||||
// Modify the form based on View Region access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.region', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.region', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('region', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('region'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('region', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('region', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Street access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.street', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.street', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('street', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('street', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('street'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('street', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('street', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Street access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.street', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.street', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('street');
|
||||
}
|
||||
// Modify the form based on View Street access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.street', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.street', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('street', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('street'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('street', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('street', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Postal access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.postal', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.postal', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('postal', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('postal', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('postal'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postal', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postal', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Postal access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.postal', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.postal', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('postal');
|
||||
}
|
||||
// Modify the form based on View Postal access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.postal', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.postal', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('postal', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('postal'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postal', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('postal', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Mobile Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.mobile_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.mobile_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('mobile_phone', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('mobile_phone', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('mobile_phone'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('mobile_phone', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('mobile_phone', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Mobile Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.mobile_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.mobile_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('mobile_phone');
|
||||
}
|
||||
// Modify the form based on View Mobile Phone access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.mobile_phone', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.mobile_phone', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('mobile_phone', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('mobile_phone'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('mobile_phone', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('mobile_phone', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Name access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.name', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.name', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('name', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('name', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('name'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('name', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('name', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Name access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.name', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.name', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('name');
|
||||
}
|
||||
// Modify the form based on View Name access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.name', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.name', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('name', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('name'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('name', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('name', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Website access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.website', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.website', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('website', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('website', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('website'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('website', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('website', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Website access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.website', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.website', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('website');
|
||||
}
|
||||
// Modify the form based on View Website access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.website', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.website', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('website', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('website'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('website', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('website', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Email access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.email', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.email', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('email', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('email', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('email'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('email', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('email', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Email access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.email', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.email', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('email');
|
||||
}
|
||||
// Modify the form based on View Email access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.email', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.email', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('email', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('email'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('email', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('email', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the form based on Edit Main Member access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.edit.main_member', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.edit.main_member', 'com_membersmanager')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('main_member', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('main_member', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('main_member'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('main_member', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('main_member', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Modify the from the form based on Main Member access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.access.main_member', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.access.main_member', 'com_membersmanager')))
|
||||
{
|
||||
// Remove the field
|
||||
$form->removeField('main_member');
|
||||
}
|
||||
// Modify the form based on View Main Member access controls.
|
||||
if ($id != 0 && (!$user->authorise('member.view.main_member', 'com_membersmanager.member.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('member.view.main_member', 'com_membersmanager')))
|
||||
{
|
||||
// Make the field hidded.
|
||||
$form->setFieldAttribute('main_member', 'type', 'hidden');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('main_member'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('main_member', 'filter', 'unset');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('main_member', 'required', 'false');
|
||||
}
|
||||
}
|
||||
// Only load these values if no id is found
|
||||
if (0 == $id)
|
||||
{
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -34,8 +34,8 @@ class MembersmanagerModelMembers extends JModelList
|
||||
'a.type','type',
|
||||
'a.account','account',
|
||||
'a.country','country',
|
||||
'a.region','region',
|
||||
'a.city','city',
|
||||
'a.region','region',
|
||||
'a.main_member','main_member'
|
||||
);
|
||||
}
|
||||
@ -69,12 +69,12 @@ class MembersmanagerModelMembers extends JModelList
|
||||
$country = $this->getUserStateFromRequest($this->context . '.filter.country', 'filter_country');
|
||||
$this->setState('filter.country', $country);
|
||||
|
||||
$region = $this->getUserStateFromRequest($this->context . '.filter.region', 'filter_region');
|
||||
$this->setState('filter.region', $region);
|
||||
|
||||
$city = $this->getUserStateFromRequest($this->context . '.filter.city', 'filter_city');
|
||||
$this->setState('filter.city', $city);
|
||||
|
||||
$region = $this->getUserStateFromRequest($this->context . '.filter.region', 'filter_region');
|
||||
$this->setState('filter.region', $region);
|
||||
|
||||
$main_member = $this->getUserStateFromRequest($this->context . '.filter.main_member', 'filter_main_member');
|
||||
$this->setState('filter.main_member', $main_member);
|
||||
|
||||
@ -125,6 +125,16 @@ class MembersmanagerModelMembers extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// Mobile Phone (not-required)
|
||||
if ($item->mobile_phone)
|
||||
{
|
||||
$item->mobile_phone = JText::_('COM_MEMBERSMANAGER_MOBILE') . ': ' . $item->mobile_phone;
|
||||
}
|
||||
// Landline Phone
|
||||
if ($item->landline_phone)
|
||||
{
|
||||
$item->landline_phone = JText::_('COM_MEMBERSMANAGER_TEL') . ': ' . $item->landline_phone;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -164,9 +174,10 @@ class MembersmanagerModelMembers extends JModelList
|
||||
if ($name === 'account')
|
||||
{
|
||||
$accountArray = array(
|
||||
1 => 'COM_MEMBERSMANAGER_MEMBER_MAIN',
|
||||
2 => 'COM_MEMBERSMANAGER_MEMBER_SUB',
|
||||
3 => 'COM_MEMBERSMANAGER_MEMBER_SUB_LOGIN'
|
||||
1 => 'COM_MEMBERSMANAGER_MEMBER_MAIN_LOGIN',
|
||||
2 => 'COM_MEMBERSMANAGER_MEMBER_MAIN',
|
||||
3 => 'COM_MEMBERSMANAGER_MEMBER_SUB',
|
||||
4 => 'COM_MEMBERSMANAGER_MEMBER_SUB_LOGIN'
|
||||
);
|
||||
// Now check if value is found in this array
|
||||
if (isset($accountArray[$value]) && MembersmanagerHelper::checkString($accountArray[$value]))
|
||||
@ -252,7 +263,7 @@ class MembersmanagerModelMembers extends JModelList
|
||||
else
|
||||
{
|
||||
$search = $db->quote('%' . $db->escape($search) . '%');
|
||||
$query->where('(a.user LIKE '.$search.' OR g.name LIKE '.$search.' OR a.landline_phone LIKE '.$search.' OR a.type LIKE '.$search.' OR h.name LIKE '.$search.' OR a.account LIKE '.$search.' OR a.country LIKE '.$search.' OR a.region LIKE '.$search.' OR a.city LIKE '.$search.' OR a.postal LIKE '.$search.' OR a.street LIKE '.$search.' OR a.website LIKE '.$search.' OR a.main_member LIKE '.$search.' OR a.email LIKE '.$search.' OR a.name LIKE '.$search.' OR a.postalcode LIKE '.$search.' OR a.mobile_phone LIKE '.$search.')');
|
||||
$query->where('(a.user LIKE '.$search.' OR g.name LIKE '.$search.' OR a.landline_phone LIKE '.$search.' OR a.type LIKE '.$search.' OR h.name LIKE '.$search.' OR a.account LIKE '.$search.' OR a.token LIKE '.$search.' OR a.country LIKE '.$search.' OR a.postalcode LIKE '.$search.' OR a.city LIKE '.$search.' OR a.region LIKE '.$search.' OR a.street LIKE '.$search.' OR a.postal LIKE '.$search.' OR a.mobile_phone LIKE '.$search.' OR a.name LIKE '.$search.' OR a.website LIKE '.$search.' OR a.email LIKE '.$search.' OR a.main_member LIKE '.$search.')');
|
||||
}
|
||||
}
|
||||
|
||||
@ -271,16 +282,16 @@ class MembersmanagerModelMembers extends JModelList
|
||||
{
|
||||
$query->where('a.country = ' . $db->quote($db->escape($country)));
|
||||
}
|
||||
// Filter by region.
|
||||
if ($region = $this->getState('filter.region'))
|
||||
{
|
||||
$query->where('a.region = ' . $db->quote($db->escape($region)));
|
||||
}
|
||||
// Filter by City.
|
||||
if ($city = $this->getState('filter.city'))
|
||||
{
|
||||
$query->where('a.city = ' . $db->quote($db->escape($city)));
|
||||
}
|
||||
// Filter by region.
|
||||
if ($region = $this->getState('filter.region'))
|
||||
{
|
||||
$query->where('a.region = ' . $db->quote($db->escape($region)));
|
||||
}
|
||||
// Filter by main_member.
|
||||
if ($main_member = $this->getState('filter.main_member'))
|
||||
{
|
||||
@ -356,6 +367,16 @@ class MembersmanagerModelMembers extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// Mobile Phone (not-required)
|
||||
if ($item->mobile_phone)
|
||||
{
|
||||
$item->mobile_phone = JText::_('COM_MEMBERSMANAGER_MOBILE') . ': ' . $item->mobile_phone;
|
||||
}
|
||||
// Landline Phone
|
||||
if ($item->landline_phone)
|
||||
{
|
||||
$item->landline_phone = JText::_('COM_MEMBERSMANAGER_TEL') . ': ' . $item->landline_phone;
|
||||
}
|
||||
if ($mediumkey && !is_numeric($item->profile_image) && $item->profile_image === base64_encode(base64_decode($item->profile_image, true)))
|
||||
{
|
||||
// decrypt profile_image
|
||||
@ -435,8 +456,8 @@ class MembersmanagerModelMembers extends JModelList
|
||||
$id .= ':' . $this->getState('filter.type');
|
||||
$id .= ':' . $this->getState('filter.account');
|
||||
$id .= ':' . $this->getState('filter.country');
|
||||
$id .= ':' . $this->getState('filter.region');
|
||||
$id .= ':' . $this->getState('filter.city');
|
||||
$id .= ':' . $this->getState('filter.region');
|
||||
$id .= ':' . $this->getState('filter.main_member');
|
||||
|
||||
return parent::getStoreId($id);
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -172,6 +172,7 @@ class MembersmanagerModelRegion extends JModelAdmin
|
||||
$form->setFieldAttribute('name', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('name', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('name'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
@ -188,6 +189,7 @@ class MembersmanagerModelRegion extends JModelAdmin
|
||||
$form->setFieldAttribute('country', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('country', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('country'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
@ -204,6 +206,7 @@ class MembersmanagerModelRegion extends JModelAdmin
|
||||
$form->setFieldAttribute('alias', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('alias', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('alias'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
87
admin/models/rules/uniquefield.php
Normal file
87
admin/models/rules/uniquefield.php
Normal file
@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('JPATH_PLATFORM') or die;
|
||||
|
||||
use Joomla\CMS\Form\Form;
|
||||
use Joomla\CMS\Form\FormRule;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
/**
|
||||
* Form Rule (Uniquefield) class for the Joomla Platform.
|
||||
*/
|
||||
class JFormRuleUniquefield extends FormRule
|
||||
{
|
||||
/**
|
||||
* Method to test the field value for uniqueness.
|
||||
*
|
||||
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
|
||||
* @param mixed $value The form field value to validate.
|
||||
* @param string $group The field name group control value. This acts as an array container for the field.
|
||||
* For example if the field has name="foo" and the group value is set to "bar" then the
|
||||
* full field name would end up being "bar[foo]".
|
||||
* @param Registry $input An optional Registry object with the entire data set to validate against the entire form.
|
||||
* @param Form $form The form object for which the field is being tested.
|
||||
*
|
||||
* @return boolean True if the value is valid, false otherwise.
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
public function test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null)
|
||||
{
|
||||
// Get the database object and a new query object.
|
||||
$db = \JFactory::getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Get the extra field check attribute.
|
||||
$id = ($input instanceof Registry) ? $input->get('id', null) : null;
|
||||
|
||||
// get the component & table name
|
||||
$table = ($form instanceof Form) ? $form->getName() : '';
|
||||
|
||||
// get the column name
|
||||
$name = (array) $element->attributes()->{'name'};
|
||||
$column = (string) trim($name[0]);
|
||||
|
||||
// check that we have a value
|
||||
if (strlen($table) > 3 && strpos($table, 'membersmanager.') !== false)
|
||||
{
|
||||
// now get the table name
|
||||
$tableArray = explode('.', $table);
|
||||
// do we have two values
|
||||
if (count( (array) $tableArray) == 2)
|
||||
{
|
||||
// Build the query.
|
||||
$query->select('COUNT(*)')
|
||||
->from('#__membersmanager_' . (string) $tableArray[1])
|
||||
->where($db->quoteName($column) . ' = ' . $db->quote($value));
|
||||
|
||||
// remove this item from the list
|
||||
if ($id > 0)
|
||||
{
|
||||
$query->where($db->quoteName('id') . ' <> ' . (int) $id);
|
||||
}
|
||||
|
||||
// Set and query the database.
|
||||
$db->setQuery($query);
|
||||
$duplicate = (bool) $db->loadResult();
|
||||
|
||||
if ($duplicate)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
@ -172,6 +172,7 @@ class MembersmanagerModelType extends JModelAdmin
|
||||
$form->setFieldAttribute('name', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('name', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('name'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
@ -188,6 +189,7 @@ class MembersmanagerModelType extends JModelAdmin
|
||||
$form->setFieldAttribute('description', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('description', 'readonly', 'true');
|
||||
// If there is no value continue.
|
||||
if (!$form->getValue('description'))
|
||||
{
|
||||
// Disable fields while saving.
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -14,6 +14,7 @@ CREATE TABLE IF NOT EXISTS `#__membersmanager_member` (
|
||||
`profile_image` TEXT NOT NULL,
|
||||
`region` INT(11) NOT NULL DEFAULT 0,
|
||||
`street` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`token` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`type` INT(11) NOT NULL DEFAULT 0,
|
||||
`user` INT(11) NOT NULL DEFAULT 0,
|
||||
`website` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
@ -37,6 +38,7 @@ CREATE TABLE IF NOT EXISTS `#__membersmanager_member` (
|
||||
KEY `idx_state` (`published`),
|
||||
KEY `idx_user` (`user`),
|
||||
KEY `idx_account` (`account`),
|
||||
KEY `idx_token` (`token`),
|
||||
KEY `idx_country` (`country`),
|
||||
KEY `idx_region` (`region`),
|
||||
KEY `idx_name` (`name`)
|
||||
@ -171,6 +173,15 @@ CREATE TABLE IF NOT EXISTS `#__membersmanager_currency` (
|
||||
KEY `idx_alias` (`alias`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `#__membersmanager_region`
|
||||
--
|
||||
|
||||
INSERT INTO `#__membersmanager_region` (`id`, `asset_id`, `alias`, `country`, `name`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES
|
||||
(1, 26816, 'khomas', 146, 'Khomas', '', 1, 450, '', '2016-05-17 05:01:46', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 1),
|
||||
(2, 26817, 'karas', 146, 'Karas', '', 1, 450, '', '2016-05-17 05:01:57', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 2),
|
||||
(3, 33181, 'region', 13, 'Region', '', 1, 450, '', '2016-11-15 04:52:45', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 3);
|
||||
|
||||
--
|
||||
-- Dumping data for table `#__membersmanager_country`
|
||||
--
|
||||
|
5
admin/sql/updates/mysql/1.0.3.sql
Normal file
5
admin/sql/updates/mysql/1.0.3.sql
Normal file
@ -0,0 +1,5 @@
|
||||
ALTER TABLE `#__membersmanager_member` ADD `email` VARCHAR(255) NOT NULL DEFAULT '' AFTER `country`;
|
||||
|
||||
ALTER TABLE `#__membersmanager_member` ADD `main_member` INT(11) NOT NULL DEFAULT 0 AFTER `email`;
|
||||
|
||||
ALTER TABLE `#__membersmanager_member` ADD `name` VARCHAR(255) NOT NULL DEFAULT '' AFTER `mobile_phone`;
|
1
admin/sql/updates/mysql/1.0.4.sql
Normal file
1
admin/sql/updates/mysql/1.0.4.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE `#__membersmanager_member` ADD `profile_image` TEXT NOT NULL AFTER `postalcode`;
|
1
admin/sql/updates/mysql/1.0.5.sql
Normal file
1
admin/sql/updates/mysql/1.0.5.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE `#__membersmanager_member` ADD `landline_phone` VARCHAR(64) NOT NULL DEFAULT '' AFTER `email`;
|
1
admin/sql/updates/mysql/1.0.6.sql
Normal file
1
admin/sql/updates/mysql/1.0.6.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE `#__membersmanager_member` ADD `token` VARCHAR(255) NOT NULL DEFAULT '' AFTER `street`;
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
* @package Joomla.Members.Manager
|
||||
*
|
||||
* @created 6th September, 2015
|
||||
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
||||
* @copyright Copyright (C) 2015. All Rights Reserved
|
||||
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user