Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

User Icon

edited April 2007 in Vanilla 1.0 Help
I have an "Guest" account to be used with the GuestPost extension.

I changed the user icon days ago and it will simply not update in the browser, cache cleared several times but it shouldn't be an issue because the new icon name is completely different.

The "Personal Information" setting is OK, it has the new name and the database has the new icon listed too but it will not update anywhere in the browser.

If I remove the old icon file from the server it comes up as missing in the browser, if I put it back the old icon displays OK, what gives? Why is the page still asking for the old name?

Is this setting saved anywhere else?

Posted: Friday, 6 April 2007 at 5:15PM

Comments

  • Have you checked that the settings has changed in the database?
  • As I said above "...the database has the new icon listed ..."

    This is driving me nuts why isn't it updating?

    Anyone with a spare minute could you please check this comment out.

    The guest user icon should look like this: pic

    Posted: Saturday, 7 April 2007 at 8:13PM

  • says i dont have permission to post as guest, there is also an error message on top of page you should check out. The guests allready posted there have the smiley icon, but next to the box I need to fill in in order to post as guest has the new icon.
  • Did you enter the anti-spam code before submitting?
    Yes the smiley icon is the old one, the new one will not show up.

    Posted: Saturday, 7 April 2007 at 8:51PM

  • sure did
  • Just had a guest post successfully 11 minutes ago, did you get the code correct?

    Posted: Saturday, 7 April 2007 at 8:59PM

  • i didnt realize it was case sensitive. in the html it uses this : http://www.debono.com.au/forum/userpics/smile_icon.jpg It is used as css though, are you sure its not hardcoded into a css file?
  • It appears to be hard coded doesn't it, I can't work out where it's coming from.
    I tried changing the icon of two other members, they won't update either.
    The "Members Page" extension lists the correct icon though.

    Posted: Saturday, 7 April 2007 at 9:06PM

  • what extension are u using for the guest posting?
  • Minisweeper's Guest Post but a little modified by me.

    Posted: Saturday, 7 April 2007 at 9:54PM

  • is there anything about icons in your modifications?
  • No, nothing it's really weird.
    Time for bed now, will attack it with a fresh approach later.
    Thanks for your interest Mr Do.

    Posted: Saturday, 7 April 2007 at 10:20PM

  • This is %$#@# ridiculous, I took out Guest's user icon altogether, it's blank and still the old icon is being used!

    Posted: Sunday, 8 April 2007 at 12:40PM

  • Looked through the code, and it seems pretty straightforward... Taken directly from LUM_User.Icon
    This query should return the proper account icon:SELECT Icon, RoleID FROM LUM_User WHERE UserID = 7; Did you happen to set a role icon? Check this:SELECT Icon, RoleID FROM LUM_Role WHERE Icon LIKE %smile%;This query should indicate any roles that have been set to the offending icon... although it appears at first glance the guest account has the normal 'Member' role, it might just be named the same... make sure the RoleIDs for the above two queries do NOT match.
  • WallPhone, I could kiss you, but I'm not like that, not that there would be anything wrong with me if I was like that...

    <change subject quickly>

    Yes I had set a role icon, I was under the impression that a role icon is the default if no specific user icon is set?

    Obviously I was mistaken, anyway, users are happy their icons work! Thanks mate.

    Posted: Sunday, 8 April 2007 at 1:20PM

  • Actually it's the reverse of what you'd expect. See this post: Role Icon

    Since there is a certain value to force-overriding personal icon preferences, I think that there should be a reverse option to have a default icon applied only if none is defined by the user. This could be global (good), or per role (better) or both (best, though likely more complicated to code). Per role would allow a punishment category, yet let everyone else to have their own icons.

    In each role definition something like:
    [ ] use default forum icon if none is selected
    [ ] use this icon as the default for this role if none is selected (Browse...)
    [ ] override all user icons with this icon (Browse...)

    It's late, but not looking at the panel specifically I think I got that right...
  • smile I agree there should be a default which may be over-written by a user specified one.

    Posted: Sunday, 8 April 2007 at 2:38PM

This discussion has been closed.