vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom Avatar Files Deleted... Get a little help? (https://vborg.vbsupport.ru/showthread.php?t=164214)

Kingster 12-03-2007 03:52 PM

Custom Avatar Files Deleted... Get a little help?
 
Gotta love how Ensim works.

Anyhow, I had just moved my avatars into filesystem storage, and they got deleted by an Ensim task - no back up of the customavatars directory had been made yet...

I don't care about getting them back, but it slows down the display of the board terribly while it tries to resolve images that aren't there. I'm even happy to have clear.gif set as all of their avatars... Some users have replaced their avatars, so I don't want to delete them... Which I will do if no one can help...

What it boils down to is I think I need something to check for users that have an avatar defined, and then compare to the filesystem to ensure that the avatar is actually there. If it is, then move on, if it isn't then delete the info in the DB pointing to the non-existent file or copy clear.gif (or even one of the avatars I have on my board) to the filename that the DB is looking for.

Any thoughts on what I can do? TIA

tfw2005 05-09-2008 06:47 AM

I could use this too. Any help?

jaysonx 11-12-2008 02:37 AM

Me Three

SEOvB 11-12-2008 02:56 AM

I think your best bet would be to remove avatar permissions then run maintenance scripts, and then reenable the avatars to sort of like effectively clean everyone out (only a theory, not tested, but can't hurt :D)

jaysonx 11-12-2008 12:45 PM

Just tried that, ran all scripts but avatars still show up as a red X for old users after being re-enabled.


All times are GMT. The time now is 02:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete