Hi, I have Searched this Problem But have not found the solution hence i created the issue.
The avatars are not appearing in the phpbb forums
Path Of Avatars in Drupal : files/pictures/
Path of Avatars In Phpbb : images/avatars
Thanks for this amazing module. Keep up the good work.

Comments

arkepp’s picture

You need to make them in a way that makes the webbrowser think of them as the same. Check the path to an image as Drupal describes it, then check the HTML phpBB produces and compare.

Add ../ to "go up one level" or make the paths more similar, as necessary.

See the example at http://kepp.net/drupal/

perke’s picture

first of all, thanks for a great module... I succesfully instaled it and works nice...but i have a same avatar issue here too...
I set the path for avatar storage in phpbb admin to ../ but for some reason it doesnt save it... always goes back to files/pictures/
so the source shows path to pic is like files/pictures/files/pictures/picture-1.gif

I've bee trying different combos in phpbb settings like enabling remote avatars and disabling uploading but no luck

is there any way to fix this?

perke’s picture

Update: avatars fixed. had to delete .htacess from /forum to set up a correct path in phpbb. uploaded .htacess again and all is fine now.

image signatures are also working, using quicktags module in drupal and enabled bbcode input format and added img to allowed tags. also allowed html in phpbb (onlu added img tag as well)

hope someone can find this usefull

again, tnx for this module

arkepp’s picture

Assigned: Unassigned » arkepp

I'm glad you got it working, because I had no input on the issue.

Can you say what was wrong with the .htaccess file? Was it the one that was distributed or changes you had made?

unbeliever’s picture

Having the same issue as perke. Everything is working dandy except for the avatars.

phpbb would never save the changes (../) I made to the avatar path and always reverted to default (images/avatars).

changing it to ../files/pictures does save the new path, but is moot since it then looks for the avatars at files/pictures/files/pictures.

I tried removing the .htaccess like perke to make the changes, but still php will not let me save the path as ../

Anyways, still tinkering around with it, we'll see.

arkepp’s picture

I am not sure why I haven't encountered that check. It could be a built-in path function in PHP that varies between installations. In phpBB 3.x it appears to be enforced regardless of PHP version.

Two options:
1) Edit the phpBB configuration through phpMyAdmin to avoid checks for "..", the value is in the phpbb_config table.

2) Do like the updated instructions for phpBB3 suggests, http://kepp.net/phpbb3/ , make Drupals "files" directory a subdirectory of the forum.

jpfeifer’s picture

I got this working, simply by changing the value within phpMyAdmin instead of trying to do it from the administration area.

It's under the "config" table in your phpBB database. Loaded up my forum, and the avatar is there!

jonahan’s picture

Yup, this worked for me.

Note that if you're using imagecache to deal with avatars, you can link to those images. The path I put into the config_value of phpBB was:

/files/imagecache/userimage_profile/files/images/

"../" in front didn't work. Thanks to all for this great info!

avpaderno’s picture

Assigned: arkepp » Unassigned
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since Drupal 5.x is now not supported.