PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

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

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
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

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

ok is set up correct and ready for instruction to make it work
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

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

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

See this for the REAL fix.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum