The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How to make "Upload a custom avatar!" link under the avatar itself !!
i see it in this forum and it is helpful see the image |
|
#2
|
||||
|
||||
|
It would be easy enough to make the link just direct to their upload page - is that what you want? Or are you wanting it in ajax to allow them to upload the avatar right there in the post?
|
|
#3
|
|||
|
|||
|
give what you think is easy ... i think the one in the picture i give is easy
|
|
#4
|
||||
|
||||
|
Well, the edit avatar page is at profile.php?do=editavatar . So, to just show the link to the poster, just add something like:
<vb:if condition="$post[userid] == $bbuserinfo[userid]"><a href="profile.php?do=editavatar">Edit Avatar</a></vb:if> Not tried at all, but something like that should be fine. You'll want to add some style to it most likely, so perhaps add a class to the link. |
|
#5
|
|||
|
|||
|
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|