The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hey y'all,
I'd like to make the avatars in the Activity Stream larger - they seem to max out at 60px. Been looking for the css class avatar in the code but haven't had luck - I figure that's where the loot is. Any help/guidance/pointers are GREATLY appreciated. Much thanks! |
|
#2
|
||||
|
||||
|
Class "thumbnail?"
|
|
#3
|
||||
|
||||
|
Wasn't able to find that class...
Here's the code from the activitystream_calendar_event template (the other templates forum, blog post, album have the same) Code:
<vb:if condition="$userinfo['showavatar']">
<div class="avatar">
<img src="{vb:raw userinfo.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" />
</div>
</vb:if>
Also tried to force the change by adding this rule into activitystream.css Code:
.avatar {
width: 174px !imporant;
height: 172px !important;
}
|
|
#4
|
||||
|
||||
|
I took a look into this, and short of editing the templates, I don't see how it is possible.
|
|
#5
|
||||
|
||||
|
So, the code that does this goes:
HTML Code:
<img alt="Your Avatar" src="image.php?u=8&dateline=1405267152&type=thumb" title="Your Avatar">
|
|
#6
|
||||
|
||||
|
Also, lookie here in the CSS template for activity stream. (activitystream.css)
HTML Code:
}
li.activitybit .avatar {
float:{vb:stylevar left};
padding-{vb:stylevar right}:{vb:stylevar padding};
width: 75px;
}
|
|
#7
|
||||
|
||||
|
Yeah, but that does not control it, I took that out and used my own definitions, but they do not work. I would be willing to bet, it is set in the PHP files somewhere.
|
|
#8
|
||||
|
||||
|
Why would it define it, but that definition isn't relevant? I tried changing it too, no joy.
Weird. What if we put '!important' there? |
|
#9
|
||||
|
||||
|
Nope, it don't work. You think I did not try everything I know already.
|
|
#10
|
||||
|
||||
|
activitystream_forum_post
template appears to have this. Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|