![]() |
How do I randomize the filename/directory of a file the way this article suggests?
We've had a problem of users continually posting Youtube videos with that horrible, evil autoplay function, so I'm channeling my inner Hammurabi in making a creative punishment. I'm making a forum style that autoplay users will be restricted to, and I want to have an annoying mp3 playing in the background at all times. Unfortunately, if I just embed the mp3, the user can just adblock it and move on. But this article:
http://robrohan.com/2007/09/14/howto...resistant-ads/ has a great idea, to randomize the filename and directory. The author even gives code that will do this. However, having no experience coding, I have no idea how it would be applied to vBulletin. I'm running 3.8.3. Thanks! |
interesting stuff.., I do some php coding but that web server stuff is beyond me.
|
Would this fit better in Programming Discussions then?
|
Probably but multiple posts on the same topic are frowned upon... I'd just wait and hope a mod moves it.
|
Does this not intrigue anyone? This would make for a neat code rewrite or plugin.
|
Desperate bump for attention. :/
|
If a user has adblock enabled, there is a mod to tell them to turn it off before browsing the forum.
|
All times are GMT. The time now is 03:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|