Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: how to logo design
New This Month: 7
New This Week: 2
New Today: 1
Stats
Total Posts: 40076
Total Topics: 7055
Most Online Today: 42
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 44
Total: 44

Author Topic: Rotating Image URLs  (Read 629 times)

0 Members and 1 Guest are viewing this topic.

Offline coyote

  • Ad Seller Pro Customer
  • 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: 15040
    • 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

  • Ad Seller Pro Customer
  • 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: 15040
    • 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

  • Ad Seller Pro Customer
  • 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: 15040
    • 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

  • Ad Seller Pro Customer
  • 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: 15040
    • 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
6341 Views
Last post July 23, 2009, 07:42:15 pm
by SMFHacks
2 Replies
7019 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry
2 Replies
1771 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
8 Replies
1715 Views
Last post January 03, 2018, 02:40:26 pm
by SMFHacks
7 Replies
1222 Views
Last post March 07, 2019, 11:23:09 pm
by SMFHacks

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Powered by EzPortal