vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Kindle Daily Deal Grabber by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=280597)

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

cykelmyggen 10-20-2014 03:17 AM

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}).


cykelmyggen 10-20-2014 03:20 AM

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 Dealhttps://vborg.vbsupport.ru/external/2014/10/8.jpgAbout: 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


All times are GMT. The time now is 11:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01140 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete