vb.org Archive

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

NTR Plus 12-29-2002 05:12 PM

Member List hack
 
1. Looking for a hack that will show all email links in the email column of the members list when logged in as an admin. I would like to see all regardless if they chose visible or invisible.

2. Is there a hack that allows avatars to be shown in the members list.

Thanks in advance.

Xenon 12-30-2002 10:34 AM

1.
open memberlist.php

find this:
PHP Code:

    if ($userinfo[showemail] and $displayemails) { 

and replace with:
PHP Code:

    if ($bbuserinfo['usergroupid']==or($userinfo[showemail] and $displayemails)) { 


NTR Plus 12-30-2002 03:35 PM

Thanks for the response, BUT, I recieve an error on line 174 when I replace that line with your suggested line. I do have a couple hacks installed so this might be why.

Attached is a vopy of my memerslist.php

I appreciate your help and based on my members suggestions I would like the following if at all possible:

1. No groups permitted to see the email option when looking at the members list except admins.

In others word everone in all group will see empty data in the email feild, Admins will see the email button no matter what, even if the member chose to be hidden.

Really appreciate any help here
NTR Plus

Xenon 12-30-2002 03:44 PM

*deletefile*
you are not allowed to post vb-files here!

nevertheless i just made a typingmistake, retry the code now :)

NTR Plus 12-30-2002 04:26 PM

Thank you and I'll learn the rules eventually. :rolleyes:

I also changed your line so I could achieve my second goal.

PHP Code:

if ($bbuserinfo['usergroupid']==6) { 

Again Many thanks

Xenon 12-30-2002 05:01 PM

no problem :)

you're welcome


All times are GMT. The time now is 01:25 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.03230 seconds
  • Memory Usage 1,719KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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