The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatar Profile Pic Issue
I've included pics so you see what's going on...
These are my web tech's comments. The avatars are still present on the server, but its not matching the file name on their record, and I am still trying to solve it. I advise my web tech about default avatar if he is not able to get everything fixed. That way the members will see all the default avatars and then start changing their avatars themselves.. Web tech replied: default avatar and profile pic will only work if a member doesnt have any avatar or profile pic, in this case, they have avatar but the source of avatar image isnt correct.. And that is what I am trying to fix.. I have full confidence in my web tech I believe we just need a little bit of help so here I am on Vbulletin.org All advice would be appreciated except for Socialteenz on here, that's when all my problems started! --------------- Added [DATE]1436448418[/DATE] at [TIME]1436448418[/TIME] --------------- Web tech comments: Please also put this to the vb.org thread.. Here is sample of one of the avatars' file name. The record on their profile is avatar41635_4.gif, but when I checked the directory, the correct name is avatar41635_3.gif |
#2
|
|||
|
|||
The number after the _ is the avatarrevision column from the 'user' table, and it should get incremented whenever a user uploads a new custom avatar. So you could fix the problem for a user by changing avatarrevision or the actual file name, but I don't know why they would get out of sync. There may be some other problem with uploading custom avatars. Maybe check the permissions on the avatar directories.
|
Благодарность от: | ||
RichieBoy67 |
#3
|
|||
|
|||
Web Tech:
Avatar folder permission is fine. Is there way to fix this without manually changing the file name one by one? There are lots of affected members, but not all.. |
#4
|
|||
|
|||
I think you'd have to write a php script (or I guess another language if you want) to compare the custom avatar file name with the avatarrevision in the database for each user, and do a correction if necessary. I don't think any of the updates in the admincp do that for you.
eta: Maybe if someone was good at linux commands they could write something to get the userid and revision number off each custom avatar in the file system and create a comma-separated file with the data, then you could import that into the database to a temporary table and use SQL to fix the user table avatarrevision column. Then you wouldn't really need to write a script. Yeah, maybe 'find' into a file and awk to change it to csv format., I think that would work. Could it be anything like being out of space on the disk where the avatars are stored? Or did you do anything like restore files or the database? I guess you could just fix it somehow and wait to see if it happens again. Maybe it was a temporary problem. |
#5
|
|||
|
|||
I took the liberty to check out your forum in person to see potential issues.
The avatar/images that isn't working in the thread view (when checking all the threads) isn't working because the link is all screwy.. for example: Code:
https://www.yoursite.com///www.yoursite.com/customavatars/avatar27383_3.gif unknown.gif avatars are working fine, as I assume you have some kind / type of default avatar for people of whom has no avatar set. Now, within threads I noticed that the avatar links are somewhat correct, for example: Code:
https://www.yoursite.com/customavatars/avatar41635_4.gif So, my thoughts: 1), File / web path of the images and or avatars might be incorrect. (double check this in the admincp) 2), Forum path might not be fully 100%, try to set a direct home path through the config.php or double check the admincp. 3), your https (of which works on the main page, but not fully working on the forums) might be screwing things up. 4), Some kind of addon might causing problems. 5), Avatars are not being properly uploaded, see kh99 post above. ^ These 5 are my guesses that I would be looking into. Are the avatars saved as file or within database? |
Благодарность от: | ||
RichieBoy67 |
#6
|
|||
|
|||
if anybody is looking to help I will get my web tech to make you a temporary log in...
https://vborg.vbsupport.ru/showthrea...67#post2549767 |
#7
|
||||
|
||||
Check the plugin or setting for the plugin that is adding in the custom avatar, per a post above the url looks to be doubled so whats going on is (imo) - the plugin is injecting the site url as well before its avatarfilename.jpg filename snippet; like a path prefix of sorts, the issue is the site url was already being called (assumably by default) so check the plugin and/or have you made any recent url type changes to any settings/.htaccess (trying rewrites of any sort etc) and think back what was recently done that made the avatars change after that?
Something is making the actual siteurl called twice in a row... what are your settings in: AdminCP > Settings > Options > Site Name / URL / Contact Details For base path and the component urls? Edit: Aye and although its like a bathing suit bottom, next time please grey out or crop the screenshot not to show ads of that nature... luckily this time like I said it resembles a bathing suit bottom and its summer but not all ads are that "friendly" in regards to moral compass and viewer discretion being advised and what not (lol). |
2 благодарности(ей) от: | ||
MarkFL, RichieBoy67 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|