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

Reply
 
Thread Tools
Kindle Daily Deal Grabber by BOP5 Details »»
Kindle Daily Deal Grabber by BOP5
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: 4.x.x Rating:
Released: 03-23-2012 Last Update: 01-13-2013 Installs: 34
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 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, 55 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.

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

Quote:
Originally Posted by Nirjonadda View Post
But Bug on Product Details,How to fix on this issue ?

About:

Attachment 143063

Attachment 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?
Reply With Quote
  #53  
Old 01-12-2013, 05:10 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using com(USA) , Does not fixed info.
Reply With Quote
  #54  
Old 01-14-2013, 02:13 PM
glen290's Avatar
glen290 glen290 is offline
 
Join Date: Apr 2008
Location: Haydock UK
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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..
Reply With Quote
  #55  
Old 01-14-2013, 04:49 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.4 - fixes prices on Amazon USA.

Quote:
Originally Posted by glen290 View Post
I only get the error when vbcredits is enabled and i try to run the cron job..
The error:

Code:
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.
Reply With Quote
  #56  
Old 01-24-2013, 12:54 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled....

Results unpredictable ...

Thanks for the effort ...

Regards,
Doug
Reply With Quote
  #57  
Old 01-31-2013, 08:32 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #58  
Old 03-02-2013, 09:04 PM
inphoenix inphoenix is offline
 
Join Date: Sep 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.htm...cId=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/...4FL._SL110.jpg
Title: Kindle Daily Deal
Deal URL: http://www.amazon.com/gp/feature.htm...ablsuppforu-20
Percent Off: %
Today's Price: $1.99
Date: 03-02-2013
Final Title: Kindle Daily Deal for 03-02-2013Kindle Daily DealAbout: 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 or Browse Amazon.com.

New Post Successful!
Reply With Quote
  #59  
Old 03-03-2013, 12:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #60  
Old 03-04-2013, 01:21 AM
inphoenix inphoenix is offline
 
Join Date: Sep 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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?
Reply With Quote
  #61  
Old 03-04-2013, 11:33 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 02:45 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.06706 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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