Avatar Issues

16 years 5 months ago #49447 by Ashes in the fall
Avatar Issues was created by Ashes in the fall
Firstly, thankyou for a brilliant piece of work!!! I have tried a while ago to intergrate CB / Joomla / phpBB ofcourse... unsuccessfully! But, after fireboard proved to be a heap of junk and full of bugs, i needed phpbb! So thankyou!!!

Anyway...

The avatar is set to show the image the person uploads to their profile in CB... and that works fine! But... they are too large! The thumbnail CB generates isn't though! It's perfect!!! (The thumbnail shown in the CB Login Module)

How could i link to this file instead?

Cheers,
Mike

Again thanks!

Please Log in to join the conversation.

16 years 5 months ago #49474 by geeffland
Replied by geeffland on topic Re:Avatar Issues
I am fairly sure that the login module reduces the picture size when shown...

Image size was one of the issues with the Avatar sync in v1.0.3... so temporarily it has been disabled in v2 Beta until I get time to make it more robust... So unfortuneatly I don't have a quick easy answer for you on the best way to get it to work as desired.

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

16 years 5 months ago #49511 by Ashes in the fall
Replied by Ashes in the fall on topic Re:Avatar Issues
Well i'm not sure exactly what module creates it... but it does generate a file name exactly the same except with 'tn' in front of the file name...

So, just wondering if you could somehow direct it to this file? Maybe even make it work the same but add tn infront of the file it looks for or something?

I don't know... im not a programmer of these sorts...

But the logic is there... and well makes sense to me lol

Where does the connector call the avatar from cb?

Please Log in to join the conversation.

16 years 5 months ago #49552 by geeffland
Replied by geeffland on topic Re:Avatar Issues
If all you want to do is use the tn image in phpbb then go into the phpbbconnector.php file

Find the sendavatartophpbb function

If the if statement just after the line
[code:1]// if there is a avatar URL present[/code:1]

add the characters "tn" after
[code:1]user_avatar_type='2', user_avatar='".$mos...[/code:1]
like
[code:1]user_avatar_type='2', user_avatar='tn".$mos...[/code:1]

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

16 years 5 months ago #49586 by Ashes in the fall
Replied by Ashes in the fall on topic Re:Avatar Issues
-edited... i resolved this issue

Post edited by: Ashes in the fall, at: 2007/11/07 01:38

Post edited by: Ashes in the fall, at: 2007/11/07 02:18

Please Log in to join the conversation.

16 years 5 months ago #49588 by Ashes in the fall
Replied by Ashes in the fall on topic Re:Avatar Issues
ok... i tried editing the file, but i couldn't find phpconnector.php

Im using the 2.0 beta version....

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.759 seconds