AAAAhelper.txt 0000666 00000004414 15137240726 0006602 0 ustar 00 SOURCE SETTING
source : flickr/picasa/folder
Max image : max image can be silded
Flickr setting
Flickr Search by (search method)
-search string
-user name : Fetch a users public photos using the username like displayed in the URL (not user ID).
-tag : Search Flickr for public photos using tags.
-Photo Set : Get photos from a photoset by ID.
-Gallery ID : Get photos from a gallery by ID.
-Group Search : Search groups and fetch photos from the first group found Useful if you know the exact name of a group and want to show the groups photos.
-Group ID : Get photos from a group by ID.
Picasa setting
Picasa Search By
-user name : Fetch a users public photos using the username like displayed in the URL (not user ID).
-user name/album : Get photos from a user album
Folder Setting
-Hold CTRL+click to multichoice folder
-Image folder
Slide Setting
Set Height & Width like this : 100% or 100px. If you type 100, it's mean 100px
FLICKR
Flickr User ID :
Sign in to Flickr , click You tag and see URL like : http://www.flickr.com/photos/16883133@N05/ your Flickr acount id is "16883133@N05"
Flickr Gallery ID
Click http://www.flickr.com/services/api/explore/flickr.urls.lookupGallery
Copy and parse gallery URL to Arguments URL then click Call method button
Flickr Group ID
Click http://www.flickr.com/services/api/explore/flickr.urls.lookupGroup
Copy and parse group URL to Arguments URL then click Call method button
See Flickr API here: http://www.flickr.com/services/api/
Flickr PhotoSet
Get photos from a photoset by ID. Note that the sort option is not available in this API call,
see more here: http://www.flickr.com/services/api/flickr.photosets.getPhotos.html
PICASA
Picasa user ID
To find your address, sign in to Picasa Web Albums,
Click the My Photos tab, and then click My Photos. see URL like like : https://picasaweb.google.com/116771399286983097230
your picasa id is "116771399286983097230"
Picasa user name/album
To find your address, sign in to Picasa Web Albums, click the My Photos tab, and then click My Photos, click album want to be silde. See Url like : https://picasaweb.google.com/116771399286983097230/youralbum
put "116771399286983097230/youralbum" to string for search fields/index.html 0000666 00000000000 15137240726 0010010 0 ustar 00 fields/jantdropboximagefolder.php 0000666 00000003276 15137240726 0013277 0 ustar 00 element['class'] ? ' class="'.(string) $this->element['class'].'"' : '';
if ((string) $this->element['readonly'] == 'true' || (string) $this->element['disabled'] == 'true')
{
$attr .= ' disabled="disabled"';
}
$attr .= $this->element['size'] ? ' size="'.(int) $this->element['size'].'"' : '';
$attr .= $this->multiple ? ' multiple="multiple"' : '';
$attr .= $this->element['onchange'] ? ' onchange="'.(string) $this->element['onchange'].'"' : '';
$options[] = JHTML::_('select.option', '', JText::_('AVATAR_SELECT_FOLDER'));
$folders = JFolder::folders($base, '.', true, true);
foreach ($folders as $folder)
{
$folder = str_replace($base, '', $folder);
$value = str_replace(DIRECTORY_SEPARATOR, '/', substr($folder, 1));
$text = str_replace(DIRECTORY_SEPARATOR, '/', $folder);
$options[] = JHTML::_('select.option', $value, $text);
}
if (is_array($options))
{
sort($options);
}
$html = JHtml::_('select.genericlist', $options, $this->name, trim($attr), 'value', 'text', $this->value, $this->id);
return $html;
}
} fields/colorpicker.php 0000666 00000003303 15137240726 0011051 0 ustar 00 addScript($base_path.'assets/js/mooRainbow.js');
$document->addStyleSheet($base_path.'assets/css/mooRainbow.css');
if(strlen($this->value) == 7 && substr($this->value, 0, 1) == '#')
{
$color_code = '['
.hexdec(substr($this->value, 1, 2))
.','
.hexdec(substr($this->value, 3, 2))
.','
.hexdec(substr($this->value, 5, 2))
.']';
}
$control_code = 'window.addEvent("domready", function() { '
.'new MooRainbow("'.$this->id.'", {'
.' id: "'.$this->id.'", '
.' startColor: "'.$color_code.'", '
.' imgPath: "'.$base_path.'assets/images/", '
.'onChange: function(color) {'
.' this.element.value = color.hex;'
.'}, '
.'}); '
.'});';
$document->addScriptDeclaration($control_code);
$html_code = '';
return $html_code;
}
}
?> fields/.htaccess 0000666 00000000177 15137240726 0007630 0 ustar 00
Order allow,deny
Deny from all