Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12401
Latest: kilenearth
New This Month: 6
New This Week: 1
New Today: 1
Stats
Total Posts: 40617
Total Topics: 7134
Most Online Today: 105
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 83
Total: 83

Author Topic: Rotating Image URLs  (Read 1107 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: 15295
    • 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: 15295
    • 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: 15295
    • 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: 15295
    • 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
6649 Views
Last post July 23, 2009, 07:42:15 pm
by SMFHacks
2 Replies
7232 Views
Last post June 21, 2012, 08:16:38 am
by mjindustry
2 Replies
1953 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
8 Replies
2098 Views
Last post January 03, 2018, 02:40:26 pm
by SMFHacks
7 Replies
1700 Views
Last post March 07, 2019, 11:23:09 pm
by SMFHacks

+- Recent Topics

Forum ToolBox by Monocero
Today at 02:36:45 am

New error with 5.0.3c by davejo
Today at 01:04:23 am

Error after php upgrade by SMFHacks
January 26, 2021, 01:45:25 pm

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
January 20, 2021, 10:21:25 pm

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Powered by EzPortal