I devised a very crude fix for this, as i just wanted them to update. Instead of the Client (UniUploader or web browser) loading the URL, i have forced siggen to load the url upon the trigger. This will update your profiles only, it won’t refresh the who’s guild list. If a guild member wants his avatar updated, he/she must do it themselves.
This isn’t ideal by any means, as it is placing un-necessary strain on the web server, but until the problem is fixed its usable.
In roster/addons/siggen/trigger.php find:
- Code: Select all
// Run this on a character update
if( $mode == 'char' )
{
if( $SigGenConfig['signature']['trigger'] )
{
print 'Saving Sig-[ <img src="'.$roster_conf['roster_dir'].'/addons/siggen/sig.php?etag=0&name='.urlencode(utf8_decode($member_name)).'" width="75" height="16" alt="" /> ]';
}
if( $SigGenConfig['avatar']['trigger'] )
{
print ' Saving Avatar-[ <img src="'.$roster_conf['roster_dir'].'/addons/siggen/av.php?etag=0&name='.urlencode(utf8_decode($member_name)).'" width="19" height="16" alt="" /> ]';
}
}
Replace with: (change YOUR URL.com to your domain)
- Code: Select all
// Run this on a character update
if( $mode == 'char' )
{
if( $SigGenConfig['signature']['trigger'] )
{
$temp = fopen('YOUR URL.com/roster/addons/siggen/sig.php?etag=0&name='.$member_name, "r");
print 'Saving Sig-[ <img src="'.$roster_conf['roster_dir'].'/addons/siggen/sig.php?etag=0&name='.urlencode(utf8_decode($member_name)).'" width="75" height="16" alt="" /> ]';
fclose($temp);
}
if( $SigGenConfig['avatar']['trigger'] )
{
$temp = fopen('http://www.YOUR URL.com/roster/addons/siggen/av.php?etag=0&name='.$member_name, "r");
print ' Saving Avatar-[ <img src="'.$roster_conf['roster_dir'].'/addons/siggen/av.php?etag=0&name='.urlencode(utf8_decode($member_name)).'" width="19" height="16" alt="" /> ]';
fclose($temp);
}
}
Do not make this edit for the Guild update, or the script will be loading all the images of the guild into it. This is 2 much data. But i dont see a problem with just loading the avatar and signature for the current profile.
Would like to stress once more, this is a temp fix, if you dont care if siggen is updating with UniUploader, just ignore this post
Any response would be appreciated.