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
porcupinepc
Involved
Involved



Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Mon Nov 03, 2003 10:19 am Reply with quote

On my site some users avatar is blank and i would like to change it. How is this done?

Some links say this:

http://www.porcupinepc.com/forums/modules/Forums/images/avatars/gallery/blank.gif

Some links say this:

http://www.porcupinepc.com/forums/modules/Forums/images/avatars/

You can see the top 10 posters on my site:

www.porcupinepc.com/forums
 
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Nov 03, 2003 3:31 pm Reply with quote

First of all, make sure that you copy blank.gif to
modules/Forums/images
modules/Forums/images/avatars
modules/Forums/images/avatars/gallery

Then, to change a user's avatar, go into Forum Admnistration and select UserAdmin/Management. Then put the name of the user in the Select User block. Scroll to the bottom and select his avatar for him Smile
 
View user's profile Send private message
porcupinepc







PostPosted: Mon Nov 03, 2003 5:00 pm Reply with quote

Quote:
Then, to change a user's avatar, go into Forum Admnistration and select UserAdmin/Management. Then put the name of the user in the Select User block. Scroll to the bottom and select his avatar for him

I did as you mentioned and there was nothing there to allow me to change the avatar. All there was was the follwing:

Avatar control panel


Here you can see and delete the user's current avatar.
Current Image

Delete Image

A check box. Thats it.

Puzzling

Joe
 
Raven







PostPosted: Mon Nov 03, 2003 5:50 pm Reply with quote

Sorry. I was thinking admins could change the avatar on that screen. Too many late nights Rolling Eyes
 
porcupinepc







PostPosted: Mon Nov 03, 2003 7:41 pm Reply with quote

would you happen to know of any other way to accomplish this?

Joe
 
Raven







PostPosted: Mon Nov 03, 2003 7:55 pm Reply with quote

Try this. Using phpMyAdmin, edit the nuke_users table and change the user_avatar field of one of your users that is now blank to blank.gif. Check in Forum Admin to verify that it now shows up. If so, then use phpMyAdmin, select the SQL window, and issue this query
Code:
UPDATE nuke_users 

set user_avatar = 'blank.gif'
where user_avatar ='';

Make sure that you have copied blank.gif to the folders as I wrote before.

Be sure to back up the table beforehand!!
 
porcupinepc







PostPosted: Mon Nov 03, 2003 8:13 pm Reply with quote

cool. the code has worked. However, i still can't change the users avatar in the Admin screen. This would be a great add on in future versions.

Joe

www.porcupinepc.com/forums
 
Frogger
Worker
Worker



Joined: Oct 06, 2003
Posts: 108

PostPosted: Wed Nov 05, 2003 10:39 pm Reply with quote

If I may....

All I did was create my own version of blank.gif and uploaded it to the directories mention above and each user that doesn't choose an avatar automatically gets assigned mine.

In retrospect, the member then chooses one more suitable to their profile. Evil or Very Mad

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
porcupinepc







PostPosted: Thu Nov 06, 2003 7:54 am Reply with quote

Thanks Frogger!

I uploaded my company logo (Porcupine)Works fine.
However, if you ever find a program that allows admins to change a users avatar, let me know.

Joe

www.porcupinepc.com/forums
 
Raven







PostPosted: Thu Nov 06, 2003 7:57 am Reply with quote

You know you can just edit the users table and change it there, right? Also, you can use my MySQL Utility to make it even easier Wink
 
porcupinepc







PostPosted: Thu Nov 06, 2003 10:27 am Reply with quote

thanks Raven: thats all i wanted to know was how to change the avatar.

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