![]() |
|
Thread Tools |
#1
|
|||
|
|||
Scheduled Task - Rebuild Avatar?
Hi,
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 https://speedtest.vet/ https://vidmate.bid/ 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! No members have liked this post.
Last edited by DylanMateo; 26 May 2020 at 07:21. |
#2
|
|||
|
|||
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. Code: .b-userinfo .b-avatar, .b-userinfo .b-avatar img { max-height: 128px; max-width: 128px !important; width: 128px; height: 128px; } No members have liked this post.
|
#3
|
|||
|
|||
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 No members have liked this post.
Last edited by Jenniferdanner; 27 Feb 2023 at 05:06. |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 22:57.