Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: jack001 on January 02, 2018, 05:21:53 AM

Title: link posted will pass through a website
Post by: jack001 on January 02, 2018, 05:21:53 AM
Is there a way in which if anyone click on the link posted in forum, it will visit an add and then redirect to the link. By default it has to go through a page before visiting the link. Is there anything like this?
Title: Re: link posted will pass through a website
Post by: Kindred on January 02, 2018, 07:01:59 AM
I have not seen a mod like that...   but omg, i would not do that if I was you.  People will stop clicking on links or flee your site in droves, since that you are looking to do is one of the most obnoxious tactics in existence...
Title: Re: link posted will pass through a website
Post by: Arantor on January 02, 2018, 07:10:26 AM
Facebook does it too but solely for analytics.

I can see uses for warnings that people are leaving the site and I can see it screwing up SEO as well.

Curious what the use case here is.
Title: Re: link posted will pass through a website
Post by: Aleksi "Lex" Kilpinen on January 02, 2018, 07:12:38 AM
Specifically for redirect pages within SMF, there is a mod that you could modify to do what you want perhaps Redirect Links (http://custom.simplemachines.org/mods/index.php?mod=3688)
Title: Re: link posted will pass through a website
Post by: vbgamer45 on January 02, 2018, 09:43:19 AM
That mod could be used for it as a base.  Not a fan of
$url = $_GET['url'];
header("Refresh: $time; url=$url");

Could be used for spam abuse.
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 10:51:38 AM
Quote from: Kindred on January 02, 2018, 07:01:59 AM
I have not seen a mod like that...   but omg, i would not do that if I was you.  People will stop clicking on links or flee your site in droves, since that you are looking to do is one of the most obnoxious tactics in existence...
Yes you've a point. I'll reconsider it. Thanks.
Quote from: Arantor on January 02, 2018, 07:10:26 AM
Facebook does it too but solely for analytics.

I can see uses for warnings that people are leaving the site and I can see it screwing up SEO as well.

Curious what the use case here is.
I'm looking to find a way to earn. Is this not a good idea?
Quote from: Aleksi "Lex" Kilpinen on January 02, 2018, 07:12:38 AM
Specifically for redirect pages within SMF, there is a mod that you could modify to do what you want perhaps Redirect Links (http://custom.simplemachines.org/mods/index.php?mod=3688)

Thanks, but still little confused with using it. I'll install it tomorrow and see what it can do.
Title: Re: link posted will pass through a website
Post by: Arantor on January 02, 2018, 10:52:01 AM
How exactly do you envisage this earning you money?
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 10:52:49 AM
Quote from: vbgamer45 on January 02, 2018, 09:43:19 AM
That mod could be used for it as a base.  Not a fan of
$url = $_GET['url'];
header("Refresh: $time; url=$url");

Could be used for spam abuse.
How can it be used for spamming? Ok understood. Yeah a point.
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 10:57:12 AM
Quote from: Arantor on January 02, 2018, 10:52:01 AM
How exactly do you envisage this earning you money?
Not sure right now but I've seen in few blogs where on clicking a link redirects to a website where we're suppose to wait for 30sec and then it'll ask to redirect to our url. Just like YouTube does and the mod shared by Aleksi.
Title: Re: link posted will pass through a website
Post by: Arantor on January 02, 2018, 11:03:00 AM
How do you as a user like being treated like that?
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 11:11:09 AM
Quote from: Arantor on January 02, 2018, 11:03:00 AM
How do you as a user like being treated like that?
yeah. Understood your point. I am looking a good way to monetize and pay for host and domain. Don't want to show ads but just this.
Title: Re: link posted will pass through a website
Post by: vbgamer45 on January 02, 2018, 11:15:43 AM
I use viglink and have some tips at https://www.smfhacks.com/monetize-your-smf-forum-and-website.html
Basically they only work if you have ebay/amazon links and some other ecommerce link that your users post.
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 11:19:34 AM
Quote from: vbgamer45 on January 02, 2018, 11:15:43 AM
I use viglink and have some tips at https://www.smfhacks.com/monetize-your-smf-forum-and-website.html
Basically they only work if you have ebay/amazon links and some other ecommerce link that your users post.
So cool. Will be taking a look at it. Thanks.
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 11:34:23 AM
Viglink package error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. on smf 2.0.15

ok i am able to  install it but unable to verify if its working. on checking viglink it keeps saying

"VigLink was not detected, but this might help:

Using an ad blocker? Disable it and try again.
Make sure the code is installed on that page. (We only check this page, not other pages on the same site.)
Check that the "key" value exactly matches the one above."
Title: Re: link posted will pass through a website
Post by: vbgamer45 on January 02, 2018, 12:02:24 PM
You can just add the code they give you into your template files as well.
Title: Re: link posted will pass through a website
Post by: jack001 on January 02, 2018, 12:07:59 PM
Quote from: vbgamer45 on January 02, 2018, 12:02:24 PM
You can just add the code they give you into your template files as well.
I am not good at coding, i saw the codes they provided but which template files do i have to paste it? i did entered the viglink api key after installing mod. wont that work? dont know much about it.
Title: Re: link posted will pass through a website
Post by: vbgamer45 on January 02, 2018, 12:49:31 PM
it should if not index.template.php or you can use the global headers footers mod to insert the code.