PDA

View Full Version : Miscellaneous Hacks - Kindle Daily Deal Grabber by BOP5


BirdOPrey5
03-23-2012, 11:00 PM
Brought to you by BirdOPrey5 / Qapla.com
(http://www.qapla.com)

Version 2.1.4

Compatible with VB 3.7.x, VB 3.8.x, and VB 4.x.x.

Now compatible with Amazon.com, Amazon.uk and Amazon.de!

Every day Amazon has "daily deal" on one or more Amazon Kindle ebooks. This deal will usually reduce the price of an ebook to only $0.99 to $1.99, which is a signficant savings off the regular price.

Recently they started including a daily deal for kids or teens as well.

Amazon allows you to sign up for an email notice of the deal but they are notoriously unreliable. Amazon does NOT offer an official RSS feed of the daily deal either.

This mod will grab the info of each daily deal straight from Amazon and post it to your forum as either a new thread or a new post in an existing thread.

VB4 Demo: Kindle Daily Deal at Qapla.com Forum (http://www.qapla.com/mods/showthread.php/251-Kindle-Daily-Deal-Grabber-Thread)
VB3 Demo: Kindle Daily Deal at Joe's Ultimate Off Topic (http://www.juot.net/forums/showthread.php?t=64498)

You can completely customize how the post will read using an easy replacement system above.

This mod relies on Amazon providing consistent pages and data. In my testing it works the vast majority of the time. However there is no guarantee it will work all the time on every daily deal. I have done my best to always at least provide a link to the deal even if other info is unavailable but I can't guarantee it will always work.

This mod relies on a scheduled task to run daily. Amazon usually posts the deal by 12 AM Pacific Time. You may need to go to Admin CP -> Scheduled Tasks -> Scheduled Tasks Manager to set a more appropriate time for this task to run on your forum. (Sometimes they are late in posting the deal though so I suggest waiting until at least 2AM Pacific Time to run it. )


Affiliate ID: This mod provides the site Admin the option for providing their own Amazon affiliate ID. If no affiliate ID is provided, my affiliate ID will be used.

If you have viglinks or skimlinks installed on your forum be sure you have the option to overwrite amazon affiliate ids turned on- both companies offer this option.

If upgrading from a 1.x version it is strongly recommended you uninstall the old version first. If you do not you will need to manually edit the Post Content settings to the new value.

Please Mark as Installed if you use this. :)
Donations always appreciated.

BirdOPrey5
03-24-2012, 03:37 PM
Reserved

lapiervb
03-24-2012, 03:41 PM
Are the books random or can you set it to be related to your forum niche?

BirdOPrey5
03-24-2012, 03:44 PM
The books are chosen by Amazon, you have no control.

Krusty1231
03-24-2012, 04:35 PM
Nice. I like how the images appear in my scroller as well.

Thanks

Ramsesx
03-24-2012, 06:03 PM
Cool stuff, thanks.
When do you expect the German version working?

BirdOPrey5
03-24-2012, 07:10 PM
German and UK versions are about 50% done, working on them together... I don't have an exact date though- probably needs me to commit a good day to polish them off.

v123shine
03-25-2012, 12:51 PM
Like it :)

Thank you BOP5

Kraxell
03-25-2012, 01:33 PM
Waiting for german-version :)

BirdOPrey5
03-26-2012, 08:01 AM
Updated to version 1.01 that will fix today's broken image. (Going forward.)

Sorry about this... after 2 weeks of testing with never having a problem with the image, today Amazon added a % sign to the filename, threw everything off.

If you want, re-run the scheduled task and you should get the deal with the working picture, then you can delete the old post with the broken image.

All you really need to upgrade is to upload and overwrite the cron job php file... You don't need to re-import the xml file, the only change to the xml is the version number.

Arkham
03-27-2012, 01:38 PM
Cool stuff, thanks.
When do you expect the German version working?

(Heh! I just saw this mod and came in here to scope it out for you. No need to PM you the link now. :)

Good luck with the German one! Great idea.

Is there any other information that can be accessible, e.g. subject or genre? That would be ideal in order to not display irrelevant daily deals. Since the Author field is there, do you think a future version would allow a config to only match predefined authors?

BirdOPrey5
03-27-2012, 02:15 PM
I suppose it is technically possible to filter by author but as a matter of being practical- I don't believe they repeat authors all that often... You'd literally be trying to guess at a handful from a pool of millions.

I suppose there could be an option that the title, author, and description fields were searched for keywords you specify, and if any of those were found, then it would post the deal- a lot like the RSS feed search works.

I will try and work that in but I probably won't delay a UK/German release to add that feature.

scottct1
03-27-2012, 04:45 PM
This is great THANK YOU!

Any plans for a Free Amazon App of the Day version?

BirdOPrey5
03-27-2012, 05:19 PM
Amazon App of The Day is best done via the RSS Feed: http://geekexile.com/amazon_rss.php

No need to re-invent the wheel, it will do basically the same as this.

scottct1
03-27-2012, 05:23 PM
You could do that, but what I like about your mod is it posts everything in the same thread instead of creating a new thread every day.

Also the RSS feed does not seem to contain a link you can click on to get the app. :)

BirdOPrey5
03-27-2012, 05:29 PM
I use this mod to make all posts in the same thread:
https://vborg.vbsupport.ru/showthread.php?t=261003

Example of how I use it on my forum:
http://www.juot.net/forums/showthread.php?t=59771&page=3

So that gets it pretty close. Unless that RSS feed closes down I don't anticipate making one for the app deals.

BirdOPrey5
04-08-2012, 11:01 AM
Updated to 1.03 to deal with when they (Amazon) use HTML tags inside multi-deal titles like they did today.

Like with the last update if you're not concerned about the version number all you need to do is upload the new php file in the /includes/cron/ directory.

However you can follow the full upgrade instructions to have your installed version number updated as well.

BirdOPrey5
04-15-2012, 10:23 AM
Updated to Version 1.04
-Fixed the problem that showed up today with Amazon using a different image URL for today's deal.
-Pushed the default time back of the cron job about 2 hours. Amazon has been late posting the deal lately causing empty data to be collected.

It is recommended you run the full upgrade procedure.
(Upload an overwrite the php file AND import and overwrite = Yes the product xml file.)

BirdOPrey5
04-29-2012, 11:47 AM
Updated to 1.06-

Fixes a few changes Amazon has made over the last couple weeks, including this morning's change to the multi-book deal price.

Overwrite all files on upload and re-import xml product file, allow overwrite set to yes.

scottct1
04-30-2012, 02:36 PM
Installed the new version and now its not filling in all the info.

Was working fine before. Here is what a post looks like now.

http://www.satelliteguys.us/chit-chat-club/280873-amazon-kindle-daily-deal-5.html#post2851241

Kindle Daily Deal for 04-30-2012

Title: After Midnight in the Garden of Good and EvilMarilyn Bardsley exposes the naked truth behind the death of Danny Hansford at the hands of his eccentric lover, the iconic Savannah, Georgia, socialite Jim Williams. It's a bizarre, page-turning look at the crime which inspired the best-selling novel and hit movie, Midnight in the Garden of Good and Evil. By {AUTHOR}



About: Marilyn Bardsley exposes the naked truth behind the death of Danny Hansford at the hands of his eccentric lover, the iconic Savannah, Georgia, socialite Jim Williams. It's a bizarre, page-turning look at the crime which inspired the best-selling novel and hit movie, Midnight in the Garden of Good and Evil.

MSRP: {PRINTPRICE}
Amazon Regular Price: $2.99
Discount: -$2.00
Deal Price: $0.99 (Today Only - 04-30-2012)

Rated: {RATING} of 5 Stars

Buy It Now or Browse Amazon.com.

More...
{LONGDESC}

Language: {LANGUAGE}
# of Pages: {PAGES}
File Size: {FILESIZE}
Published by {PUBLISHER}, on {PUBDATE}.
ISBN Number: {ISBN}

BirdOPrey5
04-30-2012, 03:18 PM
Were you using the full version before? It looks like it would if you replaced the full (but still free) version with this BASIC version.

The full version can only be downloaded from Qapla.com. You will need to upgrade from there too.

BirdOPrey5
12-08-2012, 03:15 PM
Updated to version 2.0- Now supports daily kids/teen deals as well.

Suggest you uninstall any 1.x version before upgrading.

imported_stefan
12-10-2012, 02:54 PM
German Version at 99% maybe ?

:)

You need a tester ?

;-)

BirdOPrey5
12-10-2012, 05:29 PM
German should be done soon.

Do these translations look OK?

https://vborg.vbsupport.ru/attachment.php?attachmentid=142822&stc=1&d=1355165691

Shogo
12-10-2012, 06:00 PM
Very nice...
Do you planed to make a bot for deal website like : groupon, ibood.com, qoqa.fr,...

Everyday there is a new (or more) deal on those websites.

BirdOPrey5
12-10-2012, 06:33 PM
Very nice...
Do you planed to make a bot for deal website like : groupon, ibood.com, qoqa.fr,...

Everyday there is a new (or more) deal on those websites.

Most of those sites I believe have RSS feeds which are easier and less work to setup.

For example I have an RSS feed from woot.com on my forum: http://www.juot.net/forums/showthread.php?t=59842

BirdOPrey5
12-10-2012, 07:36 PM
Updated to Version 2.1.0.

Added support for Amazon.uk and Amazon.de in addition to Amazon.com.

Notes:

When using one of the international sites it is suggested you edit the "Post Template" setting in the mod settings.

The UK version does not have kids/teens deals, but they do have 2 (or more) daily deals. Only the first 2 are supported.

For the UK I suggest using this post template:


Kindle Daily Deal for {DATE}

{TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {SHORTDESC}

Deal Price: {DEALPRICE} (Today Only) ({DISCOUNT} Off)

Deal # 2

{ALT_TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {ALT_SHORTDESC}

Deal Price: {ALT_DEALPRICE} (Today Only) ({ALT_DISCOUNT} Off)


View All Deals Now ({LINK}) or Browse Amazon.uk ({ALINK}).




The German site does only 1 daily deal, there is usually not a second deal so for that site I suggest using this post template (Better German translations would be appreciated- I translated with Google):


Kindle-Deal des Tages: {DATE}

{TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

Umschreibung: {SHORTDESC}

Heutigen Preis: {DEALPRICE} (Nur Heute) ({DISCOUNT} reduziert)

Jetzt Ansehen ({LINK}) or Bl?ttern Amazon.de ({ALINK}).

Shogo
12-10-2012, 09:39 PM
Most of those sites I believe have RSS feeds which are easier and less work to setup.

For example I have an RSS feed from woot.com on my forum: http://www.juot.net/forums/showthread.php?t=59842


Did you published this "rss bot" ?

imported_stefan
12-10-2012, 11:18 PM
I suggest:

Kindle-Deal des Tages: Datum: {DATE}

{TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

Beschreibung: {SHORTDESC}

Heutige Ersparnis: {DEALPRICE}

(Nur Heute um ({DISCOUNT} reduziert)

Jetzt Ansehen ({LINK}) oder bei Amazon.de ({ALINK}) bl?ttern.

and for the title

{TITLE}: Kindles t?glicher Deal vom {DATE}.

Working Example: http://forum.adeba.de/sparen-gratis-gutscheine-sonderangebote-rabatte/

Thanks a lot for your work. If its works I will be glad to donate or buy something from you.

imported_stefan
12-10-2012, 11:23 PM
DEALPRICE ist the ammount which you savetoday and not the product price by the way.

BirdOPrey5
12-11-2012, 07:51 AM
Did you published this "rss bot" ?

vBulletin has RSS Importing built in. In the Admin CP -> RSS Feeds... Just find an RSS feed for those sites and you can setup vBulletin to import from them.

I suggest:

Working Example: http://forum.adeba.de/sparen-gratis-gutscheine-sonderangebote-rabatte/

Thanks a lot for your work. If its works I will be glad to donate or buy something from you.

Thanks... Donations are always appreciated and can be made by the "Support Developer" link in the top post. :)

DEALPRICE ist the ammount which you savetoday and not the product price by the way.

Whoops, you are correct. Will issue an update shortly.

BirdOPrey5
12-11-2012, 08:09 AM
Updated to version 2.1.1.

Fixes bug where German mode pulls in the wrong price for {DEALPRICE}.

synseal
12-11-2012, 01:14 PM
Excellent as always - working example http://www.techkings.org/ebooks/

I set it to make new threads each day and made a kindle bot as per your example.

Very nice thank you!.

Mr_Running
12-12-2012, 11:27 AM
Installed and testing. :)
I'm wondering if the forum/thread/post needs to be public?
Will it work if the forum requires to be a logged in to view? be a member? usergroups?

BirdOPrey5
12-12-2012, 11:45 AM
Forum can be private, not a problem.

The only thing is the user you assign to make the post in settings needs permission to post in whatever forum you are posting it to.

Mr_Running
12-12-2012, 12:07 PM
Thanks, Worked just moments ago :)
One thing...the title is displaying html code

Kindle Daily Deal for 12-12-2012[B][I][URL="http://www.amazon.com ..........

Also, Do I need to change the User Title Maximum Characters?

BirdOPrey5
12-12-2012, 12:15 PM
What do you have for your title in the settings?

The default is:


Kindle Daily Deals: {TITLE} - {DATE}


I suppose if you use a field with BBCode in it (like {SHORTDESC}) you would see BBCode.

User Title is the word below your username ("Member" on this site) so that has nothing to do with this mod.

If you mean the thread title (or post title) max length, that is up to you, it will just cut off anything beyond the max length you have set.

Mr_Running
12-12-2012, 12:45 PM
This is what I have as default...

Kindle Daily Deal for {DATE}

{TITLE} ({LINK})

edit update: Sorry, this is actually part of the Title of the Post Template
By the way...What I have is one thread with a daily post.

BirdOPrey5
12-12-2012, 05:50 PM
What do you have in the box Thread / Post Title in settings because that looks like where the problem is from your screen shot. Like perhaps you posted in the Template code into the title accidentally.

If you can't see the problem, uninstall the mod and re install. Don't make any changes to the post template or title settings and manually run the task.

If still problem please post a screen shot of the entire post.

Mr_Running
12-12-2012, 06:52 PM
Yeah, this was in the Thread / Post Title

Kindle Daily Deal for {DATE}{TITLE} ({LINK})https://vborg.vbsupport.ru/ ({LINK})About: {SHORTDESC}Deal Price: {DEALPRICE} (Today Only) ({DISCOUNT} Off)View Deals Now ({LINK}) or Browse Amazon.com ({ALINK}).


Thread / Post Title now is this.... :D
Kindle Daily Deals: {TITLE} - {DATE}

Mr_Running
12-22-2012, 10:12 AM
Have been testing it for a little over a week and I just wanted to provide an update.
The postings for me seem to be later and later each passing day.
I love the mod but have uninstalled it on my site because I feel the kindle book topics really don't work for my forum but mod is marked installed as I may re-visit it again and may continue testing. :)

BirdOPrey5
12-22-2012, 11:51 AM
Updated to version 2.1.2 due to changes in Amazon USA daily deal formatting. Amazon also removed the titles of the deal books from the page.

The title will now show something like "Romance Daily Deal" or "Teens Daily Deal", etc...

If updating (USA ONLY) please change the post template setting to:


Kindle Daily Deal for {DATE}

{TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {SHORTDESC}

Deal Price: {DEALPRICE} (Today Only) ({DISCOUNT} Off)

Other Deal

{ALT_TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {ALT_SHORTDESC}

Deal Price: {ALT_DEALPRICE} (Today Only) ({ALT_DISCOUNT} Off)


View More Deals Now ({LINK}) or Browse Amazon.com ({ALINK}).


UK and German Amazon users do not need to upgrade.

Cla75
12-22-2012, 04:11 PM
Good Mod, but
is not possible for italian version ?
www.amazon.it

thanks for support

BirdOPrey5
12-26-2012, 11:18 AM
Updated to version 2.1.3 which fixes the price issue for Amazon USA. No update needed for Amazon UK or Germany.

Amazon changed the wording from "Today's Price" to "Deal Price" had to update the code.

Good Mod, but
is not possible for italian version ?
www.amazon.it

thanks for support

I can do Italy, or any other Amazon site if you can give me the link to the Daily Deal page.

For Amazon USA it's: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541

I could only find for UK and Germany while searching, I'm not sure every country has daily deals.

Nirjonadda
12-27-2012, 12:57 PM
Bug on Thread / Post Title? How to fix on this issue?

143041

BirdOPrey5
12-29-2012, 07:35 PM
Do not use {SHORTDESC} in Thread / Post Title in settings.

Nirjonadda
12-29-2012, 07:45 PM
Do not use {SHORTDESC} in Thread / Post Title in settings.

But Bug on Product Details,How to fix on this issue ?

About:

143063

143064

BadgerDog
01-08-2013, 11:18 AM
Updated to version 2.1.3 which fixes the price issue for Amazon USA. No update needed for Amazon UK or Germany.

Amazon changed the wording from "Today's Price" to "Deal Price" had to update the code.



Hi .. :)

I updated but it doesn't seem to be showing the prices any longer for me? (see pic)

Thanks ...

Regards,
Doug

glen290
01-11-2013, 03:04 PM
Same here, not getting any prices showing either.

Also get this error if I enable VBCredits.

Fatal error: Call to a member function escape_string() on a non-object in /home/tenpinfo/public_html/take5/dbtech/credits/credits_core.php on line 568

BirdOPrey5
01-12-2013, 02:02 PM
Yeah prices changed, will need an update.

The vbcredits error isn't related to this mod, this mod has no plugins so it can't interfere with anything.

BirdOPrey5
01-12-2013, 02:03 PM
But Bug on Product Details,How to fix on this issue ?

About:

143063

143064

Is it working now? Some days there will be missing info, it can't be perfect because Amazon is always changing.

If you still get the problem, which amazon site are you using? COM, UK, or DE?

Nirjonadda
01-12-2013, 05:10 PM
I am using com(USA) , Does not fixed info.

glen290
01-14-2013, 02:13 PM
Yeah prices changed, will need an update.

The vbcredits error isn't related to this mod, this mod has no plugins so it can't interfere with anything.

I only get the error when vbcredits is enabled and i try to run the cron job..

BirdOPrey5
01-14-2013, 04:49 PM
Updated to version 2,1.4 - fixes prices on Amazon USA.

I only get the error when vbcredits is enabled and i try to run the cron job..

The error:

Fatal error: Call to a member function escape_string() on a non-object in /home/tenpinfo/public_html/take5/dbtech/credits/credits_core.php on line 568

is being generated from credits_core.php in the dbtech directory- I have no idea why vb credits would even attempt to run... Hmmm...

I'll bet it's running because the new thread is being created and it's set to run on thread creation... I'm using the vBulletin data manager to create the thread which as far as I know is the correct way of doing it. I don't like passing the buck but it really looks like the issue is with VB Credits mod.

BadgerDog
01-24-2013, 12:54 PM
Uninstalled....

Results unpredictable ...

Thanks for the effort ... :)

Regards,
Doug

BirdOPrey5
01-31-2013, 08:32 PM
Indeed the nature of the beast it will be unpredictable... today it picked up a second image of the romance daily deal for some reason.

No way to know how Amazon is going to format their pages before they do- it's just better than nothing, but far from perfect.

inphoenix
03-02-2013, 09:04 PM
I get this error when I run the cron job. No new thread is created.
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/credits/credits_vbulletin.php on line 405

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/credits/credits_vbulletin.php on line 405

Go Back

DEBUG INFO-------------------

Daily Deal URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541

VB Version >= 4.1.4 (4.1.5)

VB Version >= 4.1.4 (4.1.5)
Amazon Link: http://www.amazon.com/?tag=tablsuppforu-20
Big Img URL: http://ecx.images-amazon.com/images/I/51Y2%2BTZx4FL.jpg
Small Img URL: http://ecx.images-amazon.com/images/I/51Y2%2BTZx4FL._SL110.jpg
Title: Kindle Daily Deal
Deal URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=tablsuppforu-20
Percent Off: %
Today's Price: $1.99
Date: 03-02-2013
Final Title: Kindle Daily Deal for 03-02-2013Kindle Daily Deal (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=tablsuppforu-20)https://vborg.vbsupport.ru/external/2013/03/31.jpg (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=tablsuppforu-20)About: Welcome to Deck Z, where 2,200 passengers are trapped aboard the doomed Titanic, on an icy Atlantic... with the walking dead.Deal Price: $1.99 (Today Only) (% Off)View Deals Now (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=tablsuppforu-20) or Browse Amazon.com (http://www.amazon.com/?tag=tablsuppforu-20).

New Post Successful!

BirdOPrey5
03-03-2013, 12:33 PM
It's a conflict with dbtech's credits mod. You'll have to talk to them or disable this mod- but this mod is coded correctly.

inphoenix
03-04-2013, 01:21 AM
It's a conflict with dbtech's credits mod. You'll have to talk to them or disable this mod- but this mod is coded correctly.

I disabled the credit mod and the Kindle Daily deal works now. Just for kicks, I decided to enable the credits mod and this still works with this warning.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/credits/credits_vbulletin.php on line 405


Thanks for this mod. It does exactly what I wanted it to do.

A suggestion -> Would it be possible to create a mod where we provide the ASIN number (with some tag) and it would go and fetch (from Amazon) the price, star rating, pic and a small description in a post?

BirdOPrey5
03-04-2013, 11:33 AM
Thanks for update. Please "Mark as Installed" if you are going to keep using this.

Your mod idea is intriguing. Usually 'content scrapping' in unethical, but like this mod it ultimately will only help Amazon sales I don't see that being a problem.

I will put some thought into this and announce here if I make something.

inphoenix
03-13-2013, 05:26 PM
Amazon App of The Day is best done via the RSS Feed: http://geekexile.com/amazon_rss.php

No need to re-invent the wheel, it will do basically the same as this.

This RSS feed does not allow to add our affiliate tag to the download link. Your Kindle daily deal mod allows that. If you can create a similar mod for the app of the day (and allow to add our affiliate tag) that would be awesome!!

tareqbd
03-14-2013, 04:09 PM
Kindle Daily Deal Grabber by BOP5

Fatal error: Call to a member function escape_string() on a non-object in /home/***********/public_html/dbtech/credits/credits_core.php on line 640
When I try to run "Cron Job" above error comes. Please fix.

tareqbd
04-09-2013, 01:47 PM
Kindle Daily Deal Grabber by BOP5

Fatal error: Call to a member function escape_string() on a non-object in /home/***********/public_html/dbtech/credits/credits_core.php on line 640
When I try to run "Cron Job" above error comes. Please fix.

Bump!

BirdOPrey5
04-13-2013, 06:10 PM
It's a problem from dbtech's credits mod, not this one.

ATN
04-28-2013, 10:40 PM
Hi, fantastic idea for a mod, but I'm having a problem with actually populating the post.

The post is being generated, and I've changed the template to the suggested UK style (I'm using amazon.co.uk

I've also tried pulling from the US site and get no info from there either.

I'm getting the following on the actual post;

Kindle Daily Deal for 29-04-2013

Kindle Daily Deal

https://vborg.vbsupport.ru/

about:

Deal Price: ?. (Today Only) (% Off)

Deal # 2

Other Daily Deal

https://vborg.vbsupport.ru/

about:

Deal Price: ?. (Today Only) (% Off)


View All Deals Now or Browse Amazon.uk.

ATN
04-30-2013, 09:45 AM
Any pointers as to what it is I'm missing?

jpbryan
04-30-2013, 10:51 PM
I am having a similar problem as ATN (above)..

Please see screen shots and tell me what I have done wrong..

Thanks for the mod and your help...

ATN
05-04-2013, 11:28 AM
Still looking for any pointers that anyone can give me on this add-on.

Thanks

BirdOPrey5
05-04-2013, 08:27 PM
I can't tell much from the screenshots and explanations - jpbryan I can see you have BBCode in your subject//title, that won't work but it shouldn't be breaking anything else.

I confirmed it is still working on my 2 forums without issue so not sure why it wouldn't be picking up.

If you want to PM me admin access to your forums I will take a look but I can't promise how quickly that will happen.

ATN
05-04-2013, 08:37 PM
I can't tell much from the screenshots and explanations - jpbryan I can see you have BBCode in your subject//title, that won't work but it shouldn't be breaking anything else.

I confirmed it is still working on my 2 forums without issue so not sure why it wouldn't be picking up.

If you want to PM me admin access to your forums I will take a look but I can't promise how quickly that will happen.

I know it's something I'm doing, I saw how well it works on your page :)

I'll sort out the access tonight and PM it over to you later.

pelican
06-01-2013, 05:16 AM
is it possible to somehow modify it so that i can put it in one of the ad location instead of posting it.

BirdOPrey5
06-01-2013, 09:40 AM
I wouldn't call it modified at that point, it would basically be at least 50% new code.

You could use the code that scrapes the info from the pages but after that I would imagine instead of using the vBulletin functions to create a new post you'd need to write a custom .html file and then use that as an <iframe> ad in an ad location template.

It's not a bad idea... Never thought of using them in an ad. I'm not sure when I would get a chance to work on it though, will definitely post back if/when I add the option.

What size ad were you considering?

Toorak Times
06-02-2013, 11:16 AM
Does it work for aus BOP?

BirdOPrey5
06-02-2013, 11:23 AM
I could only find daily deals for US, GB, and DE. If you know the link for an Australian daily deal please post it here and I'll try to add it.

cykelmyggen
09-26-2014, 01:40 PM
Hi
This mod stopped working sometime in 2012 and I tried to make it work at that time with no succes. I would like to have this working on my new design, so I tried to uninstall/install the mod and run the cron job manually. The message from the cron job is that it ran succesfully, but no posts are showing in the assigned forum.
Any help would be appreciated.
http://www.bookeater.dk/vbforum/kindle-daily-deal/

BirdOPrey5
09-26-2014, 05:50 PM
Which amazon site are you pulling from? It's actually still working for me, puling from amazon.com. There is a little HTML code displayed but generally it works.

cykelmyggen
09-27-2014, 05:42 AM
I'm using Amazon.com as well.

BirdOPrey5
09-27-2014, 10:53 AM
I just installed this on a VB4 test site, virtually stock, and it works- at least when I run the cron job manually from the mod settings- if you run it manually from the settings page does it work for you?

I'm using this as the code for the post template:

Kindle Daily Deal for {DATE}

{TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {SHORTDESC}

Deal Price: {DEALPRICE} (Today Only)

Other Deal

{ALT_TITLE} ({LINK})

https://vborg.vbsupport.ru/ ({LINK})

About: {ALT_SHORTDESC}

Deal Price: {ALT_DEALPRICE} (Today Only)


View More Deals Now ({LINK}) or Browse Amazon.com ({ALINK}).



Also - What PHP version is on your server?

cykelmyggen
10-20-2014, 03:17 AM
Using PHP Version 5.3.10-1ubuntu3.13

Code for template:
*Kindle Daily Deal for {DATE}*

*{TITLE} (http://{LINK})*

{SMALLIMG} (http://{LINK})

*about_:* {SHORTDESC}

*Deal Price: {DEALPRICE}* (Today Only)

*Other Deal*

*{ALT_TITLE} (http://{LINK})*

{ALT_SMALLIMG} (http://{LINK})

*about_:* {ALT_SHORTDESC}

*Deal Price: {ALT_DEALPRICE}* (Today Only)


*View More Deals Now (http://{LINK})* or Browse Amazon.com (http://{ALINK}).

cykelmyggen
10-20-2014, 03:20 AM
Tried your template and gets the same message:

Kindle Daily Deal Grabber by BOP5


Go Back

DEBUG INFO-------------------

Daily Deal URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541

VB Version >= 4.1.4 (4.2.2)

VB Version >= 4.1.4 (4.2.2)
Amazon Link: http://www.amazon.com/?tag=wwwboggnasker-20
Big Img URL: http://ecx.images-amazon.com/images/I/51h91cFSI7L.jpg
Small Img URL: http://ecx.images-amazon.com/images/I/51h91cFSI7L._SL110.jpg
Title: The Kindle Daily Deal
Deal URL: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=wwwboggnasker-20
Percent Off: %
Today's Price:
Date: 20th October 2014
Final Title: Kindle Daily Deal for 20th October 2014The Kindle Daily Deal (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=wwwboggnasker-20)https://vborg.vbsupport.ru/external/2014/10/8.jpg (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=wwwboggnasker-20)About: by Jan-Philipp Sendker Customer review: "If you are an Amy Tan fan or you enjoyed The Bridges of Madison County or Memoirs of a Geisha, then you will love this book! So powerful and moving, it will touch your heart."Deal Price: (Today Only) (% Off)View Deals Now (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000677541&tag=wwwboggnasker-20) or Browse Amazon.com (http://www.amazon.com/?tag=wwwboggnasker-20).

New Post Successful!

F?rdig
However the post doesn't show up at the selected forum