The Arcive of vBulletin Modifications Site. |
|
Add link to user albums in postbit Details »»
|
|||||||||||||||||||||||||
////////////////////////////////
/// From Dave at Madden Strategy /////////////////////////////// This will add a link to user albums in the postbit or postbit_legacy template (depending which you use) 1.Open either your postbit or postbit_legacy template 2. Search for Code:
$post[onlinestatus] Code:
<a href="album.php?u=$post[userid]" title="View $post[username]'s Album" rel="nofollow"><img src="images/buttons/add_album.png" alt="View $post[username]'s Photo Album" border="0"/></a> Screenshot and install instruction included You are free to re-use this code for any non-commerical purposes Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Can this be set to only link if they have photos in their album?
|
|
#3
|
|||
|
|||
|
I would agree with that - no point in sending most people to a page with nothing on it. I think this would need to be a plugin.
|
|
#4
|
|||
|
|||
|
doesnt work. just opens a menu like when you click on the username
|
|
#5
|
||||
|
||||
|
Use an <if> condition dude... Donno which yet, i'll check
|
|
#6
|
||||
|
||||
|
If you find it, feel free to share it with all of us
I'm no programmer so I didn't have a clue of where to look
|
|
#7
|
||||
|
||||
|
Quote:
Do you have a link to your site where you tried it? |
|
#8
|
||||
|
||||
|
the username popup link seems to interfere
|
|
#9
|
|||
|
|||
|
I added mine to the other side of the postbit in text just below the users post count and says "See username's photo albums"
Find in postbit template Code:
</td> </tr> </table> <!-- / user info --> </td> Code:
<a href="album.php?$session[sessionurl]u=$post[userid]"> See $post[musername]'s photo albums</a> |
|
#10
|
||||
|
||||
|
I suggest you to add to the <img> tag style this code:
style="vertical-align: middle"
|
![]() |
|
|