UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline
Hi

I noticed in the database in the table #__payplans_user there are dedicated fields for address, state,city, country and zip code. But I couldn't find any way to "activate" them, besides adding the fields to the user.xml file in components/com_payplans/libraries/model/xml

This is the normal file

<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="addressdetails">
<field name="country"
type="xicountry"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_COUNTRY" />
</fieldset>
<fields name="params">
<fieldset name="params">
<field
name="user_notes"
label="COM_PAYPLANS_USER_PREFERENCE_NOTES_LABEL"
description="COM_PAYPLANS_USER_PREFERENCE_NOTES_DESC"
type="textarea"
rows="3" cols="30"
default=""
/>

</fieldset>
</fields>
</form>


When modified to look like this, I could access and store information in these dedicated fields


<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="addressdetails">
<field name="address"
type="xiaddress"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_ADDRESS" />
<field name="state"
type="xistate"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_STATE" />
<field name="zipcode"
type="xizipcode"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_ZIPCODE" />
<field name="city"
type="xicity"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_CITY" />
<field name="country"
type="xicountry"
option_none="true"
label="COM_PAYPLANS_USER_EDIT_USER_COUNTRY" />

</fieldset>
<fields name="params">
<fieldset name="params">
<field
name="user_notes"
label="COM_PAYPLANS_USER_PREFERENCE_NOTES_LABEL"
description="COM_PAYPLANS_USER_PREFERENCE_NOTES_DESC"
type="textarea"
rows="3" cols="30"
default=""
/>

</fieldset>
</fields>
</form>


So out of the box, only country field is available - why? How can we access and use these fields without modifying core files?
The replies under this section are restricted to logged in users or users with an active subscription with us