ahh ok I get it
$subject1 = 62;
$subject2 = 38;
$subject3 = 39;
$media1 = 69
$media2 = 67
$media3 = 6
does the media lines need the ; on the end like the subjects?
Printable View
ahh ok I get it
$subject1 = 62;
$subject2 = 38;
$subject3 = 39;
$media1 = 69
$media2 = 67
$media3 = 6
does the media lines need the ; on the end like the subjects?
yes and this part will have to change to:
//Redirect to API and back to store front
$redirectTo = "https://dart.fine-art.com/api/process.asp" .
"?userID=" . $userID . "&password=" . $password . "&action=" . $action .
"&artistFirstName=" . $artistFirstName . "&artistLastName=" . $artistLastName .
"&price=" . $price . "&title=" . $title . "&category=" . $category . "&urlArt=" .
$urlArt . "&vendorCode=" . $vendorCode . "&subject1=" . $subject1 . "&subject2=" . $subject2 .
"&media1=" . $media1 . "&urlReturn=" . $urlReturn . "&paypalEmail=" . $paypalEmail .
"&watermark=" . $watermark ;
this oughta do,
PHP Code:
//Redirect to API and back to store front
$redirectTo = "https://dart.fine-art.com/api/process.asp" .
"?userID=" . $userID . "&password=" . $password . "&action=" . $action .
"&artistFirstName=" . $artistFirstName . "&artistLastName=" . $artistLastName .
"&price=" . $price . "&title=" . $title . "&category=" . $category . "&urlArt=" .
$urlArt . "&vendorCode=" . $vendorCode . "&subject1=" . $subject1 . "&subject2=" . $subject2 . "&subject3=" . $subject3 .
"&media1=" . $media1 . "&media2=" . $media2 . "&media3=" . $media3 . "&urlReturn=" . $urlReturn . "&paypalEmail=" . $paypalEmail . "&watermark=" . $watermark ;
Sorry that last post was supposed to be
ahh ok I get it
$subject1 = 62;
$subject2 = 38;
$subject3 = 39;
$media1 = 69
$media2 = 67
$media3 = 6
does the media lines need the ; like on the end like the subjects?
as for
$urlArt = $store_url . "/images/" . $products_image;
$urlArt = $store_url . "/images/" . $products_image;
My file structure for the images is /images/painting_images/
My large folder is /images/large/painting_images/
How do i get it to upload my large image? do i just change the folder as above?
& will it recognise the image file with the _lg on the end of it. My image names are lower case like sand_spit_lg.jpg
Thanks again for all your help :clap:
is this right to add the commission option as per
$commissionPercent = 25;
http://dart.fine-art.com/api/variables.asp#response
Hello! This is a great mod. i see its working on many people using twitter.
i like to use it very much.. but its not working. i am already 3 hours on figuring for this to work but still not working. This is how i do it. can you please check it ifs the right procedure.
CURL,json and php5 enabled.php not in safe mode.
downloaded, change all the necessary changes..uiploaded to
public_html / admin / includes / modules /
public_html / admin /
uploaded. but its not working. wew!Quote:
// CHANGE: path to your store (i.e. http://example.com/store
$myStoreUrl = 'http://www.mywebsite.com';
// CHANGE: Your stores Twitter username and password
$twitter = new Twitter("collectorsdeck","1234");
// CHANGE: Your bit.ly Username and API Key
// API Key should be a long number starting with "R_"
// available free @ http://bit.ly/account/your_api_key
$bitly = new Bitly('collectorsdeck', 'my API');
i've done this
still not working...i deleted the files then reuploaded. from the first to the last step.. still now working..Quote:
fixed this.
You have to edit both bitly.php and twitter.php
on line 133 bitly.php and line 158 of twitter.php comment out
PHP Code:
$options[CURLOPT_FOLLOWLOCATION] = true;
so that it looks like:
PHP Code:
//$options[CURLOPT_FOLLOWLOCATION] = true;
then somewhere around line 136 on bitly.php and line 161 on twitter.php add:
PHP Code:
if ( ini_get('open_basedir') == '' ) {
$options[CURLOPT_FOLLOWLOCATION] = true;
}
Everything should work fine. (at least it did on my local machine)
##############################___
could i be missing something? Thanks!
it seems to be working on twitter:clap:
BUT :(
only if i click testfile.php URL
but when i add a product, no tweets.. i did it again, clicked the
http://www.mystore.com/admin/testfile.php
in twitter it says...
New Product Available: "" Check it out at http://bit.ly/ban8Mn
why is the test file is the only one working???? :cry:
Made it work! :clap::clap:
yahoo very nice mod thank you!!... :yes:
Great Mod!
I signed up on Twitter awhile back hoping to get more hits on my site but it was cumbersome having to go and tweet each and every product I upload so I sort of gave up on it until I found this MOD!
Now I am able to autotweet the new products and actually see if there are people clicking on it!
Once again great MOD!! Thank you!
Sorry I was absent there for a bit. Work's been crazy.
@corditreasures: Glad you got it working sorry I didnt respond sooner.
@sunflowertami: Yeah I was having problems with twitter too, it's a lot of work and combined with facebook and any other site you may need to update becomes very cumbersome.
@michellewardley: were you able to get it to work? As it's not part of the original twitter api, i'm not too familiar with it and i havent had time to look into it, sorry.
Speaking of which I'll have a facebook mod coming soon when I get a little time to finish it. Facebook doesnt make it easy though, I warn you.