Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Kindle Daily Deal Grabber by BOP5 (VB3) Details »»
Kindle Daily Deal Grabber by BOP5 (VB3)
Version: 2.1.4, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 03-23-2012 Last Update: 01-13-2013 Installs: 8
Uses Plugins
Additional Files  
No support by the author.



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.com 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
VB3 Demo: Kindle Daily Deal at Joe's Ultimate Off Topic

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.

Download Now

File Type: zip Kindle Daily Deal Grabber 2.x by BOP5 v214.zip (15.6 KB, 24 views)

Screenshots

File Type: jpg kdd_settings_basic.jpg (97.3 KB, 0 views)
File Type: jpg kdd_vb3thread_multi.jpg (93.0 KB, 0 views)
File Type: jpg kdd_vb4post_full.jpg (74.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
v123shine

Comments
  #2  
Old 03-24-2012, 03:39 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 03-25-2012, 12:47 PM
v123shine v123shine is offline
 
Join Date: Sep 2008
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love u BOP5

This is great addon.
Reply With Quote
  #4  
Old 04-08-2012, 11:03 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-15-2012, 10:25 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
Reply With Quote
  #6  
Old 04-29-2012, 11:49 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 1.06

Fixes a few changes over the weeks.
Reply With Quote
  #7  
Old 12-08-2012, 03:27 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded to version 2.0. Added support for daily kids/teen deals and affiliate ids. Suggest uninstalling old versions before upgrading to this one.
Reply With Quote
  #8  
Old 12-10-2012, 07:41 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
[B][SIZE=3]Kindle Daily Deal for {DATE}[/SIZE][/B]

[B][I][URL="{LINK}"]{TITLE}[/URL][/I][/B]

[URL="{LINK}"][img]https://vborg.vbsupport.ru/[/img][/URL]

[B]About:[/B] {SHORTDESC}

[B]Deal Price: {DEALPRICE}[/B] (Today Only) ({DISCOUNT} Off)

[B][SIZE=3]Deal # 2[/SIZE][/B]

[B][I][URL="{LINK}"]{ALT_TITLE}[/URL][/I][/B]

[URL="{LINK}"][img]https://vborg.vbsupport.ru/[/img][/URL]

[B]About:[/B] {ALT_SHORTDESC}

[B]Deal Price: {ALT_DEALPRICE}[/B] (Today Only) ({ALT_DISCOUNT} Off)


[B][URL="{LINK}"]View All Deals Now[/URL][/B] or [URL="{ALINK}"]Browse Amazon.uk[/URL].


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):

Code:
[B][SIZE=3]Kindle-Deal des Tages: {DATE}[/SIZE][/B]

[B][I][URL="{LINK}"]{TITLE}[/URL][/I][/B]

[URL="{LINK}"][img]https://vborg.vbsupport.ru/[/img][/URL]

[B]Umschreibung:[/B] {SHORTDESC}

[B]Heutigen Preis: {DEALPRICE}[/B] (Nur Heute) ({DISCOUNT} reduziert)

[B][URL="{LINK}"]Jetzt Ansehen[/URL][/B] or [URL="{ALINK}"]Bl?ttern Amazon.de[/URL].
Reply With Quote
  #9  
Old 12-22-2012, 11:53 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
[B][SIZE=3]Kindle Daily Deal for {DATE}[/SIZE][/B]

[B][I][URL="{LINK}"]{TITLE}[/URL][/I][/B]

[URL="{LINK}"][img]https://vborg.vbsupport.ru/[/img][/URL]

[B]About:[/B] {SHORTDESC}

[B]Deal Price: {DEALPRICE}[/B] (Today Only) ({DISCOUNT} Off)

[B][SIZE=3]Other Deal[/SIZE][/B]

[B][I][URL="{LINK}"]{ALT_TITLE}[/URL][/I][/B]

[URL="{LINK}"][img]https://vborg.vbsupport.ru/[/img][/URL]

[B]About:[/B] {ALT_SHORTDESC}

[B]Deal Price: {ALT_DEALPRICE}[/B] (Today Only) ({ALT_DISCOUNT} Off)


[B][URL="{LINK}"]View More Deals Now[/URL][/B] or [URL="{ALINK}"]Browse Amazon.com[/URL].
UK and German Amazon users do not need to upgrade.
Reply With Quote
  #10  
Old 12-23-2012, 02:02 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice and thanks! Can someone test the German link settings with this addon? It says: link not found.

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05749 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete