PDA

View Full Version : Coding question


jacobskinner811
10-18-2010, 08:33 PM
so i am trying to have the profile picture link up to my album so that when you click on the profile picture instead of refreshing i can see peoples pictures... i was told this v v

You could change this line in the MEMBERINFO template to do that:

<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">

but im not sure where i add this in the coding? if anyone could help i would greatly appriciatie it

Lynne
10-18-2010, 09:02 PM
Just replace the stuff in the href="stuff" tag with the link to whatever page you want to link to.

jacobskinner811
10-18-2010, 09:12 PM
okay so i went in member info template and when word search to find the right coding and this came up

<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
</a>

should i switch that code with the code i prevously posted?

--------------- Added 1287441016 at 1287441016 ---------------

or actually i dont think thats it lol nevermind ill keep looking