Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 99
Total: 99

Author Topic: Rotating Image URLs  (Read 2664 times)

0 Members and 1 Guest are viewing this topic.

Offline coyote

  • Member
  • *
  • Posts: 46
    • 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: 16428
    • 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

  • Member
  • *
  • Posts: 46
    • 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: 16428
    • 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

  • Member
  • *
  • Posts: 46
    • 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: 16428
    • 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

  • Member
  • *
  • Posts: 46
    • 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: 16428
    • 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
2 Replies
3888 Views
Last post July 05, 2008, 10:58:56 pm
by musicman8oh8
10 Replies
7732 Views
Last post July 23, 2009, 07:42:15 pm
by SMFHacks
2 Replies
3030 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
8 Replies
3933 Views
Last post January 03, 2018, 02:40:26 pm
by SMFHacks
7 Replies
4203 Views
Last post March 07, 2019, 11:23:09 pm
by SMFHacks

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal