Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 25 May 2020, 12:17
DylanMateo DylanMateo is offline
Join Date: May 2020
Scheduled Task - Rebuild Avatar?


I am trying to make a scheduled task that rebuilds the avatar thumbnails, due to a workaround to make avatars larger in the postbit, however this ends up making fresh avatars look badly compressed.

I don't really understand how to write a Scheduled Task, and I have no idea where to start. So any help would be appreciated!

Last edited by DylanMateo; 26 May 2020 at 07:21.
Reply With Quote
Old 11 Jan 2023, 04:56
Tinsley1H Tinsley1H is offline
Join Date: Dec 2022
Hello, DylanMateo
You can do this in CSS. However, you'll be resizing a smaller image so there can be some artifacting. Browsers aren't the best at resizing images.

Visit your site. Turn on Edit Site. Click Style in the Site Builder Menu. Then select the CSS Editor tab. Enter in the code below, adjust as needed.

.b-userinfo .b-avatar, .b-userinfo .b-avatar img {
max-height: 128px;
max-width: 128px !important;
width: 128px;
height: 128px;
Reply With Quote
Old 25 Feb 2023, 11:16
Jenniferdanner Jenniferdanner is offline
Join Date: Jan 2023
To create a scheduled task in vBulletin that rebuilds avatar thumbnails, follow these steps:

Log in to your vBulletin admin control panel.
Navigate to "Scheduled Tasks" under the "Maintenance" menu.
Click on "Add New Task" to create a new scheduled task.
Give your task a name, such as "Rebuild Avatar Thumbnails".
Choose the "PHP Direct Execution" type for your task.
In the "Script Path" field, enter the path to the vBulletin script that rebuilds avatar thumbnails. This script is typically located at "/includes/cron/rebuildavatar.php".
Set the frequency of your scheduled task to run as often as needed to keep your avatars looking their best.
Save your scheduled task.
With this scheduled task set up, vBulletin will automatically rebuild your avatar thumbnails on a regular basis, ensuring that they always look their best. My Nordstrom Account

Last edited by Jenniferdanner; 27 Feb 2023 at 05:06.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 23:20.

Layout Options | Width: Wide Color: