'WidgetBucks', 'shortname' => 'widget', 'www' => 'http://www.widgetbucks.com/', 'www-create' => 'http://www.widgetbucks.com/widget.page?action=call&widgetID=', 'www-signup' => 'http://www.widgetbucks.com/home.page?referrer=468034' ); /* INITIALISATION All functions in here called at startup (after other plugins have loaded, in case we need to wait for the widget-plugin). */ class Ad_WidgetBucks extends Ad_Generic { function Ad_WidgetBucks(){ $this->Ad_Generic(); } function render_ad(){ $code =''; $code .= '
'; $code .= ''; $code .= '
'; return $code; } function save_settings_network() { $this->p['slot']=strip_tags(stripslashes($_POST['adsensem-slot'])); } function import_detect_network($code){ return ( preg_match('/http:\/\/....widgetbucks.com\/script\/ads.js\?uid=/', $code, $matches) !==0); } function import_settings($code){ if(preg_match("/http:\/\/....widgetbucks.com\/script\/ads.js\?uid=(\w*)\"/", $code, $matches)!=0){ //ACCOUNT ID? NEEDS DEFAULT IMPORT RULES. GAH. //$_POST['adsensem-account-id'] = $matches[3]; $_POST['adsensem-slot'] = $matches[1]; } $this->save_settings(); } function _form_settings_network(){ ?>

No network settings.

Configuration is available through the WidgetBucks site. Account maintenance links: