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

Home » FUDforum » How To » Avatar for Amonymous
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Avatar for Amonymous [message #162336] Tue, 27 April 2010 11:38 Go to next message
picklock is currently offline  picklock   
Messages: 3
Registered: April 2010
Karma: 0
Junior Member
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 15:42 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
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 17:41 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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] Wed, 28 April 2010 00:18 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
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 19:39 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 13:22 Go to previous message
antia is currently offline  antia
Messages: 3
Registered: May 2017
Karma: 0
Junior Member
Hello there

Is there any expert here to answer this problem?

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Show Members Avatar/Icon
Next Topic: Publishing to Internet
Goto Forum:
  

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

Current Time: Wed Nov 27 10:46:23 GMT 2024

Total time taken to generate the page: 0.02411 seconds