Author |
Message |
BrianG
New Member


Joined: May 05, 2004
Posts: 7
|
Posted:
Wed May 05, 2004 9:22 am |
|
I am using Nuke 7.2
When a user deletes his Avatar, and does not replace it with something else.
They get the dreaded Red X.
Doesn't look like it points to anything but the Home Directory.
I looked in the Database at the users, and User Avatar type is set to 0.
Is there a way to make users that have it set to zero display a default Avatar instead of the Red X??
I've looked all over this forum for a fix to no prevail.
When I goto my Profile here at this site and delete my Avatar, it does not do it here.
So I was hoping you would have a quick fix for this.
Thanks Everyone. |
|
|
|
 |
BrianG

|
Posted:
Wed May 05, 2004 1:17 pm |
|
I put the uploaded avatar fixes in place from chatserv. That didn't change anything on this issue.
Just can't figure out why if you decide to delete the avatar in your profile, it is giving me a Red X..
Please help.. |
|
|
|
 |
BrianG

|
Posted:
Wed May 05, 2004 8:53 pm |
|
After searching all day I finially came up with this.
// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";
Goes into the Forum.cfg file.
Took care of it right away.
Why can't they just put this s**t in there to start with. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed May 05, 2004 10:13 pm |
|
Thanks for sharing this. Today has been a crazy day (more crazy than usual) and it's been hard to keep up with all the new posts  |
|
|
|
 |
blith
Client

Joined: Jul 18, 2003
Posts: 977
|
Posted:
Thu May 06, 2004 7:38 am |
|
So this is something I need to put into my cfg file then? Where does it go? I have the same setup and problem... |
|
|
|
 |
diabluntd
Hangin' Around

Joined: Mar 19, 2004
Posts: 31
|
Posted:
Thu May 06, 2004 7:10 pm |
|
oh my GOD you don't understand how much i love you!!!! This has been an issue for a long d*** time on our site and we'd tried EVERYTHING!
YOU RULE! THANK YOU SIR!!!!!!!!!!!!!!!!!!!!!!!!! |
|
|
|
 |
JGNYC
New Member


Joined: Oct 17, 2002
Posts: 5
|
Posted:
Thu May 06, 2004 7:11 pm |
|
THANK YOU!
This fix should be posted on the front page.
No more red x's!! |
|
|
|
 |
Raven

|
Posted:
Thu May 06, 2004 9:15 pm |
|
Ah yes, another sticky promotion. Thanks! |
|
|
|
 |
BrianG

|
Posted:
Thu May 06, 2004 9:39 pm |
|
Glad this info helped everyone!!!  |
|
|
|
 |
ballymuntrev
Hangin' Around

Joined: Mar 22, 2004
Posts: 49
|
Posted:
Fri May 07, 2004 5:30 am |
|
Just to add, in case anyone (like me) was confused, the code...
Code:// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";
|
goes into your .cfg file within your actual theme, so, for instance, in the subSilver theme there is a file there called subSilver.cfg edit that file and enter the above code in there somewhere, underneath the other "$images" lines would suffice I'm sure.
At least this is what I'm presuming and have just tried it myself and it's working
Thanks. |
|
|
|
 |
ballymuntrev

|
Posted:
Fri May 07, 2004 5:31 am |
|
Or "forums.cfg" file in your Theme itself. Actually that'd probably be preferred rather than changing the subSilver.cfg file  |
|
|
|
 |
blith

|
Posted:
Fri May 07, 2004 7:05 am |
|
ballymuntrev wrote: | Just to add, in case anyone (like me) was confused, the code...
Code:// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";
|
goes into your .cfg file within your actual theme, so, for instance, in the subSilver theme there is a file there called subSilver.cfg edit that file and enter the above code in there somewhere, underneath the other "$images" lines would suffice I'm sure.
At least this is what I'm presuming and have just tried it myself and it's working
Thanks. |
My code actually had to include "modules/Forums/" So it would look like this:
Code:// Default Avatar MOD
//
$images['default_avatar'] = "modules/Forums/$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "modules/Forums/$current_template_images/guest_avatar.gif";
|
|
|
|
|
 |
diabluntd

|
Posted:
Fri May 07, 2004 8:03 am |
|
Same here blith. For other users please take note that you may have to add the modules/Forums part.
I woke up with a smile on my face because of this. NO RED X'S!!!!! |
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Fri May 07, 2004 9:28 am |
|
Problem with this particular mod as with most is that many require changes to theme files and since it is not or wasn't a standard nuke mod not all themes include it |
|
|
|
 |
sqzdog
Involved


Joined: Sep 22, 2003
Posts: 252
|
Posted:
Tue May 11, 2004 7:58 pm |
|
Ok, I edited forums.cfg that was in my theme folder and added the text as directed. Below is a clip of where I put it:
Quote: | $images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";
// Default Avatar MOD
//
$images['default_avatar'] = "modules/Forums/$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "modules/Forums/$current_template_images/guest_avatar.gif";
//
// Vote graphic length defines the maximum length of a vote result
// graphic, ie. 100% = this length
// |
If I did the above right, now where do I put the no_avatar.gif image?
Do I need to edit the file in the subsilver folder too? |
|
|
|
 |
blith

|
Posted:
Wed May 12, 2004 7:26 am |
|
the no_avatar.gif image is already in the images folder, it should work... |
|
|
|
 |
sqzdog

|
Posted:
Wed May 12, 2004 7:31 am |
|
nope, it's not working. Did I insert the code properly and in the correct file? |
|
|
|
 |
blith

|
Posted:
Wed May 12, 2004 8:31 am |
|
What theme do you use? Do you allow theme changes on your site? It will need to go in every .cfg file that you use for your forums. Mine is the subsilver.cfg and that is where I changed it Also it doesn't remove existing red xs at least on my site, it just prevents new ones from happening. If I am incorrect in this can someone tell me... |
|
|
|
 |
sqzdog

|
Posted:
Wed May 12, 2004 10:11 am |
|
I'm still getting the red "x", even on new posts. I made the change to my subsilver.cfg file also. |
|
|
|
 |
|