Author |
Message |
gator
Hangin' Around

Joined: Jul 24, 2003
Posts: 36
Location: Canada
|
Posted:
Fri Jul 25, 2003 8:49 pm |
|
I have this problem that individuals who have not selected an avatar appear as a blank (red X) when they post in the forum. I know their is a fix out there but I'll be d***ed if I can find it. Any help appreciated  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Jul 25, 2003 9:09 pm |
|
First of all, make sure that in nuke=>AdminPanel=>Forums=>Confguration=>DomainName setting is set to the full path to the directory of config.php. So, if your site name is www.gator.com then DomainName should be www.gator.com. If it is www.gator.com/html then DomainName must be www.gator.com/html. Also, make sure that both Avatar Storge Path and Avatar Gallery Path is set to => modules/Forums/images/avatars . If that doesn't remedy it, then do a right mouse over the red x and look at the path that it is expecting to find the blank.gif and copy it there. |
|
|
|
 |
gator

|
Posted:
Sat Jul 26, 2003 8:46 am |
|
Raven wrote: | First of all, make sure that in nuke=>AdminPanel=>Forums=>Confguration=>DomainName setting is set to the full path to the directory of config.php. So, if your site name is www.gator.com then DomainName should be www.gator.com. If it is www.gator.com/html then DomainName must be www.gator.com/html. Also, make sure that both Avatar Storge Path and Avatar Gallery Path is set to => modules/Forums/images/avatars . If that doesn't remedy it, then do a right mouse over the red x and look at the path that it is expecting to find the blank.gif and copy it there. |
Thanks for the reply. I changed the domain setting to www.boozebros.ca, with no effect (I left it that way as well). There are some strange things afoot.
First: In the member's list everything looks good. There is no red x to be seen, even though the user has not selected an avatar (which is correct).
Second, When the red X does appear in a forum post, the red X does not have a path. When I view source in a thread where the red x shows here is the code Code:<td width="150" align="left" valign="top" class="row2"><span class="name"><a name="114"></a><b>Great Big C</b></span><br /><span class="postdetails">Beer Noob<br /><img src="modules/Forums/images/ranks/1star.gif" alt="Beer Noob" title="Beer Noob" border="0" /><br /><img src="" alt="" border="0" /><br /><br />Joined: 1057516273<br />Posts: 2<br />Location: Winnipeg</span><br /></td>
|
You can see the image is src="" which doesn't seem to be right.
Third, the problem happens in every theme I use except subsystem (now the default). When I use subsytem a generic avatar is selected with the path: Code:http://www.boozebros.ca/themes/subSystem/forums/images/no_avatar.gif
|
Which is exactly how I would like all the other themes to handle this scenario or even better...for a default avatar (of my choice) to be implemented when each user registers (after which they can change it if they choose).
Fourth my avatar path is set to modules/Forums/images/avatars
and my gallery path to modules/Forums/images/avatars/gallery
The paths are like this b/c I implemented CanuckKev's avatar fix (the one on nuke cops, but not the one found in secfix #4). The thread is here: Only registered users can see links on this board! Get registered or login!
It's all so confusing
This seems like a tough one. Please don't kill your self trying to help
I have created a test login
login: CT Dummy
Pass: test
Cheers
Here is a thread where the problem occurs:
http://www.boozebros.ca/postt69.html |
|
|
|
 |
Raven

|
Posted:
Sat Jul 26, 2003 8:54 am |
|
If gallery path modules/Forums/images/avatars/gallery works, then leave it, but you are not supposed to have to do that. the path is suppose to lead TO the gallery folder, not include it. That path will be translated as modules/Forums/images/avatars/gallery/gallery, but, if it works then so be it  |
|
|
|
 |
gator

|
Posted:
Sat Jul 26, 2003 8:54 am |
|
|
|
 |
Raven

|
Posted:
Sat Jul 26, 2003 9:06 am |
|
What always makes things hard is that 1 user has a problem and another a different one and I don't have the problem! If you go to your profile page in my forum, you should see a complete gallery folder as well as many others. Now to get there, both of my avatar paths are modules/Forums/images/avatars. That is because the scripts then dump ALL folders in that path into the select box. I have only applied the fixpack3 and fixpack4 to my site and done nothing else, so I don't know what else to tell you. That src="" is a result of you using MikeM's fix and the default avatar is not found. In your modules/Forums/images/avatars folder, is there a gallery folder with NOTHING but images in it? No more folders should be there. If you have another folder called gallery, then move the contents up one level and then delete the second gallery folder. Then correct both avatar paths to read modules/Forums/images/avatars. |
|
|
|
 |
gator

|
Posted:
Sun Jul 27, 2003 8:27 am |
|
Raven thanks for you help and on NC...I know it can be frustrating to help people sometimes. I have over 10,000+ post on various software and hardware help sites so I know...
To finish the thread I was able to get this to work by changing something very simple. To make this work all I did was add the following data to the SQL file: Quote: | /gallery/blank.gif | (obviously my default avatar is blank.gif)
I placed this data in the following cell:
Quote: | nuke_users--->user ID=1 (anonymous)--->user avatar (place in this cell). |
Now each time an individual registers on my site their avatar defaults to blank.gif. BTW the default avatar (blank.gif) is listed in both the forum and nuke (i.e. my accounts) sections. Hope this helps.... |
|
|
|
 |
Raven

|
Posted:
Sun Jul 27, 2003 9:07 am |
|
Another 'fix' noted ! Thanks! |
|
|
|
 |
Mattc0m
New Member


Joined: Jul 17, 2003
Posts: 1
|
Posted:
Sun Jul 27, 2003 12:48 pm |
|
Heres what I did. Right click on the red X, and see where its looking for an image. Sometimes it looks in /gallery/gallery for some reason (it did on my site, anyways).
Just upload a blank .gif - and that'll solve your problem. I used a graphic that just said "no avatar". |
|
|
|
 |
Raven

|
Posted:
Sun Jul 27, 2003 12:54 pm |
|
The reason it looks in gallery/gallery is explained up above in one of my replies. It's because the avatar pathhas gallery in it and it shouldn't. It should end in /avatar and then the script adds 'gallery' to it. |
|
|
|
 |
|