WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

sharing avatars between links and forum

Version: Latest
printPrint


sharing avatars between links and forum
tormenta
Beginner

Usergroup: Customer
Joined: Jan 03, 2007
Total Topics: 4
Total Posts: 8
Posted 01/25/07 - 02:40 PM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 01/26/07 - 07:27 PM:
quote post
#2
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="http://www.webmastersite.net/forums/siteurl/avatars/{AVATARNAME}">

I'll see if I can automate it by pulling the dirurl setting from the other script.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
jsflinks
Experienced

Usergroup: Customer
Joined: Jul 28, 2005
Total Topics: 32
Total Posts: 55
Posted 02/03/07 - 09:43 PM:
quote post
#3
Thanks for bringing this up. I'm having this problem, too.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 02/04/07 - 08:58 AM:
quote post
#4
Avatar sharing is automated now, but I don't think I've made a release since then.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.