These notes are to assist you in modifying the files so that they work with your own article directory.
If you own an Article Dashboard directory, DO NOT EDIT ANY OF THE FILES. They work fine as they are!
If you own another "off-the-shelf" type of directory or blog, please contact us first, as we may have a plugin for you, or else might develop one for you free of charge.
/////////// RECEIVING ARTICLES ////////////////
POSTED variables sent to index.php on posting an article:
(others may be sent, but don't rely on them being there)
[zip] =>
[email] =>
[password] =>
[username] =>
[first_name] =>
[last_name] =>
[address1] =>
[address2] =>
[city] =>
[state] =>
[country] => long name
[phone] =>
[fax] =>
[token] => 32 bit security code, must match the stored value
[title] =>
[article] =>
[description]=$article_summary;
[keywords]=> comma separated keywords
[resource_box]=>
[penname] =>
[category] => $string
[postart] => 1 (to tell the script this is an article being posted)
echoed output sent by "add_article.php" on receiving articles:
Thank You
duplicate penname
no valid penname
permission denied (if token doesn't match)
/////////////// CONTROL PANEL UPDATES ///////////////
POSTED VARIABLES sent to "http://www.uniquearticlewizard.com/affiliates/optin.php"
foreach ($catlist as $key=> $value){
$catstring.="&cat[]=".rawurlencode($value);
}
$poststring="email=".rawurlencode($settings['email'])."
&f_name=".rawurlencode($settings['f_name'])."
&l_name=".rawurlencode($settings['l_name'])."
&url=".rawurlencode($settings['url'])."
&link=".rawurlencode($settings['link'])."
&max_arts=".rawurlencode($settings['max_arts'])."
&uaw_username=".rawurlencode($settings['uaw_username'])."
&enable=".rawurlencode($settings['enable'])."
$catstring
&token=".rawurlencode($settings['token'])."
&type=".rawurlencode($settings['type'])."
&dir_id=".rawurlencode($settings['dir_id'])."
&domain=".rawurlencode($domain)."
&dir_name=".rawurlencode($base_url);
RETURNED OUTPUT from optin.php:
XXX
error messages
Where the dir_id is an integer, and the error messages can be echoed back to the user. The error tags are empty on a successful post.
Make sure that the items domain and dir_name are present. domain is without the http://www.", dir_name is like: "http://www.yourdomain.com/articledirectory"
////////// REQUEST TEST ARTICLE ///////////
POST the above $poststring to http://www.uniquearticlewizard.com/affiliates/runtest.php
RETURNED OUTPUT received back:
Success
or
a variety of other error messages, all wrapped in tags,