The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
2 questions about AVATARS (vB 4.2.1)
1)
Ok, first of all, I want to know why wouldn't be a good idea to render "external avatars" instead of storing them directly into my DB, so I get rid of that link "image.php?u=10912&dateline=1386613040"? I know about the image's uptime, I don't worry about broken links of avatars' URL I mean, if I want to show avatars like this: HTML Code:
<a class="postuseravatar" href="member.php/10912" title="MEMBERS is offline"> <img src="http://i.imgur.com/h12js5.jpg" alt="MEMBER's avatar" title="MEMBER's avatar"> </a> HTML Code:
<a class="postuseravatar" href="member.php/10912" title="MEMBERS is offline"> <img href="member.php/10912" alt="MEMBER's avatar" title="MEMBER's avatar"> </a> 2) I've installed a new template, and I need to modify the allowed size for avatars to a new smaller size. I can't resize each user avatar, so I want to RESET them. How can I reset all member's avatars so they have to upload a new one with the new dimension rules? Thanks in advance! |
#2
|
|||
|
|||
Anyone? come on It should be easy for some "vbulletin veteran" ^^
|
#3
|
||||
|
||||
Very hard to answer your question because you've said nothing about how you would be the imgur URL for each user. Is it stored in the database? If so where? And do you have a plugin to query the database for it?
As for number 2, why not just use CSS to make them all look the same size? |
#4
|
||||
|
||||
You could do the first with a custom profile field and have users input the imgur id and extension.
HTML Code:
<a class="postuseravatar" href="member.php/10912" title="MEMBERS is offline"> <img href="http://i.imgur.com/{vb:raw post.fieldx}" alt="MEMBER's avatar" title="MEMBER's avatar"> </a> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|