Wednesday, February 23, 2011

Add spf record to google apps to allow other apps to receive

v=spf1 ~all

And take back one Kadan, to honor the Hebrew God whose ark this is

And if you wholesale copy jos_users you have to also dupe the tables jos_core_acl_aro and jos_core_acl_groups_aro_map otherwise the users don't show up in Joomla backend

Wednesday, February 16, 2011

add user fields to joomla 1.5 for frontend editing - revised


backup jos_users using phpmyadmin or similar

add fields to jos_users i.e. address1, state etc

open components>com_user>views>user>tmpl>form.php

copy and change existing form fields

open components>com_user>controller.php
duplicate existing entries and change names

i.e. $post['username'] = JRequest::getVar('username', '', 'post', 'username');
$post['address1'] = JRequest::getVar('address1', '', 'post', 'address1');
$post['state'] = JRequest::getVar('state', '', 'post', 'state');

open>libraries>joomla>database>table>user.phpduplicate existing entries and change names

i.e. var $email = null;
var $address1 = null;
var $state = null;