vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Query to set default avatar for imported users? (https://vborg.vbsupport.ru/showthread.php?t=293789)

Jamie G 01-10-2013 01:53 PM

Query to set default avatar for imported users?
 
Hi there,

We've just imported 3, large IPB forum Databases into vBulletin following a hack on IPB which took out 3 of our sites. It was the last straw for us, but we now have an issue.

After importing the IPB users, it didn't copy across the User's avatars. We've rebuilt the avatars, but they aren't showing.

Is there a query we can run, to set all the users to have an avatar. Right now, it is showing as completely blank, and with over 10,000 users, it's going to take some time to do it manually.

For instance, on IPB we could run the following.

update profile_portal set
`pp_main_photo` = 'profile/default.png',
`pp_main_width` = 170,
`pp_main_height` = 121,
`pp_thumb_photo` = 'profile/default.png',
`pp_thumb_width`= 100,
`pp_thumb_height`= 100;

Is there an equivalent for vBulletin that we can use?

Many thanks,

--------------- Added [DATE]1357838892[/DATE] at [TIME]1357838892[/TIME] ---------------

No-one?

mokujin 01-10-2013 05:10 PM

You can install this hack: https://vborg.vbsupport.ru/showthrea...default+avatar


All times are GMT. The time now is 07:08 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.01147 seconds
  • Memory Usage 1,710KB
  • 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
  • (2)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