PHP Forums Archive

TemplateMonster Script

Tags: api, template monster

espradley posted on 2009-01-11 20:57:08 #

Looking for a decent script that will import data using TemplateMonster.com data using their API system.

I found three on this webpage. 1 of which I am not paying 300 for, the other two don't seem to work.

Anybody offer some help?

Comments / discussions

Olaf posted on 2009-01-11 20:59:15 #

so you're new to TM affiliation? how about your PHP skills? do you have an TM account?

Olaf posted on 2009-01-11 21:01:52 #

btw. thanks to tell me that I need to update my demo here:
http://www.finalwebsites.com/demos/retrieve_and_show_templatemonster_data.php

you need to use this script:
http://www.finalwebsites.com/snippets.php?id=25

tell if you're ready and I will show you where to add the aff. key to access the TM api (the aff. key is there since a short while and I was to busy to update the script)

espradley posted on 2009-01-16 02:16:59 #

Thanks for your reply! I was using your 1.0 scipt with no success - it was telling me that the images were unauthorizsed.... I will play with the 1.07 to see what I can get done.

I am proficient in PHP but never messed with API - so it is a new experience.

espradley posted on 2009-01-16 02:32:24 #

So the new 1.07 script - looks like it just sets up the databases....

How do I display them?

Olaf posted on 2009-01-16 05:27:12 #

as the name says: "Import TemplateMonster data"

Look you need to build you ow site to show the thumbnails, the category list and data from the screen shots table. The reason that I wrote this is to store all data on a local machine for faster access. The TM server has sometimes "issues", on the other site I have a custom ready-made shop on the dutch part of finalwebsites.com and this shop converts fine too.

espradley posted on 2009-01-16 10:28:50 #

Okay - so the script just stores the data.

Olaf posted on 2009-01-16 10:45:56 #

Right, it's not a complete site script. Check the example file on how-to show some template data.

espradley posted on 2009-02-14 14:52:05 #

I don't relly have time to build an API system to display. Email me with how much you would charge to do this.

Olaf posted on 2009-02-14 15:10:24 #

Quote from: espradley
"I don't relly have time to build an API system to display. Email me with how much you would charge to do this."

I don't think that this will work... a custom shop will take a lot of work and I'm so busy that I don't find the time to convert a free design (I got from TM) into my own shop :(

Why not using the ready made shop? I make most of my template sales here.
I think creating some template or design related source is much better than a standalone shop. As you can see it's possible to customize the ready made shop to fit your own website design

seanw posted on 2009-06-03 07:08:03 #

Hi Olaf -

Can you share with me, where to insert the aff. key??

Many thanks.

Olaf posted on 2009-06-03 07:12:46 #

Quote from: seanw
"Hi Olaf -
Can you share with me, where to insert the aff. key??
Many thanks."

read the whole thread :)

btw. the current CSV API is useless, updated my site with the XML version and hope to relase some example code within the next days.

seanw posted on 2009-06-03 23:30:25 #

Could not see anything obvious in the thread, but looking forward to the new post!

Olaf posted on 2009-06-04 05:06:56 #

Quote from: seanw
"Could not see anything obvious in the thread, but looking forward to the new post!"

I just wanna tell that there is more to do than "adding the affiliate code" (you need to build a website on your own).
The script has functions to import the data and some example code on how-to show the data ;)

seanw posted on 2009-06-04 18:38:57 #

Yes - I know that :-)

I don't know how to pull data from the TM site to then update my db, which it looks like what your code is doing. that's all i require. I will build the site from there!

Thanks

Olaf posted on 2009-06-06 20:23:50 #

Hi seanw,

just released the new TM API script:
http://www.finalwebsites.com/scripts/import-templates.php

Please start a new script if you have questions

inthysite posted on 2009-10-20 03:36:14 #

Was just playing around with this, pretty nice, appreciate all the work that went into this.

I do have a question however, I was looking at the thumb box function and it appears to look for the thumbnail image on my server (/img/small/26100/26189-m.jpg).

Am I supposed to download every image somehow to my server or am I missing something here???

inthysite posted on 2009-10-20 03:40:04 #

Ha! Nevermind, I see that I missed a step.

Transfer the screenshots from template monster to your server using the script "ImportScreenshots.php".