Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
By Request - Ebay Affilliate Conversion Details »»
By Request - Ebay Affilliate Conversion
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 12-05-2004 Last Update: Never Installs: 6
Is in Beta Stage  
No support by the author.

OK. This one is a quick knock-off of the amazon hack. It takes links to items on ebay and converts them to use your commission junction affilliate id.

It is very much a beta and has only been tested for about 5 minutes.

It was requested in this thread:

https://vborg.vbsupport.ru/showthread.php?t=72564

Please report any bugs.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-07-2004, 03:51 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work
Reply With Quote
  #3  
Old 12-10-2004, 12:49 AM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you determine what your number is?
Reply With Quote
  #4  
Old 12-10-2004, 01:09 AM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at it more, it looks like this one and the amazon hack change the link when it's posted, but doesn't change old historical links?
Reply With Quote
  #5  
Old 12-10-2004, 12:29 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dwh
Looking at it more, it looks like this one and the amazon hack change the link when it's posted, but doesn't change old historical links?
Right. In the old vb2 version, it did because vbulletin parsed links when they were displayed, not when they were inserted in the database. (If I remember correctly. It's been a while.)

Now, the links are processed when a message is posted or when a message is edited.

It might be interesting to put together a script to go through old posts and change the links, but I don't have time to do that right now.

Amy
Reply With Quote
  #6  
Old 12-10-2004, 12:30 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dwh
how do you determine what your number is?
When you go to commission junction, in the section for ebay there is a link to a tool at ebay that allows you to create a link to any item. Create one link and then grab the number from that link.

Amy
Reply With Quote
  #7  
Old 12-10-2004, 12:57 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Right. In the old vb2 version, it did because vbulletin parsed links when they were displayed, not when they were inserted in the database. (If I remember correctly. It's been a while.)

Now, the links are processed when a message is posted or when a message is edited.

It might be interesting to put together a script to go through old posts and change the links, but I don't have time to do that right now.

Amy
I wonder why they changed the system. It seems crazy. Links should be parsed when displayed so if there's a change in how you want links displayed (like here), you only need to deal with it once. sigh.

Quote:
Originally Posted by amykhar
When you go to commission junction, in the section for ebay there is a link to a tool at ebay that allows you to create a link to any item. Create one link and then grab the number from that link.

Amy
Yes, but it looks like this:

http://www.cj.com/blahblah/click-yourid-itemid/bla

is it enough to just put in yourid? Looking at the code, it doesn't seem to pull the itemid from the links and insert it into your code?

I haven't studied CJ's/ebay's system much so I'm not sure of the syntax but that's what it looks like to me.
Reply With Quote
  #8  
Old 12-10-2004, 01:11 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does pull the item id from the links and puts it into the correct format. And yes, it's enough to get your id by using that tool I mentioned and then paste it in.

It DOESN'T work if you snag the id number from an ebay banner ad, etc. You need to get the id from the link generated by the tool or you'll end up on a generic ebay page.

The code takes the id number and the item number and generates a fresh link - so you won't have to worry about somebody else's affiliate id being there too or a session id or anything goofy.

Amy
Reply With Quote
  #9  
Old 12-14-2004, 03:06 AM
hankster hankster is offline
 
Join Date: Feb 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't seem to work for me... nothing gets changed in the link. A question: In the second part of the hack do you put the eBay hack ABOVE the $DB_site->query(" line?

[edited] A little experementing shows it adds the corrected link if I edit the post but does not add it when a new link is posted.
Reply With Quote
  #10  
Old 12-14-2004, 09:29 AM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
And yes, it's enough to get your id by using that tool I mentioned and then paste it in.
I looked all over but cannot find this tool.
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 10:07 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.04256 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete