vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Amazon Associates Hack for VB3 (https://vborg.vbsupport.ru/showthread.php?t=72560)

amykhar 12-05-2004 10:00 PM

Amazon Associates Hack for VB3
 
This hack converts any US amazon link posted on your board to use your affilliate id and is based of some work Logician did for me in Vbulletin 2, but is an improved rewrite. The old version did not track well with Amazon because it did not strip out Amazon session ids.

Please note that you need to change my affilliate id to use yours.

Also note that the chunk of code you are looking for in edit.php may not be an exact match in your file. You are looking for the query that updates the post table with the edited post.

Regarding Update.zip Update.zip contains a new functions_amazon.php that I would like some people to try out before I add to the regular zip file. The new function handles Amazon's new link format, and I believe, works better than the original function. Please LET ME KNOW if you try it and it works for you.

-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you. :)
https://vborg.vbsupport.ru/external/2010/02/12.gif

MrNase 12-06-2004 12:44 PM

What does this hack do?

amykhar 12-06-2004 12:45 PM

Quote:

Originally Posted by MrNase
What does this hack do?

converts any amazon link posted on your board to user your affilliate id.

Blue Moose Aaron 12-06-2004 01:03 PM

This is a really good idea. I will install for sure when complete!

Reeve of shinra 12-06-2004 01:21 PM

I'm really glad to see this released. How does this work with your non-us members?

amykhar 12-06-2004 02:13 PM

Quote:

Originally Posted by Reeve of shinra
I'm really glad to see this released. How does this work with your non-us members?

I don't really have many members who use non-us amazon sites. So, I haven't tested that aspect. I believe some work would be required to make it more international.

amykhar 12-07-2004 02:38 AM

For the record, I installed this hack 3 days ago and have already sold 22 items. Given that I have an off-topic site that normally sells 2 or so items a quarter without the hack, I think this has the potential to make serious money for forums with a true focus.

Amy

fiber1 12-07-2004 09:33 AM

Nice, I just put a full amazon shop on my site instead though since it only took about 5 minutes.

dndog 12-08-2004 03:23 AM

AWESOME.

This is sheer genius.

/me clicks install.

NightWalk8r 12-08-2004 03:47 AM

Thanks you soooo much!!!!!!!


All times are GMT. The time now is 05:39 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.01245 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)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