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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-08-2003, 12:26 PM   #1
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
Sig Rules Script

This might help...

[?php
$sig_URL = "../../../sig.gif,jpg,swf";
$sig_dim = getimagesize($sig_URL);
$calc = $sig_URL[0] * $sig_URL[1];

if($calc >= "7201") {
echo "Your Sig Is Tooooo Big!";
}
php?]

It would need to be modified a bit to find/replace the images in the sig code, but, it's a start.
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 02:49 PM   #2
funkmaster
So Fucking Banned
 
Join Date: Sep 2001
Location: shell beach
Posts: 7,938
BeYouAmPee
funkmaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 03:18 PM   #3
3Xguru
Confirmed User
 
Join Date: Sep 2001
Location: Iasi
Posts: 1,281
I think I have seen some 60X480 sigs here.
A script lke this would be usefull
__________________
-=Free Webmaster Tools=-
3Xguru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 03:19 PM   #4
Fletch XXX
GFY HALL OF FAME DAMMIT!!!
 
Fletch XXX's Avatar
 
Join Date: Jan 2002
Location: that 504
Posts: 60,840
Quote:
Originally posted by 3Xguru
I think I have seen some 60X480 sigs here.
A script lke this would be usefull
thats the flaw of the script though.

some 460 banners are allowed.

so it conflicts with lens rules for paid advertisers ya know.

__________________

Want an Android App for your tube, membership, or free site?

Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com - recent work - About me
Fletch XXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 04:37 PM   #5
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
Hmm... Maybe adding a database of paid advertisers, that the sig script checks to see if they are valid, and if so, then it allows the 468x60 sigs, otherwise it displays the "Too Big" text.
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 04:52 PM   #6
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally posted by Voodoo
This might help...

[?php
$sig_URL = "../../../sig.gif,jpg,swf";
$sig_dim = getimagesize($sig_URL);
$calc = $sig_URL[0] * $sig_URL[1];

if($calc >= "7201") {
echo "Your Sig Is Tooooo Big!";
}
php?]

It would need to be modified a bit to find/replace the images in the sig code, but, it's a start.
Since sigs contain more than an image, you'd need regexps to find the pics.
Also, $sig_URL[0] and $sig_URL[1] should be $sig_dim[0] and $sig_dim[1]
Besides that, calculation seems unnecessary - just check if either width or height is higher than it's supposed to be. A 1*7200 image would then also be killed
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2003, 05:04 PM   #7
Lensman
GFY Chaperone
 
Lensman's Avatar
 
Join Date: Jan 2001
Location: Adult.com
Posts: 9,846
Excellent idea, I'll have one of my programmers put it in next week!
Lensman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.