Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
01-06-2016, 06:07 AM | #1 |
Registered User
Industry Role:
Join Date: Aug 2015
Posts: 30
|
Displaying Banners on Desktop Only
Does anyone know the code to insert in a script to have flash banners display on desktop only, and vice versa?
It annoys me a great deal that some banners aren't visible well on mobile devices. |
01-06-2016, 08:01 AM | #2 |
VIP
Industry Role:
Join Date: Jul 2013
Posts: 22,105
|
Flash is pretty much dead. You should use gif or html banners.
__________________
|
01-06-2016, 09:59 AM | #3 |
Registered User
Industry Role:
Join Date: Aug 2015
Posts: 30
|
You're right. Some sponsors unfortunately don't adapt too well. Means we're better off creating banners ourselves.
|
01-06-2016, 10:45 AM | #4 |
The one and the only
Industry Role:
Join Date: Aug 2015
Posts: 633
|
yeah, soon all networks will have to look for alternatives. To me, GIF banners are the most simple and compatible with everything.
Html5 is also a good alternative. |
01-08-2016, 01:02 PM | #5 |
Nick Baer
Industry Role:
Join Date: Jun 2005
Location: In Europe. Using high speed Internet to update my studios.
Posts: 1,343
|
If you check $_SERVER['HTTP_REFERER'], you can get the device. It is human readable, but you do need to look:
20160101002707, /Coach-Karl.php, 98.180.178.34, Coach-Karl.com - Naked Muscle on Home DVD and eBooks, ^ Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 |98.180.178.34,US,United States,NV,Nevada,Las Vegas,89169,America/Los_Angeles,36.17,-115.14,839 20160101204451, /index.php, 66.249.64.31, , ^ Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +Googlebot - Search Console Help) |66.249.64.31,US,United States,CA,California,Mountain View,94043,America/Los_Angeles,37.42,-122.06,807 20160107134147, /PolandJocks/ThePolandJocks.php, 86.204.176.36, The Poland Jocks - Naked Muscle from Waersaw on Home DVD and eBooks, ^ Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Lumia 435; Orange) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537 |86.204.176.36,FR,France,D,Bourgogne,Fixin,21220,E urope/Paris,47.25,4.97,0
__________________
Made my first porno in 1986. Sold my first VHS in 1993. Did my first live Cam in 1994. Coach-Karl.com NickBaerGallery.com I host with MojoHost.com and To Buy or Sell Sites Imagine AI Content |