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)
-   -   Add-On Releases - Rewrite eBay Links (https://vborg.vbsupport.ru/showthread.php?t=144214)

dssart 09-10-2007 10:10 PM

I'd like to try this, but would like a stable version for 3.6.8..does the above work 100%? any problems? Will gladly donate if it works and makes me some bank...

sinucello 09-25-2007 10:03 AM

Hi,

thanks a lot. I just installed it and would like to use it for the german Ebay partner-program.

I changed line 43 of the xml to:
Code:

if (!$parsie['host'] OR !preg_match('/(.*)ebay\.[a-z0-9]+/i', $parsie['host']) OR preg_match('/partners\.webmasterplan\.com/i', $parsie['host']))
Not sure if I got that one right. This should contain the domain of the rewritten URLs to prevent double-rewriting right?

and line 57 to:
Code:

$newurl = 'http://partners.webmasterplan.com/click.asp?ref=372170&site=1382&type=text&tnb=23&diurl=' . rawurlencode(str_replace('&', '&', $url));
Please note that the IDs in line 57 are hardcoded. The ID entered in the VB-settings will NOT be used, you will have to edit the xml-file manually and enter your ref and site IDs there.

Here is the line of code again, this time with markers instead of my IDs:
Code:

$newurl = 'http://partners.webmasterplan.com/click.asp?ref=###enter_your_ref_id_here###&site=###enter_your_site_id_here###&type=text&tnb=23&diurl=' . rawurlencode(str_replace('&', '&', $url));
Works for me, maybe someone can use this.

all the best,
Sacha

bplinson 09-26-2007 06:20 AM

Will this rewrite the links from vBPortal RSS feed module?

BTW - Since I began using this 15 days ago I have made $95.00 from eBay and am beginning to average $9.00 a day!!!!

Just sent ya a little thank you money for this great mod.

ETDC 09-26-2007 06:47 AM

Interesting.

• Will this re-write links to eBay.com to eBay.co.uk?
• My members write all different types of links to auctions - will this convert all of them?
• If someone from the US clicks the link to eBay.co.uk but eventually buys through .com, what happens then?
• Does this work on 3.6.8 yet?

:)

Dismounted 09-26-2007 11:41 AM

Quote:

Originally Posted by bplinson (Post 1347273)
Will this rewrite the links from vBPortal RSS feed module?

BTW - Since I began using this 15 days ago I have made $95.00 from eBay and am beginning to average $9.00 a day!!!!

Just sent ya a little thank you money for this great mod.

Thanks :)
Quote:

Originally Posted by ETDC (Post 1347295)
Interesting.

? Will this re-write links to eBay.com to eBay.co.uk?
? My members write all different types of links to auctions - will this convert all of them?
? If someone from the US clicks the link to eBay.co.uk but eventually buys through .com, what happens then?
? Does this work on 3.6.8 yet?

:)

1./ This will rewrite any eBay links (regardless of extension) through their affiliate program.
2./ Yes.
3./ This would be a question you should ask eBay.
4./ Some people say it's working, some people say it's not working. I haven't had a chance to install a 3.6.8 test board, so I cannot confirm.

ETDC 09-26-2007 12:05 PM

Quote:

Originally Posted by Dismounted (Post 1347444)
1./ This will rewrite any eBay links (regardless of extension) through their affiliate program.

Thanks. :) I'm an affiliate of .co.uk - Would I need an affiliate scheme with .com to receive payment from eBay.com links? Probably not your bag, granted, but it'll take days to get an answer from eBay I expect!

bplinson 09-26-2007 07:02 PM

Um.....will it rewrite ebay links from vbPortal RSS feeds?

ETDC 09-26-2007 07:46 PM

Will install when stable and confirmed for 3.6.8

:)

Dismounted 09-27-2007 05:41 AM

Quote:

Originally Posted by ETDC (Post 1347465)
Thanks. :) I'm an affiliate of .co.uk - Would I need an affiliate scheme with .com to receive payment from eBay.com links? Probably not your bag, granted, but it'll take days to get an answer from eBay I expect!

Last time I checked, they run through the same affiliate system.
Quote:

Originally Posted by bplinson (Post 1347713)
Um.....will it rewrite ebay links from vbPortal RSS feeds?

Yes, it should.

ETDC 09-27-2007 07:16 AM

Installed and appears to be working on 3.6.8.

If this thing is successful, you'll have some bux comin' your way! :)


All times are GMT. The time now is 02:59 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.01321 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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