PDA

View Full Version : Edit AV


geniuscrew
03-19-2003, 03:04 PM
In each post bit, I would like a link which opens up a new window with the posters avatar.

However I can only get it to show my avatar.

Can some one help?

Thanks

Kars10
03-19-2003, 03:09 PM
Replace

$post[avatar]

with

<a href="$bburl/avatar.php?userid=$post[userid]" target="blank">User Avatar</a>

Untested but should work... ;)

geniuscrew
03-19-2003, 03:33 PM
If I also want to edit their avatar, will this also work?

Kars10
03-19-2003, 03:35 PM
Today at 18:33 geniuscrew said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=369346#post369346)
If I also want to edit their avatar, will this also work?

What do you mean with this? Edit there Avatar means it changes the avatar of the user, and also the link... :)

geniuscrew
03-19-2003, 03:52 PM
I mean that when moderators/S. mods/admins click on the link, they can edit the member's avatar.

Kars10
03-19-2003, 03:56 PM
Than you must use conditions. That all Users with usergroupid x see the normal link to avatars and you or your mods get the link to edit the user. I would install the Template Conditions-Hack by Logician. :)

geniuscrew
03-19-2003, 03:58 PM
That's OK lol - that's not the problem though.

I was wondering how you could get the avatar in a new window using a query. Then I would like to be able to edit the avatar, and save.