vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Amazon Integration (https://vborg.vbsupport.ru/showthread.php?t=119220)

Icheb 06-20-2006 10:00 PM

Amazon Integration
 
This hack turns all links to an article from amazon.de (you can change it to .com or anything else you like) into affiliate links by appending your affiliate ID to the link. All you have to do is install the plug-in, change the amazon site and your ID and you're good to go.

Please test it on your site and report back. :)

Don't forget to hit the install button if you like it!

Paul M 06-21-2006 02:30 AM

Looks interesting, might have to give this a test. It would be better if it was packaged as a product rather than just a plugin. :)

Icheb 06-21-2006 02:35 AM

I never wrote hacks for 3.5 / 3.6 before, so I'm not that versed with the product and plugin system. However, it works on my test forum. ;)

ThorstenA 06-21-2006 07:14 AM

nice one.

version2 06-21-2006 08:38 PM

Oh, crap! I installed this on my 3.5.4 site. I wonder what its going to do. =P

noppid 06-21-2006 08:52 PM

Don't forget to change the associates ID or you are selling for him. :p


Great hack though.

version2 06-21-2006 09:06 PM

Quote:

Originally Posted by noppid
Don't forget to change the associates ID or you are selling for him. :p


Great hack though.

Didn't work, I don't think. I posted a link to a product at Amazon...shouldn't it have put my aff-id in there?

I wasn't expecting it to work....like I said. I am not running the beta yet. =]

Icheb 06-22-2006 05:47 AM

Quote:

Originally Posted by noppid
Don't forget to change the associates ID or you are selling for him. :p

You can't blame me, I warned you in the initial post. ;)

klaush 06-22-2006 07:34 AM

I installed it under 3.5.4 and it seems to work.

Thanks.

version2 06-22-2006 10:55 AM

Quote:

Originally Posted by klaush
I installed it under 3.5.4 and it seems to work.

Thanks.

Huh? Show me an example link? Please!


All times are GMT. The time now is 01:53 AM.

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.01854 seconds
  • Memory Usage 1,727KB
  • 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_quote_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