Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
Girl
Hangin' Around


Joined: Jan 28, 2004
Posts: 27

PostPosted: Mon Aug 09, 2004 3:22 pm Reply with quote

Hey I tried searching the forums but nothing I found addresses what my problem seems to be.

If you edit your profile on the forum and go to show gallery at the bottom and select an avatar, then save. Then go back and do it again, the first avatar you selected goes missing from the directory and has to be re uploaded.

For example, I choose avatar 'funhat.gif' and save it. Then I say nah thats silly and I go back and make my avatar 'bsd.gif'. When you look at the gallery again funhat.gif wont be shown anymore, nor will it be in the FTP directory.

Any suggestions?

You can register and test this yourself to see what I mean : Only registered users can see links on this board! Get registered or login!

Thanks in advance.
 
View user's profile Send private message
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Mon Aug 09, 2004 3:28 pm Reply with quote

I'm sure theres a thread about this on here, have you tried a search on the site?

_________________
Classic Mini rules the bends & bends the rules!
[img] 
View user's profile Send private message
Girl
PostPosted: Mon Aug 09, 2004 3:55 pm Reply with quote

Yup...

Girl wrote:
Hey I tried searching the forums but nothing I found addresses what my problem seems to be.


I found several topics about avatars, but none were that they deleted themself if a user decided to stop using them. Seemed 90% of them were people having problems with the directory /gallery/ and the 2 seperate links to change the avatar for your profile.
 
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Aug 09, 2004 4:26 pm Reply with quote

Have you used Chatservs updates (links on the main page) I just tried on my 7.4 patched site and don't have this problem.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
chatserv
Member Emeritus


Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Mon Aug 09, 2004 5:42 pm Reply with quote

What version of Nuke?

This is one thing i have submitted twice to the phpBB group but it seems they don't like it for one reason or the other so the problem persists.

I think this fix applies to Nuke 6.9 and newer, open includes/user_cp_register.php and find 2 times:
Code:
if ( @file_exists(@phpbb_realpath('./' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'])) )

change to:
Code:
if ( @file_exists(@phpbb_realpath('./' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'])) && $userdata['user_avatar_type'] == USER_AVATAR_UPLOAD )
 
View user's profile Send private message Visit poster's website
Muffin
PostPosted: Mon Aug 09, 2004 6:58 pm Reply with quote

Sorry Girl I had a blonde moment lol
 
Girl
PostPosted: Mon Aug 09, 2004 7:14 pm Reply with quote

Thanks chatserv. You are the man! That did it. I just changed that line as you instructed. And tried changing my avatar about 10 times, and all the old chosen ones stayed in the directory, hooray!

Now if only I can figure out why my jump to and usergroup links dont point to the right places lol. Suppose I deserve it downloading a older and seems incomplete theme Smile~

Mr. Green Mr. Green THANKS SO MUCH!

Btw. Im using 7.4 nuke hehe
 
Girl
PostPosted: Mon Aug 09, 2004 7:15 pm Reply with quote

sixone... Do I even wanna know what your sig means
*blinks a few times*

RavensScripts

I love this place. You guys are always so helpful and quick. Smile
 
sixonetonoffun
PostPosted: Mon Aug 09, 2004 8:28 pm Reply with quote

Its a reflection of my eating habits and politics all in one. I'm all for the humane and ethical treatment of animals. My definition of humane and ethical doesn't mean I'll stop wearing or eating them.
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Mon Aug 09, 2004 10:02 pm Reply with quote

If Freud were alive today, Six would be his most [and possibly only] interesting study, beyond a shadow of a doubt.
 
View user's profile Send private message
Girl
PostPosted: Mon Aug 09, 2004 10:44 pm Reply with quote

lol
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

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 ©