Wednesday, February 23, 2011

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

http://www.google.com/support/a/bin/answer.py?hl=en&answer=33786

v=spf1 include:_spf.google.com ~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

HACK WARNING

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;

Tuesday, January 25, 2011

Force webview to open Safari or Maps

http://efreedom.com/Question/1-2532453/Force-Webview-Link-Launch-Safari

-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType; {
    NSURL *requestURL =[ [ request URL ] retain ]; 
    if ( ( [ [ requestURL scheme ] isEqualToString: @"http" ] || [ [ requestURL scheme ] isEqualToString: @"https" ] || [ [ requestURL scheme ] isEqualToString: @"mailto" ]) 
        && ( navigationType == UIWebViewNavigationTypeLinkClicked ) ) { 
        return ![ [ UIApplication sharedApplication ] openURL: [ requestURL autorelease ] ]; 
    } 
    [ requestURL release ]; 
    return YES; }

Wednesday, January 12, 2011

Sunday, December 19, 2010

facebook app golden post

http://www.facebook.com/topic.php?uid=4949752878&topic=7081

esp Jenny's post