SMFHacks.com

Ad Seller Pro => Support => Topic started by: coyote on August 05, 2019, 12:17:55 pm

Title: Rotating Image URLs
Post by: coyote on August 05, 2019, 12:17:55 pm
Anyway to cause the ad image URL to change randomly in order to prevent ad blocking?

Thanks
Title: Re: Rotating Image URLs
Post by: SMFHacks on August 05, 2019, 12:35:15 pm
You can use a custom php ad code.
Put inside either a list of differnet image urls then rotate via that way.
Title: Re: Rotating Image URLs
Post by: coyote on August 05, 2019, 12:38:17 pm
Well I'm not sure how to do that but if it's a list, then it can still be blocked, right?
Title: Re: Rotating Image URLs
Post by: SMFHacks on August 05, 2019, 12:41:26 pm
Yeah each one would have to be blocked. If someone is going to do that though you probably won't get any ad revenue from them anyway.
Title: Re: Rotating Image URLs
Post by: coyote on August 05, 2019, 12:44:24 pm
That's not really the point for my site. The ads are shown to all non-contributing members. It's amazing how many will pay to have them removed, so keeping them visible is a good thing. Add on ad blockers will easily remove them if the image URL stays constant though.

I don't write much code but it seems as though it might not be that difficult to have the url "made up" each time a page load is done but still load from one location. But IDK
Title: Re: Rotating Image URLs
Post by: SMFHacks on August 05, 2019, 02:04:04 pm
When you say url made up. You meaning the image url?
Or the link they click on the image?
Title: Re: Rotating Image URLs
Post by: coyote on August 05, 2019, 04:23:24 pm
The url for the image itself. I can periodically change the folder the ad graphic images are in but it's a pita.
Title: Re: Rotating Image URLs
Post by: SMFHacks on August 05, 2019, 04:26:57 pm
I would do something with mod_rewrite and create a dynamic image filesnames/folders names.