Log in

View Full Version : Mini Mods - Link to Photo Albums on Profile Popup


Ipuck
04-06-2009, 10:00 PM
This plugin adds a link on the profile popup to the users photo album

Plugins & Products >> Add New Plugin

Product: vBulletin
Hook Location: postbit_display_start
Title: Album Link
Plugin PHP Code:

$template_hook[postbit_user_popup] = '<tr><td class="vbmenu_option"><a href="album.php?u=' . $post[userid] . '">Visit ' . $post[username] . ' photo album</a></td></tr>';


Active:Yes

Save

Thanks to: Lynne and ragtek

That's it.

Alexey?
04-07-2009, 07:05 PM
Nice.
Thank you.
But i dont use Albums in my forum lol.

Rated

Jasem
04-08-2009, 02:59 AM
Good work, thank you!

Installed

blind-eddie
08-25-2009, 07:02 PM
I am brain dead..What do I add before this code if a member does not have an Album?

That way the link will not show in drop down. Thanks

Kolektor
07-05-2010, 07:02 PM
it doesn't worked. I have got error messages.