The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Hmm...does the user have a record in the customavatar table (where userid = their id)?
|
#32
|
||||
|
||||
I'm just now in the AdminCP and looking at one of our members who has a custom avatar. Under Image Options his avatar is showing. In fact, it looks as if the custom avatars and profile pictures are known to our forum, as they can be seen when looking at their User information in the AdminCP.
Does that suggest anything to you regarding this issue? |
#33
|
|||
|
|||
Maybe try this experiment, if it's not too much trouble: edit the postbit_legacy template, and find this line:
Code:
<vb:if condition="$show['avatar']"> Code:
<vb:if condition="$bbuserinfo[userid] == 1816 OR $show['avatar']"> That should force it to show avatars for everyone, but only for you (it looks like your userid is 1816). See if that makes the avatars look right. |
#34
|
||||
|
||||
The change won't save.
Code:
<!-- NEXT LINE COMMENTED BY SNOWHOG 2012-11-18 --> <!-- <vb:if condition="$show['avatar']"> --> <!-- NEXT LINE ADDED BY SNOWHOG 2012-11-18 --> <vb:if condition="$bbuserinfo[userid] == 1816 OR $show['avatar']"> Quote:
|
#35
|
|||
|
|||
Since the template tags aren't really html, the html comments don't work to comment them out. There is a vb:comment tag you could use:
Code:
<vb:comment> NEXT LINE COMMENTED BY SNOWHOG 2012-11-18 <vb:if condition="$show['avatar']"> </vb:comment> <!-- NEXT LINE ADDED BY SNOWHOG 2012-11-18 --> <vb:if condition="$bbuserinfo[userid] == 1816 OR $show['avatar']"> |
#36
|
||||
|
||||
Hmm. Well, now with this:
Code:
<!-- BEGIN MODIFICATION --> <vb:comment> <vb:if condition="$show['avatar']"> </vb:comment> <vb:if condition="$bbuserinfo[userid] == 1816 OR $show['avatar']"> <!-- END MODIFICATION --> Quote:
|
#37
|
|||
|
|||
Yeah, the vb:comment tags aren't working like I thought the should - I don't know why. But the problem is the first vb:if tag you're trying to comment out isn't getting commented out, and there's no corresponding </vb:if>. I guess if you really want to keep it in there you'll need a closing tag, like:
Code:
<vb:if condition="$show['avatar']"></vb:if> Yes, you can use html comments in a template, but they just get passed through to the browser. They don't affect the template compiler, so they don't work to comment out the special template tags. |
#38
|
||||
|
||||
I had a thought (it almost hurt).
All the affected members belong to the Established Users usergroup, which is an Additional Usergroup. They have all the permissions necessary. But, they belong to the Registered Users usergroup which doesn't have the permissions to use avatars or profile pictures. I was making changes to the Registered Users usergroup 'today', but of course, the issue we are having began a day or so ago. Question: Do the more restrictive permissions of the Registered Users usergroup override those of the Additional Usergroup? I don't believe that is how vBulletin works, but I have to ask. |
#39
|
|||
|
|||
Quote:
The experiment I wanted to try above was made to check if the problem was that $show[avatar] was false but everything else was OK. But if that's the case, then the only thing I can see that would cause that is the "Can Upload Custom Avatars" permission. |
#40
|
||||
|
||||
Okay, made the template change correctly and it saved. Cleared the system cache and logged out of my forum (clears cache and cookies) and came back in. Still no member avatars or profile pictures.
Not to complicate the issue here, but these members are also not able to PM anyone or access the change options within Settings: Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|