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)

ferreo 10-25-2007 09:10 PM

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.

https://vborg.vbsupport.ru/

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.

ETDC 10-25-2007 11:06 PM

Damn, I'm running the wrong board! :eek:

briansol 10-26-2007 04:34 AM

seriously. thats crazy cash.

i thought i was doing good with 8-10 a day. lol

Dismounted 10-26-2007 10:02 AM

Quote:

Originally Posted by ferreo (Post 1368668)
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.

http://img139.imageshack.us/img139/7069/ebaymp2.gif

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 :eek:) 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.

NickCat 11-10-2007 01:33 PM

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.

Dismounted 11-11-2007 03:52 AM

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.

NickCat 11-11-2007 11:35 PM

Quote:

Originally Posted by Dismounted (Post 1380135)
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.

Dismounted 11-12-2007 04:13 AM

It already does that, if you look in the code, it checks for eBay URL via regex.

thebigman87 11-12-2007 09:56 AM

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}

NickCat 11-12-2007 06:01 PM

Quote:

Originally Posted by Dismounted (Post 1380799)
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?


All times are GMT. The time now is 12:46 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.01440 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (3)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