vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Link to Photo Albums on Profile Popup (https://vborg.vbsupport.ru/showthread.php?t=210576)

Ipuck 04-06-2009 10:00 PM

Link to Photo Albums on Profile Popup
 
1 Attachment(s)
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:
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.


All times are GMT. The time now is 01:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01011 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete