I have currently joined WSNLinks and WSN forum and have them sharing the member list. That is working fine, you can sign up on either side and get into the other side with no problem. However, there is weirdness when uploading an avatar.
If you upload an avatar in forum and then go to links, links' backend member area cannot see the avatar. If you then post an avatar at in links and go back to the forum side, your old avatar is gone and there is no new one on the forum side.
What I assume is happening is because links is in the main directory and the forum is in the subdirectory /forum/, there is a reference in the datafile to the avatar image that is relative to the point where the avatar is added and where the avatar is being requested ie: the forum avatar puts its location as attachments/avatars and leaves off the /forum/ and so when you are in the main directory it looks in attachments/avatars in the main directory and doesn't find anything.
Is there some way to make the avatar posting be an absolute reference so that is doesn't get confused on where to look for the avatar image? Thanks!
If the avatar is in the other script, the script you're using has no idea where that other script is. You can specify it by using <img src="siteurl/avatars/{AVATARNAME}">
I'll see if I can automate it by pulling the dirurl setting from the other script.
Comments on sharing avatars between links and forum
Beginner
Usergroup: Customer
Joined: Jan 03, 2007
Total Topics: 4
Total Comments: 8
I have currently joined WSNLinks and WSN forum and have them sharing the member list. That is working fine, you can sign up on either side and get into the other side with no problem. However, there is weirdness when uploading an avatar.
If you upload an avatar in forum and then go to links, links' backend member area cannot see the avatar. If you then post an avatar at in links and go back to the forum side, your old avatar is gone and there is no new one on the forum side.
What I assume is happening is because links is in the main directory and the forum is in the subdirectory /forum/, there is a reference in the datafile to the avatar image that is relative to the point where the avatar is added and where the avatar is being requested ie: the forum avatar puts its location as attachments/avatars and leaves off the /forum/ and so when you are in the main directory it looks in attachments/avatars in the main directory and doesn't find anything.
Is there some way to make the avatar posting be an absolute reference so that is doesn't get confused on where to look for the avatar image? Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If the avatar is in the other script, the script you're using has no idea where that other script is. You can specify it by using <img src="siteurl/avatars/{AVATARNAME}">
I'll see if I can automate it by pulling the dirurl setting from the other script.
Experienced
Usergroup: Customer
Joined: Jul 28, 2005
Total Topics: 30
Total Comments: 55
Thanks for bringing this up. I'm having this problem, too.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Avatar sharing is automated now, but I don't think I've made a release since then.