agent = $_SERVER['HTTP_USER_AGENT']; $snoopy->submit('http://dd32.id.au/plugin-survey/index.php?src=ddeviantart',$_POST['survey']); update_option('dda_survey', md5( $wp_version . phpversion() . mysql_get_server_info() ) ); } } if( 'no' !== get_option('dda_survey') ){ global $wp_version; $value = md5( $wp_version . phpversion() . mysql_get_server_info() ); if( false === get_option('dda_survey') ){ echo '

Optional Survey: Hi, Thanks for using ths plugin, in order to meet user expectations of this plugin, i\'ve built in a small survey, It\'ll also help determine the software versions of which it is being run with.
Are you interested in taking part in this survey? Yes No, Do not ask me again

'; } elseif ( $value != get_option('dda_survey') ){ echo '

Optional Survey: Thanks for using my plugin, The software on which this Plugin is being used on has changed, Would you like to complete the survey again? Yes No, Do not ask again

'; } } ?> $val){ if( $key === '$ID') //we ignore the templates continue; //This resets all ID's to 0...n $widgets[] = $val; } //Create the final feed: for( $i=0; $i

'.__('Widget Options Saved').'

'; } $widgets = get_option('dda_widgets'); ?>

dDeviantArt

You can add multiple widgets here, Currently they require you to be using a Sidebar widget, its not possible to embed via pure PHP, If theres enough demand for it, the next version will include support for it.

[+] New Widget $widget){ ?>
Name:
onchange="if(this.checked){$('#Widget--Query').hide();}" /> RSS Feed:
onchange="if(this.checked){$('#Widget--Query').show();}" /> Query
/> By: /> FavBy: /> Search:
Order By: Random:
Type of image to Display: Include Scraps?:
Number of images to show: Image Resolution:
Display Orientation: Use inline Styles?
Show Advanced Options

NOTE: Changes that are made to ANY Widget/Item will be saved, changes are not limited to the currently selected item.

'.__('General Options Saved').'

'; } if( false == get_option('dda_hotlink') ) echo '

Please Set the initial General options.

'; ?>

General Options

Hotlink to images on Deviantart:
Check for new images every:
Display Portfolio pages in the Page Listing:

Post Thumbnails

Thumbnails can be inserted into blog posts using the Thumb(:thumb51803043:) string displayed on Deviation pages.
These defaults can be overridden by inserting the appropriate modification after the thumb line, eg. :thumb555:300:imgcenter: for Deviation 555 in size 300px, with the class "imgcenter" applied to it. No Spaces can be used in the definition.

/> Disable Inline Thumbnails
Default Size:
Class to apply to images:
Link to Deviations?: (Cannot be overridden)


Show the survey.

$val){ if( $key === '$ID') continue; if( empty($val['slug']) ) $val['slug'] = $val['name']; $val['slug'] = sanitize_title_with_dashes($val['slug']); //This resets all ID's to 0...n $portfolios[] = $val; } //Create the final feed: for( $i=0; $i

'.__('Portfolio Options Saved').'

'; //Update the Rewrite rules: dda_flush_rules(); } $portfolios = get_option('dda_portfolios'); ?>

Portfolio Pages

[+] New Page $portfolio){ ?>
Page Name:
Page Slug:
onchange="if(this.checked){$('#Portfolio--Query').hide();}" /> RSS Feed:
onchange="if(this.checked){$('#Portfolio--Query').show();}" /> Query
/> By: /> FavBy: /> Search:
Order By: Random:
Type of image to Display: Include Scraps?:
Number of images to show: Image Resolution:
Use inline Styles? Display sidebar:

Portfolio URIs

$item){ $style = ('class="alternate"' == $style) ? '' : 'class="alternate"'; ?> >
Name URL URL(with Pretty permalinks)
$url"; ?> $url"; ?>