I found that the forum software doesn't like affiliate links from Commission Junction, specifically those that redirect the user to an individual page.
I have the CMS/Portal mod installed and wanted to use it to showcase products that my audience would make use of.
Example: the code I tried using looks like this: [UR_L="neutered://qksrv.net/xxxxxxx-xxxxxxx?url=neutered://merchant.com?merchantlandingpage=productnum"]Link to product at merchant[/UR_L] (obviously one needs to change "neutered" to "http" for the links to work)
Basically, I ended up with links that look like this: <a href="neutered://qksrv.net/xxxxxxx-xxxxxxx?url=<a href=", etc.
The fix?
Around line 133 in the "inc_func_common.asp" file, one needs to change
fString = ChkURLs(fString, "http://", 1)
fString = ChkURLs(fString, "https://", 2)
fString = ChkURLs(fString, "www.", 3)
fString = ChkMail(fString)
fString = ChkURLs(fString, "ftp://", 5)
fString = ChkURLs(fString, "file:///", 6)
to this:
fString = ChkURLs(fString, " http://", 1)
fString = ChkURLs(fString, " https://", 2)
fString = ChkURLs(fString, " www.", 3)
fString = ChkMail(fString)
fString = ChkURLs(fString, " ftp://", 5)
fString = ChkURLs(fString, " file:///", 6)
You don't lose "automatic link generation" functionality (as long as your audience can remember to put a space before their links) and the affiliate links work, too.
I invite comments and criticism.