Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #72  
Old 06-01-2013, 05:16 AM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to somehow modify it so that i can put it in one of the ad location instead of posting it.
Reply With Quote
  #73  
Old 06-01-2013, 09:40 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #74  
Old 06-02-2013, 11:16 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work for aus BOP?
Reply With Quote
  #75  
Old 06-02-2013, 11:23 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #76  
Old 09-26-2014, 01:40 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #77  
Old 09-26-2014, 05:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #78  
Old 09-27-2014, 05:42 AM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Amazon.com as well.
Reply With Quote
  #79  
Old 09-27-2014, 10: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

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

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


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

Also - What PHP version is on your server?
Reply With Quote
  #80  
Old 10-20-2014, 03:17 AM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using PHP Version 5.3.10-1ubuntu3.13

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

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

[IMG]{SMALLIMG}[/IMG] (http://{LINK})

*about_:* {SHORTDESC}

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

*Other Deal*

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

[IMG]{ALT_SMALLIMG}[/IMG] (http://{LINK})

*about_:* {ALT_SHORTDESC}

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


*View More Deals Now (http://{LINK})* or Browse Amazon.com (http://{ALINK}).
Reply With Quote
  #81  
Old 10-20-2014, 03:20 AM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried your template and gets the same message:

Code:
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 DealAbout: 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 or Browse Amazon.com.

New Post Successful!

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

Thread Tools

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:15 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.16906 seconds
  • Memory Usage 2,334KB
  • 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
  • (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
  • (2)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