Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 179
Total: 179

Author Topic: Rotating Image URLs  (Read 2672 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
3894 Views
Last post July 05, 2008, 10:58:56 pm
by musicman8oh8
10 Replies
7738 Views
Last post July 23, 2009, 07:42:15 pm
by SMFHacks
2 Replies
3039 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
8 Replies
3940 Views
Last post January 03, 2018, 02:40:26 pm
by SMFHacks
7 Replies
4236 Views
Last post March 07, 2019, 11:23:09 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

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

Powered by EzPortal