View Single Post
  #5 (permalink)  
Old 11-19-2002, 09:24 PM
mikem mikem is offline
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Ok guys. I have been working on this No Avatar(broken image) issue when a New User registers through Nuke.

Gimme another day to make sure it is working correctly and I will release a fix.

I have tested it on my test site by creating 3 test users and so far ALL of them came back registered with the correct blank image. WOOT!

EDIT***

Ok here it is.
This only works if you are running PHP-Nuke 6.0 and phpBB port 2.0.6

open modules/Your_Account/index.php

Line 86:

Code:
	if (($user_avatar) || ($user_avatar!="")) echo ""._AVATAR.": <img src=\"modules/Forums/images/avatars/$user_avatar\" alt=\"\">
";
Change to:

Code:
	if (($user_avatar) || ($user_avatar!="")) echo ""._AVATAR.": <img src=\"modules/Forums/images/avatars/gallery/blank.gif\" alt=\"\">
";
Line 99:

Code:
	    ."<input type=\"hidden\" name=\"user_avatar\" value=\"$user_avatar\">"
Change to:

Code:
	    ."<input type=\"hidden\" name=\"user_avatar\" value=\"gallery/blank.gif\">"
That should do it. When a New User registers, instead of a broken image showing for their avatar, they should get assigned the blank.gif image. It should now grab the correct blank.gif image in your modules/Forums/images/avatars/gallery folder.

mikem
Reply With Quote