Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
eBay Partner Network Links by ForumSetup.net Details »»
eBay Partner Network Links by ForumSetup.net
Version: 1.00, by tpearl5 tpearl5 is offline
Developer Last Online: Aug 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 10-05-2014 Last Update: Never Installs: 14
Uses Plugins
Additional Files  
No support by the author.

eBay Partner Network Links will automatically rewrite links (on the fly) to eBay that contain your EPN ID's. Existing links that you've created will not be overwritten and any special linking parameters will be maintained.

Features:
  • Turn the whole mod on/off
  • Inserts EPN tracking pixel under ebay link
  • Automatically rewrites based on EPN program (ebay.it, ebay.de, ebay.ca, etc)
  • Exclude certain usergroups
  • Include/Exclude specific forums
  • Exclude specific styles
  • Rewrite links in PM's

Installation:
  • Unzip the package
  • upload functions_ebay_links.php to your includes directory
  • Install the product XML
  • Navigate to Settings > Options > eBay Partner Network Links to set your IDs and other options

Note: The mod will not work without BOTH your EPN ID and campain ID filled in.

Enjoy!

Download Now

File Type: zip eBay_Partner_Network_Links-1.0.zip (3.7 KB, 63 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
tbworld, tommyxv

Comments
  #2  
Old 10-06-2014, 02:15 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB3?
Reply With Quote
  #3  
Old 10-06-2014, 04:43 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reece^B View Post
vB3?
It should work, give it a try.
Reply With Quote
  #4  
Old 10-06-2014, 07:55 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will do tomorrow, does Skimlinks require disabling too?
Reply With Quote
  #5  
Old 10-06-2014, 11:36 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reece^B View Post
Will do tomorrow, does Skimlinks require disabling too?
It shouldn't, no. As far as I know they will not rewrite affiliate links.
Reply With Quote
  #6  
Old 12-10-2014, 05:07 PM
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you offer the option to set target="_blank" so the link opens in a new tab instead of taking the user off site? All non-ebay links open in a new tabs for me. Some of my members are asking for this. Thanks
Reply With Quote
  #7  
Old 12-10-2014, 11:35 PM
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I figured it out. Does this look right?

Code:
//build new link
				$out[1][$i] = 'http://rover.ebay.com/rover/1/' . $programid . '/1?pub=' . $vbulletin->options['ebay_links_partnerid'] . '&campid=' . $vbulletin->options['ebay_links_campid'] . $customid . '&toolid=10001&mpre=' . urlencode($out[1][$i]) . '" target=\"_blank\">
Reply With Quote
  #8  
Old 12-11-2014, 12:07 AM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tommyxv View Post
I think I figured it out. Does this look right?

Code:
//build new link
				$out[1][$i] = 'http://rover.ebay.com/rover/1/' . $programid . '/1?pub=' . $vbulletin->options['ebay_links_partnerid'] . '&campid=' . $vbulletin->options['ebay_links_campid'] . $customid . '&toolid=10001&mpre=' . urlencode($out[1][$i]) . '" target=\"_blank\">

Try replacing that line with this:
PHP Code:
$out[1][$i] = 'http://rover.ebay.com/rover/1/' $programid '/1?pub=' $vbulletin->options['ebay_links_partnerid'] . '&campid=' $vbulletin->options['ebay_links_campid'] . $customid '&toolid=10001&mpre=' $out[1][$i] . '" TARGET="_blank"><img style="text-decoration:none;border:0;padding:0;margin:0;" src="http://rover.ebay.com/roverimp/1/' $programid '/1?pub=' $vbulletin->options['ebay_links_partnerid'] . '&toolid=10001&campid=' $vbulletin->options['ebay_links_campid'] . $customid '&mpt=[CACHEBUSTER]'
Reply With Quote
  #9  
Old 12-11-2014, 12:10 AM
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't see the php code box, can you re-post it using code /code

Nevermind, I just copy and pasted in dreamweaver to see it all.
Reply With Quote
  #10  
Old 12-11-2014, 12:16 AM
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, i tested it and it works both ways. Does it matter which one I use?

Code:
TARGET="_blank"
OR
Code:
target=\"_blank\"
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 07:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09294 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete