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.5
Author Message
gator
Hangin' Around



Joined: Jul 24, 2003
Posts: 36
Location: Canada

PostPosted: Fri Jul 25, 2003 8:49 pm Reply with quote

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



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Jul 25, 2003 9:09 pm Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ] then DomainName should be [ Only registered users can see links on this board! Get registered or login! ] If it is [ Only registered users can see links on this board! Get registered or login! ] then DomainName must be [ Only registered users can see links on this board! Get registered or login! ] 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.
 
View user's profile Send private message
gator







PostPosted: Sat Jul 26, 2003 8:46 am Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ] then DomainName should be [ Only registered users can see links on this board! Get registered or login! ] If it is [ Only registered users can see links on this board! Get registered or login! ] then DomainName must be [ Only registered users can see links on this board! Get registered or login! ] 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 [ Only registered users can see links on this board! Get registered or login! ] 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: http://nukecops.com/postlite4922-.html

It's all so confusing Rolling Eyes

This seems like a tough one. Please don't kill your self trying to help Smile

I have created a test login

login: CT Dummy
Pass: test

Cheers

Here is a thread where the problem occurs:
[ Only registered users can see links on this board! Get registered or login! ]
 
Raven







PostPosted: Sat Jul 26, 2003 8:54 am Reply with quote

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 Laughing
 
gator







PostPosted: Sat Jul 26, 2003 8:54 am Reply with quote

I need coffee Rolling Eyes

Here is a thread which may be of interest [ Only registered users can see links on this board! Get registered or login! ] I'll wait for any replies before trying something else. blah blah blah
 
Raven







PostPosted: Sat Jul 26, 2003 9:06 am Reply with quote

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







PostPosted: Sun Jul 27, 2003 8:27 am Reply with quote

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







PostPosted: Sun Jul 27, 2003 9:07 am Reply with quote

Another 'fix' noted Wink! Thanks!
 
Mattc0m
New Member
New Member



Joined: Jul 17, 2003
Posts: 1

PostPosted: Sun Jul 27, 2003 12:48 pm Reply with quote

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".
 
View user's profile Send private message
Raven







PostPosted: Sun Jul 27, 2003 12:54 pm Reply with quote

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.
 
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.5

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 ©