Ebay parser

Ebay parser [Paid] 2.2

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Ebay parser - Adds eBay campaign ID's to links in messages.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

The Ebay parser add-on is used to convert eBay item links immediately after a...

Read more about this resource...
 
This may be obsolete now. eBay Partner Network now offers a code snippet to put in the head tags (PAGE CONTAINER Template) that will re-write any eBay link on the page with your EPN ID number.
 
Hey Andy, I believe I found a bug in the eBay Parser. If you have to itm URLs your regex will match all the text between the frist tag of the first url and the last tag of the last url, and replace it with a single link, resulting in all the text after the first URL being deleted.

E.g. If you have


words
words
words

https://www.ebay.com/itm/172412011436

more words
more words
more words

https://www.ebay.com/itm/172412011436

You'll end up with just:


words
words
words

https://www.ebay.com/itm/172412011436

ETA: the second URL doesn't even have to be a eBay URL - will happen with any URL
 
Thanks for releasing this, @AndyB. For our Xenforo 2 migration, we need to replace SneakyDave's comprehensive URL parser here: https://xenforo.com/community/resources/solidmean-comprehensive-url-parser.3746/ because he is not migrating it for XF2.
The settings for ebay seem to be more complicated. For example,
links to ebay.com
are replaced with
Code:
https://rover.ebay.com/rover/1/711-53200-19255-0/1?pub=5574929384&toolid=10001&campid=5336714961&mpt={cachebuster}&mpre={encoded_url}

I assume this addon can't support the above?
 
Is this true?

"If I had to hazard a guess, AndyB has added a new field to one of our core database tables and done so using the wrong collations (some best practices have likely been bypassed to achieve that)."

Is this addon not coded using best practices?
 
Is this true?

"If I had to hazard a guess, AndyB has added a new field to one of our core database tables and done so using the wrong collations (some best practices have likely been bypassed to achieve that)."

If I had to hazard a guess, AndyB has added a new field to one of our core database tables and done so using the wrong collations (some best practices have likely been bypassed to achieve that).

Is this addon not coded using best practices?

I guess you don't know the answer?
 
Last edited:
Is this true?

"If I had to hazard a guess, AndyB has added a new field to one of our core database tables and done so using the wrong collations (some best practices have likely been bypassed to achieve that)."

Is this addon not coded using best practices?

Had this addon added a new field to the core database tables and done so using the wrong collations? An answer would be appreciated. :)
 
The Ebay parser add-on is used to convert eBay item links immediately after a message is saved. The converted links will include your eBay campaign ID.

FYI:

If I am reading this correctly, all the old links will be dead after March 31st. (or just won't generate any more revenue) This is the reason why I've always felt the on-the-fly conversion when clicked was better.

elinks.webp
 
Top Bottom