PDA

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


Ipuck
07 Apr 2009, 19:43
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™
07 Apr 2009, 21:05
Nice.
Thank you.
But i dont use Albums in my forum lol.


Rated

Jasem
08 Apr 2009, 04:59
Good work, thank you!

Installed

blind-eddie
25 Aug 2009, 21:02
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
05 Jul 2010, 21:02
it doesn't worked. I have got error messages.