![]() |
Add link to user albums in postbit
////////////////////////////////
/// 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 |
Can this be set to only link if they have photos in their album?
|
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.
|
doesnt work. just opens a menu like when you click on the username
|
Use an <if> condition dude... Donno which yet, i'll check :D
|
Quote:
|
Quote:
Do you have a link to your site where you tried it? |
the username popup link seems to interfere
|
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> Code:
<a href="album.php?$session[sessionurl]u=$post[userid]"> See $post[musername]'s photo albums</a> |
I suggest you to add to the <img> tag style this code:
style="vertical-align: middle" ;) |
All times are GMT. The time now is 11:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|