Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
fury
Worker
Worker



Joined: Sep 09, 2003
Posts: 165

PostPosted: Tue Sep 16, 2003 8:13 pm Reply with quote

I would like to startfrom scratch on the avatart setup to allow the avatar chosen in the nuke profile to be the one displayed in the Forum profile
i have the root paths set properly but i would like to make sure
thanks
SF
 
View user's profile Send private message
fury







PostPosted: Tue Sep 16, 2003 9:34 pm Reply with quote

ok is set up correct and ready for instruction to make it work
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Sep 17, 2003 4:28 am Reply with quote

I have mine working and I can't remember how Laughing. I haven't responded because I've been trying to figure out what I did. I am going to do a fresh install of nuke 6.9 and then try to figure it out and I will let you know. It seems I just made a change to one file somewhere.
 
View user's profile Send private message
fury







PostPosted: Wed Sep 17, 2003 6:25 pm Reply with quote

I thought it was in the Your_Account/index.php changing the path to the avatar gallery but it didnt work the first time i tried but i may have messed it up
thanks
 
Raven







PostPosted: Thu Sep 18, 2003 5:37 pm Reply with quote

I will be looking at this tonight - at least it's in my plans to look at your issue and Blith's, since they are probably related.
 
Raven







PostPosted: Thu Sep 18, 2003 5:52 pm Reply with quote

Give this a try. In modules/Your_Account/index.php, on or about line 266 find this line
Code:
   if (ereg("(http)", $userinfo[user_avatar])) { echo "<img src=\"$userinfo[user_avatar]\"><br>\n"; } elseif ($userinfo[user_avatar]) { echo "<img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\"><br>\n"; }

and change it to
Code:
   if (ereg("(http)", $userinfo[user_avatar])) { echo "<img src=\"$userinfo[user_avatar]\"><br>\n"; } elseif ($userinfo[user_avatar]) { echo "<img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\"><br>\n"; }


That corrected the avatar image not appearing in Your Account.
 
Raven







PostPosted: Thu Sep 18, 2003 11:13 pm Reply with quote

See this for the REAL fix.

http://www.ravenphpscripts.com/modules.php?name=Forums&file=viewtopic&t=184#857
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©