Page Index Toggle Pages: 1 [2] 3 4 ... 20 Send TopicPrint
Very Hot Topic (More than 25 Replies) Users Avatars Upload v1 (Read 68558 times)
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #15 - Apr 25th, 2006 at 7:40pm
Print Post  
I can upload an avatar, but I can't find anything in the Admin Center to make changes.
I manualy updated the UsersAvatars.txt file
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Users Avatars Upload v1
Reply #16 - Apr 25th, 2006 at 7:50pm
Print Post  
Hi
do you have upload AdminIndex.pl ?
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #17 - Apr 25th, 2006 at 8:16pm
Print Post  
Hi

Set in path for forum directory like:
$boarddir = ".";
$boardsdir = "./Boards";
$sourcedir = "./Sources";
$admindir = "./Admin";

etc...

Set full path in $facesdir

Set full path for URL like:
$facesurl = "http://mf-b.ru/images/scripts/yabb/Avatars";
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #18 - Apr 25th, 2006 at 8:22pm
Print Post  
I found the solution.   Smiley

I changed AdminSubList.pl

old:

Quote:
'usersavatars',"../$sourcedir/UsersAvatars.pl&UsersAvatarsSET",
'usersavatars2',"../$sourcedir/UsersAvatars.pl&UsersAvatarsSET2",

new:
Quote:
'usersavatars','../Sources/UsersAvatars.pl&UsersAvatarsSET',
'usersavatars2','../Sources/UsersAvatars.pl&UsersAvatarsSET2',
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #19 - Apr 25th, 2006 at 8:26pm
Print Post  
This is because I couldn't use the default paths on mine server.
Mine sourcedir looks likes this:
Quote:
$sourcedir = "/home/httpd/web05053/scripts/forum/Sources";


Thanks for the help !
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #20 - Apr 25th, 2006 at 8:47pm
Print Post  
And...

'usersavatars3',"../$sourcedir/UsersAvatars.pl&UsersAvatarsSET3",

???
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #21 - Apr 26th, 2006 at 5:41am
Print Post  
MF-B wrote on Apr 25th, 2006 at 8:47pm:
And...

'usersavatars3',"../$sourcedir/UsersAvatars.pl&UsersAvatarsSET3",

???


I can't find that line in the mod in this topic...
I think its better to use "Sources" instead of "$sourcedir" in the mod.
Perhaps other users can have the same problem.
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #22 - Apr 26th, 2006 at 9:08am
Print Post  
Hi
Ooops Grin
I'am sorry, this line (usersavatars3) include in next version for this mod Grin

Use "Sources" not better. Many users change dir name (for more forum protection).

Better - make two file .pl for this mod. One upload in Sources folder, another upload in Admin folder. Then mistakes will not be.

Probably I rewrite this mod on two files, in other version Wink
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #23 - Apr 26th, 2006 at 10:58am
Print Post  
It's strange that you put "../" before the string.
The string $sourcedir suppose to include the full path.

I made a Dutch translation for this mod, should I post it here?
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #24 - Apr 26th, 2006 at 1:58pm
Print Post  
Default $sourcedir set in Path.pl - "./Sources"
Script set is executed in directory Admin
Therefore it is necessary to rise on one level upwards, in root a script.


Thanks!!!
Post you Dutch translation, I add this in mod and upload new mod package in first post
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #25 - Apr 26th, 2006 at 3:51pm
Print Post  
Here it is.  Wink
  

UsersAvatars.zip ( 1 KB | Downloads )
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #26 - Apr 26th, 2006 at 4:22pm
Print Post  
Thanks!  8)
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #27 - Apr 30th, 2006 at 2:10pm
Print Post  
I still have one problem with the mod.  Undecided
If al user puts in a link to a image ( www.website.com/avatar.gif )
There is a blank.gif loaded instead of the avatar.gif
I think the problem is in the profile.pl
Any ideas ?
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Users Avatars Upload v1
Reply #28 - Apr 30th, 2006 at 2:32pm
Print Post  
If you forum hosting on www.website.com you use ONLY uploading Avatar
Read about mod info: "Only PERSONAL image can be used. No used another users avatars."
It means that you can use at the forum only uploaded avatar or taken with OTHER (not www.website.com) server on URL
  
Back to top
WWW  
IP Logged
 
spyderweb
New Member
*
Offline


visit www.spyderweb.n
l

Posts: 39
Joined: Apr 22nd, 2006
Re: Users Avatars Upload v1
Reply #29 - Apr 30th, 2006 at 3:46pm
Print Post  
Oh it's not a bug, it's a function.  Grin
I have to RTFM.
Thx
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 20
Send TopicPrint