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 -> w/Nuke 6.5
Author Message
glidergirl
Hangin' Around



Joined: Feb 28, 2004
Posts: 35
Location: Kentucky

PostPosted: Sun Feb 29, 2004 12:50 pm Reply with quote

We want our forums to be an accessory and not the main feature of our site. As such, we would prefer to not have the avatar feature. However, even though I've turned off all the avatar features in Avatar Management in the control panel, I still get the big ugly "where's the picture?" red X.

Is there a way to turn off the avatar feature completely, but later revisit it and turn it on if we decide otherwise?
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Sun Feb 29, 2004 2:01 pm Reply with quote

run this query through phpMyAdmin:
update nuke_users set user_avatar = 'gallery/blank.gif';

The Your_Account module might need editing to take out the avatar selection section.
 
View user's profile Send private message Visit poster's website
glidergirl







PostPosted: Thu Mar 25, 2004 12:11 am Reply with quote

Well, we decided to go ahead and use avatars. However, we can't link them (they just don't show after submitting the URL), and can't upload them (get a message that only jpgs and gifs and png extensions are allowed, when, of course, all we're submitting are jpgs and gifs).

Big red Xs aren't attractive. Can this be fixed?

FYI, the site is [ Only registered users can see links on this board! Get registered or login! ]
 
twelves
Regular
Regular



Joined: Aug 22, 2003
Posts: 84

PostPosted: Sat Mar 27, 2004 11:47 pm Reply with quote

In modules/Forums/viewtopic.php look for the following and remove it! Shocked

The first and only fix I ever got working. Users that fail to register an avatar have nothing. Guest has nothing.

Members have what ever they choose, when they get around to it.


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

Shocked
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Mar 28, 2004 7:51 am Reply with quote

You are partially correct. You also need to block out the logic in Your_Account/index.php that shows the same basic display. Otherwise it appears that they can select an avatar.
 
View user's profile Send private message
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 -> w/Nuke 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 ©