vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Private Message button on Member List? (https://vborg.vbsupport.ru/showthread.php?t=33008)

CynthiaD 12-07-2001 09:58 AM

I've searched here but haven't found the following:

Adding the private message button and link to the Members List so you could pm someone right from the Members List. Of course, it would only show up if the person had checked to allow for private messaging.

Does this hack already exist?

SWFans.net 12-07-2001 11:16 AM

Sounds like a template modification to me. I was able to do so myself just editing the memberlist and memberlistbit templates, using some info I got out of the User Info display templates to get an individual member's PM info.

CynthiaD 12-08-2001 02:49 PM

Thank you, I will see if I can figure it out!

James Cridland 12-08-2001 08:16 PM

The code you want is...

After <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">$userinfo[username]</a>

Add

$userinfo[pmlink]

This will add the PM button next to their name.

You might want to think about making it look prettier, but that's the code you need.

CynthiaD 12-08-2001 09:27 PM

Aren't you great! Thanks for that! :)


All times are GMT. The time now is 12:37 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.00940 seconds
  • Memory Usage 1,709KB
  • 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)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