PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
gator
Hangin' Around


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

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

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: 16987
Location: Kansas

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

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 to the forums!
then DomainName should be
Only registered users can see links on this board!
Get registered or login to the forums!
If it is
Only registered users can see links on this board!
Get registered or login to the forums!
then DomainName must be
Only registered users can see links on this board!
Get registered or login to the forums!
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 Visit poster's website AIM Address Yahoo Messenger
gator
Hangin' Around


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

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

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 to the forums!
then DomainName should be
Only registered users can see links on this board!
Get registered or login to the forums!
If it is
Only registered users can see links on this board!
Get registered or login to the forums!
then DomainName must be
Only registered users can see links on this board!
Get registered or login to the forums!
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 to the forums!
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 to the forums!


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


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gator
Hangin' Around


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

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

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 to the forums!
I'll wait for any replies before trying something else. blah blah blah
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gator
Hangin' Around


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

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

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


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Another 'fix' noted Wink! Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Mattc0m
New Member
New Member


Joined: Jul 17, 2003
Posts: 1

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

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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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.

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

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum