View Full Version : Miscellaneous Hacks - ForumYield Affiliate Link and Keyword Rewriter for Commission Junction, Amazon, eBay
We are pleased to announce the free release of ForumYield Affiliate Rewriter
Boost your forum's profit with three or more different streams of income when you implement the Forum Yield Affiliate Rewriter.
When members enter Amazon, eBay, or Commission Junction links in their posts, they are automatically rewritten with your Affiliate ID in the link for that particular network.
eBay links, it adds your Campaign ID
Amazon Links it adds your Associate ID
Commission Junction links it adds your PID
You can also have it rewrite posts so keywords or phrases of your choice will be affiliate links from these or different networks. Case sensitivity may be turned on or off in the settings.
A popular use of the keyword rewriting section is to link keywords to the search form of your affiliate's website with your affiliate id this way you can have it search for numerous different product names automatically when they click the link with each search term changed to the keyword.
If you have users with premium memberships who do not wish to see the keywords rewritten, you can disable keyword rewriter for those groups in the settings.
Requires import of a single xml file, no uploads to the filesystem.
<i>No Files Uploaded.</i>
ryanv66
09-16-2009, 10:32 PM
This is exactly what I'm looking for. However, I had to uninstall because it's buggy:
1. I can't edit my post with the link in it.
2. I get this error on the top of newreply.php "Warning: strpos() [function.strpos]: Empty delimiter in [path]/includes/class_bbcode.php(2463) : eval()'d code on line 42"
What version of vBulletin are you using and have you tried disabling all the other plugins?
I just tested it on a fresh install of both 3.6.8 and 3.8.1 im about to test on the latest 3.8
I just did a fresh install of 3.8.4 and tested it, I got no errors upon editing the post with the links in it nor did I get an error on newreply...
Kolbi
09-18-2009, 02:15 PM
How many ressources does this addons need?
How could I find out? All it does is add a plugin with a function in it that is called when the bb code parser parses a URL... then the function takes text of the url and link of it and detects what type of link it is and adds corresponding id's...
ryanv66
09-19-2009, 12:30 AM
I'm using 3.8.4. It's a fresh install with 'automatic thread tagger" plugin.
chaoyueh
09-19-2009, 09:16 PM
This is exactly what I'm looking for. However, I had to uninstall because it's buggy:
1. I can't edit my post with the link in it.
2. I get this error on the top of newreply.php "Warning: strpos() [function.strpos]: Empty delimiter in [path]/includes/class_bbcode.php(2463) : eval()'d code on line 42"
I got same problem, too
any solution?
Thanks
I use 3.8.2
AzzidReign
09-20-2009, 05:57 PM
I've been waiting for something like this for a LONG time now. Hopefully it works well. I've tried various other things in the past that didn't work. *crosses fingers*
I will be installing it once my site can load (f**king ddosers...)
Kolbi
09-21-2009, 02:38 AM
A short question, can eBay DE be added?
Kolbi
09-21-2009, 02:42 AM
I get on a blank installation following error:
Warnung: strpos() [function.strpos]: Empty delimiter in [path]\includes\class_bbcode.php(2463) : eval()'d code (Zeile 42)
Warnung: strpos() [function.strpos]: Empty delimiter in [path]\includes\class_bbcode.php(2463) : eval()'d code (Zeile 43)
I tried the "Go Advanced" function...
Ahh I think I figured out what the problem was
It would use strpos to see if it the associate or whatever id is already in the url to know whether its rewritten already or not and if the box was empty, php gave a warning message
So I made it only do a strpos if those boxes are not empty. :)
Also I have added DE to the list
It also does modifications only if it can find the url
Hopefully that will fix it I am about to re-upload the product in a minute
Kolbi
09-21-2009, 05:47 PM
Another bug I found.
Is it possible that the keyword rewriting doesn?t parse a URL-BB-Code?
I had for example:
Thermoflaschen and http://cgi.ebay.de/Reer-Edelstahl-Warmhaltebox-fuer-Nahrung-350-ml-NEU_W0QQitemZ380156002600QQcmdZViewItemQQptZDE_Bab y_Kind_Babypflege_Fl%C3%A4schchen?hash=item5883104 128&_trksid=p3286.c0.m14 was printed out without an clickable bb-code...
And is it normal that this rewriting (keyword) only is available with a new thread?
And not with a reply?
I just put a new fix for urls that were being wordwrapped were having double spaces put into them also i tested it with someones really colorful link-filled signature to make sure the bbcode would appear in the text
The official support forum is here: http://www.forumyield.com/forum/forumdisplay.php?f=5
And is it normal that this rewriting (keyword) only is available with a new thread?
How do you mean? If you do this as admin and remove 6 from the list of blocked rewriting groups it should work in both newthread and newreply
Kolbi
09-21-2009, 06:49 PM
Incredible...
there is no ID inserted but it doesn´t work well.
I have uploaded a new version
chaoyueh
09-23-2009, 01:10 AM
Thanks for great mod
I have tried amazon affiliate link and find one problem.
The first link (http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUT F8%26rs%3D284507%26ref%255F%3Dsr%255Fhi%26bbn%3D33 1401011%26qid%3D1253470179%26rh%3Dn%253A1055398%25 2Cn%253A%252113900811%252Cn%253A%25211063496%252Cn %253A331401011%26page%3D1&tag=gobun-20&linkCode=ur2&camp=1789&creative=390957) is a working link with one tag-id inside. After using rewriter, it adds one more tag id when the tag-id in the original link does not match what mod has. Therefore, the second link (http://www.amazon.com/exec/obidos/redirect?link_code=ur2&camp=1789&tag=acfgk-20&creative=9325&path=http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUT F8%26rs%3D284507%26ref%255F%3Dsr%255Fhi%26bbn%3D33 1401011%26qid%3D1253470179%26rh%3Dn%253A1055398%25 2Cn%253A%252113900811%252Cn%253A%25211063496%252Cn %253A331401011%26page%3D1&tag=gobun-20&linkCode=ur2&camp=1789&creative=390957) includes two different tag-id which generates conflict and cannot open Amazon web page. The problem only occurs when the link lead to the page with multiple products.
In addition, it seems to me, the mode does not try to replace any tag. However, this function is important since users may copy and paste link from other website which includes their own tag-id. We may want to remove their affiliate information and substitute with our own tag-id.
By the way, do you plan to add Google affiliate and link share? I really love to see these functions.
Again, thanks for your effort.
http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUT F8%26rs%3D284507%26ref%255F%3Dsr%255Fhi%26bbn%3D33 1401011%26qid%3D1253470179%26rh%3Dn%253A1055398%25 2Cn%253A%252113900811%252Cn%253A%25211063496%252Cn %253A331401011%26page%3D1&tag=gobun-20&linkCode=ur2&camp=1789&creative=390957
http://www.amazon.com/exec/obidos/redirect?link_code=ur2&camp=1789&tag=acfgk-20&creative=9325&path=http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUT F8%26rs%3D284507%26ref%255F%3Dsr%255Fhi%26bbn%3D33 1401011%26qid%3D1253470179%26rh%3Dn%253A1055398%25 2Cn%253A%252113900811%252Cn%253A%25211063496%252Cn %253A331401011%26page%3D1&tag=gobun-20&linkCode=ur2&camp=1789&creative=390957
chaoyueh
09-24-2009, 05:56 PM
find one more problem
When I post an article, the mod rewrites my url but also adds one image (associated with that partner) in front of the link (see attachment). After I edit that article and delete the image, the image does not show up again. Any solution for this problem?
Thanks for your help
Kolbi
10-07-2009, 07:26 PM
Keyword Rewriting still doesn´t work for me...
lilfields10
10-13-2009, 07:04 PM
I get the error: Call to undefined function: str_ireplace() in /forums/includes/class_postbit.php(294) : eval()'d code on line 70
I'm running 3.8.4
Edit: It's not the mod, I forgot to change the .htaccess to enable PHP5 when I upgraded the forum software from 3.6 to 3.8
pelicanparts
10-26-2009, 07:09 PM
The header on this page says it's version 2.0.0, but when I download and install from the link, it's only 1.0.0?
-Wayne
Coop1979
10-28-2009, 07:35 PM
I'm having 1 of 2 problems with links... either the link does not redirect anywhere and it just ends up being a blank page, or it redirects to a "Sorry, the link you clicked is no longer active" message. Both are using solely the CJ integration.
Thoughts or ideas?
rootshell-vb
11-03-2009, 01:52 PM
Thanks for this gr8 mod
Broso
11-21-2009, 08:15 PM
hallo,
Have Problems with ForumYield Affiliate Rewriter
When user give link
Example:
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=120455304283 oder so http://cgi.ebay.de/ws/eBayISAPI.dll?...=STRK:MEWAX:IT oder so
http://cgi.ebay.de/ws/eBayISAPI.dll?...fvi%3D1&_rdc=1
Not work ???
Only this link work. http://cgi.ebay.de/Sport-Fahrwerk-30...item27ac35768a
Can Help PLZ
mhackl
11-25-2009, 07:27 PM
I received this email a few days ago. Guess ebay partner network doesn't like this mod. I'm very angry with ebay for not even letting me know that there was a problem first; this is how I funded my site. I've attempted to reply to the email to get more answers, but I've gotten no response as of yet.
[3090-5712111144] Cookie Stuffing Violation- AC20
Dear Publisher,
During a recent review, we found that you have violated the ePN Code of Conduct. We have determined that your promotional method involves stuffing eBay cookies and/or directing users to eBay without their consent. This type of behavior is prohibited. Therefore your account has been terminated and 100% of your pending commissions will be reversed. You are not permitted to rejoin the eBay Partner Network.
As stated in the ePN Code of Conduct section (A), these practices are prohibited.
(A) Non-Bona Fide Transactions:
1.You will not cause any transactions to be made that are not in good faith, including but not limited to using invisible methods to generate impressions, clicks or transactions that are not initiated by the affirmative action of an end user, or using any cookie, device, program, robot, Iframe or hidden frame, pop-up window or any other operation or process that interferes with our ability to properly identify and track transactions.
2.You will not deliver any ePN-related cookies or other tracking tags to the computers of users that are merely viewing your advertisements or while your applications are merely active or open.
3.You will not interfere with or seek to improperly influence the referral of an end user to Participating Sites and Content unless the end user knowingly and explicitly consents to that behavior by taking an affirmative action.
4.You and your Agents will not click on Promotional Content containing your own Tracking Code.
Sincerely,
The eBay Partner Network Quality Team
----------------------------------
eBay Partner Network sent this administrative communication to you because you are registered on the eBay Partner Network. If you have any questions, please visit the eBay Advertiser Terms and Conditions, Network Agreement, ePN Code of Conduct, and ePN Privacy Policy.
Copyright (c) 2009 eBay Partner Network Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. eBay and the eBay Logo are trademarks of eBay Inc.
I would disable this plugin if your running it and rebuild post cache. I removed it until we get updated with the new Ebay impression serving path.
Scalemotorcars
11-25-2009, 09:15 PM
Im thinking about adding this but I need one more bit of functionality.
Can you make this so that RSS posts from Ebay and Amazon are also linked to the Ebay , Amazon and so on affiliate ID's.
If you can pull that off Ill be more then happy to make a donation. :D
I just did a bunch of fixes on the mod and re-uploaded as version 3.0.
Kolbi
11-30-2009, 05:32 PM
Can I get banned from ePN still yet?
zombietom
12-09-2009, 04:39 PM
What would make the rewrite work on some of my forums and not others?
Ok it seems to be because i'm the admin but not sure
UPDATE: Seems the rewritter is not working now for some reason,it may just be for me (admin) but i will keep a check on it and see if i can provide any useful info
thanks
robdawg
12-10-2009, 11:36 PM
This mod should be removed immediately. This is definitely against the TOS for eBay and all other affiliate networks.
Already had one user's account terminated from eBay. Maybe we need a couple more before this becomes a problem. But cloaking or changing links to make it look like something else is not going to fly with eBay and they are quick to terminate accounts.
Im still using it :D The new update added a ebay tracking tag thing, also to reply to something above, I believe it does both posts and threads when it rewrites...
Kolbi
02-02-2010, 06:33 PM
How much users have been kicked by epn for using this method?
zombietom
02-03-2010, 06:27 PM
@Kolbi -I've not had any problems of being kicked from affiliated programs...been using it for about 4 months or better now. Just don't do an overkill and make it rewrite every word as a link and you should be fine.
Kolbi
02-04-2010, 10:13 AM
Is a vB4 version planned?
Kolbi
02-04-2010, 10:42 AM
Why does in your rewritten ebay urls never appears the pub id?
And why do you use the java version of the individuell link?
Use the HTML version because it is xhtml valid!
Is there we possibility to save the keyword replacements in the database and not only overwrites it then viewing the topic?
I mean the replacement should be safed and not be loaded every time.
Huy Ho?ng
02-10-2010, 12:41 PM
Uninstall because used for 4.0
kevinmanphp2
02-13-2010, 04:21 PM
This mod should be removed immediately. This is definitely against the TOS for eBay and all other affiliate networks.
Already had one user's account terminated from eBay. Maybe we need a couple more before this becomes a problem. But cloaking or changing links to make it look like something else is not going to fly with eBay and they are quick to terminate accounts.
Could you elaborate as to why you think this is against the TOS of affiliate networks? This isn't link cloaking... it's link masking.. which isn't against the rules...
Would you mind elaborating a bit on your stance or the TOS's? Thanks.
ketusa
02-17-2010, 06:23 AM
im waiting new update for my vbb4 forum. pls do it :D
I have updated some of the parsing on eBay links and also noticed lately that I have to try multiple advertiser id's for advertisers on CJ to make sure it will go to the correct URL when you click on it (one advertiser can have multiple AID numbers, so find the right one or their URLs wont work.)
Jdubz31
04-12-2010, 02:09 AM
I keep getting white-pages on my links? Any clue what this could be? or what I am missing?
I have updated some of the parsing on eBay links and also noticed lately that I have to try multiple advertiser id's for advertisers on CJ to make sure it will go to the correct URL when you click on it (one advertiser can have multiple AID numbers, so find the right one or their URLs wont work.)
....?? Also, sometimes CJ Advertiser ID's that you get working will break and you have to update them. I don't mean put in multiple numbers of AID's for one advertiser into the program, you put one AID per CJ Advertiser, but the AID must work and there are multiple ones, and some don't work.
With keyword rewriter, if your testing it, do not enter one keyword per line, you must have them between other words so it can determine the keyword based on it having spaces on each side. If there was no space checking, it would rewrite partial words.
creativepart
04-17-2010, 06:17 PM
Keith, I'm still having problems with the Ebay Rewriter and I'd like to disable Epn rewrites and use another rewriter. Can you advise how to remove just the Ebay part and keep the CJ and Amazon rewrites????
Thanks
creativepart
04-17-2010, 06:25 PM
For those worried about EPN TOS and this mod it is NOT in any way against their policies. I've used this and others for a couple of years now. I have a EPN rep of my own and he has told me personally that Ebay is fine with this kind of Rewrite mod.
What would be against their TOS is anything that set an EPN cookie on a users system when the user doesn't actually visit Ebay. IN other words. If a cookie was set just by visiting a post in VB with an EPN link -- and if the cookie was set from within VB and not from within Ebay. THAT would be against EPN's TOS. But if a link in a VB post takes the user to Ebay's website and the cookie is set only when the user clicks that link within VB then they are fine with that.
I hope that distinction makes sense. Using this or other EPN rewirte mods DOES NOT get anyone banned from EPN. But there are plenty of other things you could do that will indeed get you banned.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.