First suggestion:
It would be a lot cleaner to go through if all results with "no image" could be hidden.
Noticed a few glitches so far:
On a few I get
Signature Removed - Only One Image is Allowed.
There's no setting in the file for amount of images allowed, and the code further down is confusing! Having it look up usergroup[sigmaximages] (if possible) or just making it an option at the top with the rest would be awesome!
When the image isn't found, I get messages similar to the following:
Quote:
Warning: fsockopen() [function.fsockopen]: unable to connect to img165.imageshack.us:80 (Connection timed out) in /xxx/admincp/signaturecheck.php on line 106
|
Quote:
Warning: getimagesize(http://imageurlhere.com) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /xxx/admincp/signaturecheck.php on line 156
|
Is that normal? The script is working fine by detecting a 404, I'm just not sure it's supposed to be returing those errors.
My forums.domain.com is turned into forums.domain.com/forum for the result URL.
Changing line 65 to this should fix it no matter what your base URL is:
Code:
echo "<a href='/member.php?u=$mysql_row[userid]'>$mysql_row[userid]</a> $check_result <br />";
I'll keep toying with it!