Webmastersite.net
Register Log In

sharing avatars between links and forum

Comments on sharing avatars between links and forum

tormenta
Beginner

Usergroup: Customer
Joined: Jan 03, 2007

Total Topics: 4
Total Comments: 8
Posted Jan 25, 2007 - 4:40 PM:

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!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 26, 2007 - 9:27 PM:

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.
jsflinks
Experienced

Usergroup: Customer
Joined: Jul 28, 2005

Total Topics: 30
Total Comments: 55
Posted Feb 03, 2007 - 11:43 PM:

Thanks for bringing this up. I'm having this problem, too.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 04, 2007 - 10:58 AM:

Avatar sharing is automated now, but I don't think I've made a release since then.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.