Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12412
Latest: geyknvyy
New This Month: 2
New This Week: 1
New Today: 1
Stats
Total Posts: 39951
Total Topics: 7034
Most Online Today: 43
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

Author Topic: Rotating Image URLs  (Read 459 times)

0 Members and 1 Guest are viewing this topic.

Offline coyote

  • Newbie
  • *
  • Posts: 25
    • View Profile
Rotating Image URLs
« 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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14980
    • View Profile
Re: Rotating Image URLs
« Reply #1 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Rotating Image URLs
« Reply #2 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14980
    • View Profile
Re: Rotating Image URLs
« Reply #3 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Rotating Image URLs
« Reply #4 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
« Last Edit: August 05, 2019, 12:46:12 pm by coyote »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14980
    • View Profile
Re: Rotating Image URLs
« Reply #5 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?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Rotating Image URLs
« Reply #6 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14980
    • View Profile
Re: Rotating Image URLs
« Reply #7 on: August 05, 2019, 04:26:57 pm »
I would do something with mod_rewrite and create a dynamic image filesnames/folders names.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
10 Replies
6276 Views
Last post July 23, 2009, 07:42:15 pm
by SMFHacks
2 Replies
6903 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry
2 Replies
1732 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
8 Replies
1603 Views
Last post January 03, 2018, 02:40:26 pm
by SMFHacks
7 Replies
1008 Views
Last post March 07, 2019, 11:23:09 pm
by SMFHacks

+- Recent Topics

https://www.worldhealthcart.com/ketovatru/ by geyknvyy
Today at 04:10:14 am

hashTags only used by admins, but visible to everyone? by SMFHacks
December 08, 2019, 05:09:23 pm

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

Powered by EzPortal