[Solved]: wrong path [Solved]: wrong path
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: wrong path

Started by Halfhidden, May 18, 2008, 02:29:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Halfhidden

After installing your mod I noticed that avatars were not showing up in Coppermine. Instead I saw a box with a red x, the path to the avatar was incorrect and I cannot find a solution for this. I've searched the forum and looked through the code but cannot find the path.
I'm using smf as a forum so the avatar is in smf>avatar
But I noticed that the mod has been looking for the avatar as smf>smf>avatar
where do I correct this please ?

Stramm

from the announcement thread
QuoteOf course bridged versions use PM and avatar system of the forum. Due to how SMF works only the 'hosted' avatars get considered here.
http://forum.coppermine-gallery.net/index.php/topic,28367.0.html

Somewhere in the modpack forum a user has posted a hack how to make user uploaded avatars work.

Halfhidden

Thanks Stramm,
I got the avatars working and sharing with the forum and vice versa. Now members have the one avatar that is used in all posts forum or gallery. Just puzzled as to why the path became repeated.
I'll hunt down the hack.
Thanks again.
Regards,
Steff

Stramm

Can I mark this as solved then?

Halfhidden

Yes....please. I hunted down the hack but it didn't help. But I discovered that the path to the avatar is set in the sql database under the table gpg14x_bridge. I altered this to reflect the directory that the avatars were stored in. I wanted to have some avatars that were kept for administrator or moderator use, so I put them in a sub directory within the avatar directory and changed the attributes so's that the folder cannot be seen, but can be read.
The end results were that I have avatars that work in the forum and gallery..... with certain avatars protected to prevent others from choosing them.

Regards,
Steff

Stramm

Usually you set the path to the avatars in the bridge manager. That's easier than messing with the db and is part of the bridging process.

Halfhidden