Just a quick update, had a stupid problem with one of the sites that i couldnt understand and it wasnt until spending a good 6-7hrs over 24hrs looking into the problem that i found it, thankfully not something i was responsible for, external file include() seems to be the cause so i've had chance to look into something that didnt seem to be working right with this script.
Avatars...
It seems phpBB3 and phpBB2 operate differently for avatars, previously it'd be a direct URL now its shortened and made dynamic?
Actual avatar URL: [mydomain] /phpbb3/download.php?avatar=g3_1179887212.png
Displayed avatar URL: [mydomain] /phpbb3/images/avatars/upload/g3_1179887212.png
line 256:
Code:
$return = $this->CONF['url'] . "images/avatars/upload/" . $avatar;
To
Code:
$return = $this->CONF['url'] . "download.php?avatar=" . $avatar;
&
line 262:
Code:
$return = $this->CONF['url'] . "images/avatars/gallery/" . $avatar;
To:
Code:
$return = $this->CONF['url'] . "download.php?avatar=" . $avatar;
Im not 100% sure on the 2 forms of avatar to be honest, so far i've only worked off avatars uploaded from HDD, not from the gallery, however i'd imagine the same method would be called.
Again, Thanks for the great work putting both this phpBB3 class together in time for launch and the time put into the script on the whole, certainly makes things easier for me and people using the sites.