You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 51 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - The Guest & No Avatar Question [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
SirRyan
Nuke Soldier
Nuke Soldier


Joined: Aug 02, 2004
Posts: 19

Location: Everywhere

PostPosted: Mon Jan 17, 2005 3:28 pm Reply with quoteBack to top

Okay, *sigh*. I've tried almost everything I can find out there to fix the problem of having both the 'Guest_avatar' and the 'No_Avatar' for Php-Nuke. Nothing so far has helped. The last thing I tried was installing this script, (though it didn't work) creds to whoever wrote it:
Code:

#
#-----[ COPY ]------------------------------------------
#
copy no_avatar.gif and guest_avatar.gif to themes/YOUR_THEME/forums/images/

#
#-----[ OPEN ]------------------------------------------

modules/Forums/viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
         case USER_AVATAR_GALLERY:
            $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
            break;
      }
   }


#
#-----[ AFTER, ADD ]------------------------------------------
#
   //
   // Default Avatar MOD - Begin
   //
   if ( empty($poster_avatar) && $poster_id != ANONYMOUS)
   {
      $poster_avatar = '<img src="'.  $images['no_avatar'] .'" alt="" border="0" />';
   }
   if ( $poster_id == ANONYMOUS )
   {
      $poster_avatar = '<img src="'.  $images['guest_avatar'] .'" alt="" border="0" />';
   }
   //
   // Default Avatar MOD - End
   //

#
#-----[ OPEN ]------------------------------------------

modules/Forums/includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#
      case USER_AVATAR_GALLERY:
         $avatar_img = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $profiledata['user_avatar'] . '" alt="" border="0" />' : '';
         break;
   }
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// Default Avatar MOD - Begin
//
if ( empty($avatar_img) )
{
   $avatar_img = '<img src="'.  $images['no_avatar'] .'" alt="" border="0" />';
}
//
// Default Avatar MOD - End
//

#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/templates/subSilver/subSilver.cfg   (and all the other templates you have installed)

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// 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";

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


When I'm logged out on my site (http://sirryan.pure-fun.com), the avatar on the right block shows up as.....that infernal red 'x' block! When I right click on it, the path is pointed to: http://sirryan.pure-un.com/modules/Forums/images/avatars/gallery/blank.gif

Please help me resolve this demonic problem once and for all! Very Happy

I use PHP-Nuke version 7.2. Thanks!

_________________
- SirRyan -
SirRyan.Pure-Fun.Com
Find all posts by SirRyanView user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
spud
Nuke Soldier
Nuke Soldier


Joined: Jun 03, 2004
Posts: 32


PostPosted: Mon Jan 17, 2005 3:34 pm Reply with quoteBack to top

http://www.nukemods.com/modules.php?name=Forums&file=viewtopic&t=3245
Find all posts by spudView user's profileSend private message
SirRyan
Nuke Soldier
Nuke Soldier


Joined: Aug 02, 2004
Posts: 19

Location: Everywhere

PostPosted: Tue Jan 18, 2005 11:32 am Reply with quoteBack to top

Sorry, I don't think was clear enough about what exactly it is I wanted (plus I am newbish). I'm trying to just get the 'guest_avatar' and the 'no_avatar' to display for the block on the right of my homepage, the User Info block. I don't have guest forum posting enabled. I wanted the 'guest_avatar' to display instead of the 'blank.gif' on the right block whenever a non-user comes onto my site, and the 'no_avatar' for those users who haven't selected an avatar yet. Is this even possible? I thought that PortedMods.Com had this once on one of their user menu blocks. I'd really like to see this option available!

Post in simple Newbish, please. Thnx! Wink

_________________
- SirRyan -
SirRyan.Pure-Fun.Com
Find all posts by SirRyanView user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
Contra
Nuke Soldier
Nuke Soldier


Joined: Aug 27, 2003
Posts: 27

Location: Bloomington, IL

PostPosted: Fri Jan 21, 2005 4:21 pm Reply with quoteBack to top

when i go to your site, on the right side, i see a "Guest" avatar. I have not signed up for an account and never been to your site before. I see no Red X.

I registered, yet i have not gotten the activation email yet...so i cannot test the other.

Hope that helps.

_________________
-=Contra=-
Find all posts by ContraView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
SirRyan
Nuke Soldier
Nuke Soldier


Joined: Aug 02, 2004
Posts: 19

Location: Everywhere

PostPosted: Fri Jan 21, 2005 4:35 pm Reply with quoteBack to top

i resolved the issue (replaced blank.gif with different picture), sorry for the delayed response Wink

_________________
- SirRyan -
SirRyan.Pure-Fun.Com
Find all posts by SirRyanView user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.526 Seconds - 258 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::