FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Avatar for Amonymous
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Avatar for Amonymous [message #162336] Tue, 27 April 2010 07:38 Go to next message
picklock is currently offline  picklock   
Messages: 3
Registered: April 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Is there a simple way to display avatar for Guests?
Tried to assign it in Guest's profile with no luck Sad
icon6.gif  Re: Avatar for Amonymous [message #162337 is a reply to message #162336] Tue, 27 April 2010 11:42 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Interesting question!

How did you access the "Guest profile"?

I had considered this once before but never finished looking into it.

The anonymous user is installed on setup and does not have an actual profile I can access from the members list; it does however have a field in the SQL database.

I thought that perhaps one could be installed through there by changing the
(avatar value )

and the (avatar_loc value)

The needed Avatar path would be something like
 <img src="http://Domain.Name/images/avatars/smiley03.jpg" alt="" width="64" height="64" />
depending on what avatar you wished to use, or if it was custom or uploaded.

I made one failed attempt at it and quit figuring it wasn't really worth my time and effort since I seldom allow anonymous posts (too much trouble). However just because I did not succeed does not mean it can't be done or would not work.

If I were to try it again I would go the same route and look into the rest of the permissions setup for the anonymous and registered user's masks for a conflict.

But I am not even sure if it would or could work even then without some sort of patch or modification to the PHP.

If you figure it out let us know.



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Avatar for Amonymous [message #162338 is a reply to message #162337] Tue, 27 April 2010 13:41 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Anonymous posts are stored with poster_id=0, but the anonymous user is id=1.

To see avatars, execute: UPDATE fud30_msg SET poster_id=1 WHERE poster_id=0;

I'm not the original developer and don't know if this is intentional or a bug.
icon6.gif  Re: Avatar for Amonymous [message #162340 is a reply to message #162338] Tue, 27 April 2010 20:18 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
naudefj wrote on Tue, 27 April 2010 12:41
Anonymous posts are stored with poster_id=0, but the anonymous user is id=1.

To see avatars, execute: UPDATE fud30_msg SET poster_id=1 WHERE poster_id=0;

I'm not the original developer and don't know if this is intentional or a bug.


That would seem intentional. With the way the forum works "Global anonymous, Global Registered then First Forum".

So could changing those values have a detrimental effect?



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Avatar for Amonymous [message #162350 is a reply to message #162340] Wed, 28 April 2010 15:39 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
The Witcher wrote:
So could changing those values have a detrimental effect?


I cannot think of any. If it does cause problems, it would be quite easy to do a reverse update.
Re: Avatar for Amonymous [message #187299 is a reply to message #162350] Mon, 29 May 2017 09:22 Go to previous message
antia is currently offline  antia
Messages: 3
Registered: May 2017
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hello there

Is there any expert here to answer this problem?

Thanks
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Show Members Avatar/Icon
Next Topic: changing theme image and re-building doesn't change website
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Oct 19 16:18:09 EDT 2017

Total time taken to generate the page: 0.00670 seconds