Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Has this been done?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sam Conder
Starting Member

USA
9 Posts

Posted - 01 October 2005 :  08:58:43  Show Profile  Visit Sam Conder's Homepage  Send Sam Conder an AOL message  Reply with Quote
I'm searching for a MOD that will evaluate all links in a new post or reply and append some text to the end of the URL if it is linking to a certain domain. For example...

If someone types "www.blahblah.com" into a post or reply, when it gets written to the database (and subsequently displayed) it will be "www.blahblah.com/?afid=567GH" but if they post any url other than a "blahblah.com" one, it will not get appended.

This is for an affiliates link situation.

If this has not been done, is there anyone willing to give it a try?

Thanks in advance,<

Sam Conder
http://www.bt3central.com


Edited by - Sam Conder on 01 October 2005 10:23:34

laser
Advanced Member

Australia
3859 Posts

Posted - 01 October 2005 :  10:10:33  Show Profile  Reply with Quote
Hasn't been done that I know of, but fairly simple to do I would guess<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 October 2005 :  08:47:13  Show Profile  Reply with Quote
If you want to do this with specific URLs only, you could (ab)use Snitz's bad word filter to replace domain.tld/ with domain.tld/?querystring

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Sam Conder
Starting Member

USA
9 Posts

Posted - 03 October 2005 :  09:35:50  Show Profile  Visit Sam Conder's Homepage  Send Sam Conder an AOL message  Reply with Quote
quote:
Originally posted by Shaggy

If you want to do this with specific URLs only, you could (ab)use Snitz's bad word filter to replace domain.tld/ with domain.tld/?querystring





Good thought, but wouldn't work. Sometimes it would be domain.tld/thispage.cfm?prod_id=9382746223&sid=af432. I would want to append to the end of that as long as domain.tld matched what I wanted.<

Sam Conder
http://www.bt3central.com

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 03 October 2005 :  16:21:13  Show Profile  Reply with Quote
Why wouldn't that work :

Bad word : (the F word) gets changed to ****
Bad word : domain.tld gets changed to domain.tld/thispage.cfm?prod_id=9382746223&sid=af432<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 October 2005 :  08:16:15  Show Profile  Reply with Quote
Laser, I think what Sam wants to do is append an affiliate id to any URI within a specific domain. E.G., domain.tld/ would need to replaced with domain.tld/?afid=ID and domain.tld/page.asp?querystring would need to be replaced with domain.tld/pages.asp?querystring&afid=ID

Using the bad word filter to acheive this would mean that Sam would have to enter every page his members could link to along with a seperate entry for every possible querystring combination. If it's a big site, it's going to be quite a tedious process.

One way to do it woud be to use the functions that process URIs in inc_func_common.asp to check for the presence of domain.tld, / and ? and append his affiliate ID as necessary. Unfortunately, that'd be quite a big job, moreso if there's more than one domain.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Sam Conder
Starting Member

USA
9 Posts

Posted - 04 October 2005 :  08:19:07  Show Profile  Visit Sam Conder's Homepage  Send Sam Conder an AOL message  Reply with Quote
Bingo Shaggy. There is actually only two domains that I would like to accomplish this for...<

Sam Conder
http://www.bt3central.com

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 October 2005 :  08:51:10  Show Profile  Reply with Quote
OK, gimme a day or 2 to clear this backlog of work I have here and I'll see what I can throw together for you.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Sam Conder
Starting Member

USA
9 Posts

Posted - 04 October 2005 :  08:51:42  Show Profile  Visit Sam Conder's Homepage  Send Sam Conder an AOL message  Reply with Quote
Thanks Shaggy.<

Sam Conder
http://www.bt3central.com

Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 04 October 2005 :  11:04:52  Show Profile  Visit AnonJr's Homepage  Reply with Quote
quote:
Originally posted by Shaggy

OK, gimme a day or 2 to clear this backlog of work I have here and I'll see what I can throw together for you.





Using regular expressions might make it easier....

I'd offer some help, but I'm still fighting with the sub-forums and a small download issue<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 October 2005 :  11:13:09  Show Profile  Reply with Quote
Probably would be but, unfortunately, I'm still too ropey with them to be able to work with them confidently. I'll throw my code up later in the week and maybe someone else can edit it to use RexExps.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

rpainter
Junior Member

USA
153 Posts

Posted - 04 October 2005 :  17:53:39  Show Profile  Visit rpainter's Homepage  Reply with Quote
I don't know if it is an option, but I have a MOD that allows your users to post Amazon links and it will automatically insert your details. It can be downloaded here:

http://www.atomicwebstudio.com/snitz/snitz-bible-quote-amazon-affiliate-mod.asp<

Rusty Painter
Learn to Cook REAL BBQ
SCBBQtalk.com
Monkey Boy's BBQ Sauce
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 30 November 2008 :  18:22:32  Show Profile  Visit garyrobar's Homepage  Reply with Quote
I've currently got a mod in (custom built myself) that inserts "rel=nofollow" for any external links....(Which means that with this mod, you can effectively target internal vs. external domains linked in your post.

As for the amazon question - i'm developing the bb code for that now...is there any interest in that?

if so, please email me garyrobar@gmail.com - sucks that this forum doesn't allow subscriptions...<

SEO For Snitz Forum
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 01 December 2008 :  03:57:54  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
quote:
Originally posted by garyrobar

sucks that this forum doesn't allow subscriptions...



Subscribe the RSS feed to your RSS reader (like Google Reader) and pay attention to the messages with this topic name ... taht is how I track it <

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 01 December 2008 :  14:42:38  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Neither RSS or Subscriptions help you keep up with a topic from 2005... <
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07