The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Defining Avatars for different user ids for memberinfo
Hey guys,
Merry Christmas everyone. UPDATE: Trying a different way. In MEMBERINFO I'm using: <img src="{vb:raw avatarurl}"> In Plugin Manager I'm using: Quote:
Still needing help please! |
#2
|
||||
|
||||
I am not sure what you mean but did you go into usergroup settings and user registration options?
|
#3
|
||||
|
||||
Are your avatars stored in your database or in your file system?
|
#4
|
||||
|
||||
Do you mean avatar instead of profile picture or neither of them show up? Did you check use reg options to enable and also usergroup permissions?
Be sure to go into maintenance and update counters after you change settings for the users. |
Благодарность от: | ||
MarkFL |
#5
|
|||
|
|||
file system.
I need a code to put in MEMBERINFO to take the avatar and not the profile picture, but when it does take the avatar it does it by thumbnail |
#6
|
||||
|
||||
A down and dirty fix would be to go to your "memberinfo_block_ministats" template, and near the bottom locate:
HTML Code:
<img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" {vb:raw prepared.avatarsize} id="user_avatar" />
HTML Code:
<img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" id="user_avatar" onload="this.src = this.src.replace(/\/thumbs/,'');" />
|
Благодарность от: | ||
RichieBoy67 |
#7
|
|||
|
|||
How would I display block ministats in memberinfo?
{vb:raw blocks.ministats} Thank you Mark and Merry Christmas |
#8
|
||||
|
||||
Quote:
I am under the impression that you want a user's avatar to display on their profile page full size rather than the thumbnail version. A better solution than the one I quickly offered would be to write a plugin to fetch the user's avatar URL, and define a variable to contain it, and then register it in the correct template. Can you elaborate on exactly what you are wanting to accomplish? |
#9
|
|||
|
|||
Trying a different way. In MEMBERINFO I'm using:
<img src="{vb:raw avatarurl}"> In Plugin Manager I'm using: Quote:
Thank you |
#10
|
||||
|
||||
Yeah, I faced a similar issue recently but was able to hack an existing plugin which already had the userids I needed defined.
I will be interested to see how this can be done, as I am still really inexperienced with writing plugins and am trying to learn from the masters here. One suggestion I would make to aid you in getting help more promptly would be to edit the first post, and change the title so that it briefly describes your question. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|