Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Rewrite eBay Links Details »»
Rewrite eBay Links
Version: 1.4, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 04-06-2007 Last Update: 10-12-2008 Installs: 186
Uses Plugins
Additional Files  
No support by the author.

Rewrite eBay Links

Description:
This mod rewrites eBay links so they link to an affiliate.

Request:
Requested in a paid deal by brookelyn, this modification's idea can also be accredited to brookelyn. Also requested by various other members.

Installation:
All the installation information is in the package.

Changes:
2 Plugins
1 File

Supporters / CoAuthors

Show Your Support

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

Comments
  #102  
Old 10-25-2007, 09:10 PM
ferreo ferreo is offline
 
Join Date: Oct 2004
Location: New York City
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this plugin to death. Just installed it on the 18th of this month and the commission's been rocking hard. Now it's time for the next Revenue Share Tiers.

I approve of this plugin.



Thanks a bunch.

P.S. If I could now find out how to modify the code to hide the aff link from mouseovers without having the ebay links break quoted posts, my life would be complete.
Reply With Quote
  #103  
Old 10-25-2007, 11:06 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, I'm running the wrong board!
Reply With Quote
  #104  
Old 10-26-2007, 04:34 AM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seriously. thats crazy cash.

i thought i was doing good with 8-10 a day. lol
Reply With Quote
  #105  
Old 10-26-2007, 10:02 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ferreo View Post
I love this plugin to death. Just installed it on the 18th of this month and the commission's been rocking hard. Now it's time for the next Revenue Share Tiers.

I approve of this plugin.



Thanks a bunch.

P.S. If I could now find out how to modify the code to hide the aff link from mouseovers without having the ebay links break quoted posts, my life would be complete.
Great to see that you're earning (a lot ) from my modification. You can't really hide the links when "mouseovering" as this is an effect of the browser, and I have no control over it.
Reply With Quote
  #106  
Old 11-10-2007, 01:33 PM
NickCat NickCat is offline
 
Join Date: Mar 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the following error.

Code:
Warning: parse_url(http://c:\documents) [function.parse-url]: Unable to parse URL in /includes/init.php(329) : eval()'d code on line 107
When I disable the plug-in it goes away.

This is how it parses the invalid link:
http://C:\Documents and Settings\Nick\My Documents\My Pictures\2008 STI\53907-a-sub.jpg

Seems to be caused by URLS with spaces... and in this case a URL that was in fact a user trying to link to an image on his own HD.

I am running 3.6.8 PL2.

Thanks in advance.
Reply With Quote
  #107  
Old 11-11-2007, 03:52 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right now, the only way is to edit that link and strip our the url tags as I can suppress errors when using a callback function.
Reply With Quote
  #108  
Old 11-11-2007, 11:35 PM
NickCat NickCat is offline
 
Join Date: Mar 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Right now, the only way is to edit that link and strip our the url tags as I can suppress errors when using a callback function.
Bummer...

So there is no way you can tell you hack to just ignore parsing the link when it contains a space? Would it be possible to do a straight up initial regex check to see if the link contains the word ebay anywhere before attempting to rewrite.
Reply With Quote
  #109  
Old 11-12-2007, 04:13 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It already does that, if you look in the code, it checks for eBay URL via regex.
Reply With Quote
  #110  
Old 11-12-2007, 09:56 AM
thebigman87 thebigman87 is offline
 
Join Date: Oct 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible for this Mod to be used for other stores, except Ebay, I'm installing it when I get back from work. However looks a great plugin, just curious as to whether it could or you plan to extend it to other online stores?

As most affiliate links seem to follow a similar pattern....

eg. http://{affilate_url}/{unique_id}?DURL={Original URL}
Reply With Quote
  #111  
Old 11-12-2007, 06:01 PM
NickCat NickCat is offline
 
Join Date: Mar 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
It already does that, if you look in the code, it checks for eBay URL via regex.
Hmmm... why would it attempt to convert a URL that does not have ebay in the title though? Could it be a combination of issues encountered within vB when it sees a URL with a space in it? Could the RegEx be failing entirety because of the space in the URL?
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 11:13 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.08112 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (3)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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