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
  #32  
Old 12-11-2012, 07:51 AM
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 Shogo View Post
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.

Quote:
Originally Posted by imported_stefan View Post
I suggest:

Working Example: http://forum.adeba.de/sparen-gratis-...ebote-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.

Quote:
Originally Posted by imported_stefan View 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.
Reply With Quote
  #33  
Old 12-11-2012, 08:09 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.1.

Fixes bug where German mode pulls in the wrong price for {DEALPRICE}.
Reply With Quote
  #34  
Old 12-11-2012, 01:14 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!.
Reply With Quote
Благодарность от:
BirdOPrey5
  #35  
Old 12-12-2012, 11:27 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.
Reply With Quote
  #37  
Old 12-12-2012, 12:07 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Worked just moments ago
One thing...the title is displaying html code

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

Also, Do I need to change the User Title Maximum Characters?
Reply With Quote
  #38  
Old 12-12-2012, 12:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you have for your title in the settings?

The default is:

Code:
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.
Reply With Quote
  #39  
Old 12-12-2012, 12:45 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I have as default...

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

[B][I][URL="{LINK}"]{TITLE}[/URL][/I][/B]
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.
Attached Images
File Type: jpg html_kindle.jpg (19.3 KB, 0 views)
Reply With Quote
  #40  
Old 12-12-2012, 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

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.
Reply With Quote
Благодарность от:
Mr_Running
  #41  
Old 12-12-2012, 06:52 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, this was in the Thread / Post Title

HTML 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][URL="{LINK}"]View Deals Now[/URL][/B] or [URL="{ALINK}"]Browse Amazon.com[/URL].

Thread / Post Title now is this....
Code:
Kindle Daily Deals: {TITLE} - {DATE}
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 08:28 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.04919 seconds
  • Memory Usage 2,361KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (3)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
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete