Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Help needed, please. Details »»
Help needed, please.
Version: , by Cin Cin is offline
Developer Last Online: Oct 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-24-2002 Last Update: Never Installs: 0
 
No support by the author.

I'm not sure I am posting this in the proper place, but I hope that someone can give me some guidance here. Apologies in advance if in the wrong area.

I have an up and running forum, on which we have installed many of your wonderful hacks. My problem doesn't lie with any of them. It has just come to my attention that a webmaster from another website is coming to our site and poaching email addys from our members list and emailing them trying to lure them to their site.

Yes, I can just ban them, but then they could just register from another IP and get right back in and I wouldn't know it was them. I'd rather keep them where I can see them. What I want to know is if there is ANY way I can block their access to my members list. I know that in Admin CP you are able to block someone from specific forums but the members list is not an option there. I have been unable to find a hack here for this. Is there something available or does anyone have a solution to allow me to block them from viewing my members list?

Any help or ideas would be appreciated.

~Cin~

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-24-2002, 10:03 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in memberlist.php after require global.php

add this:
PHP Code:
if($bbuserinfo[usergroupid]==2show_nopermission(); 
so no registred member will have acces to the list anymore
Reply With Quote
  #3  
Old 12-24-2002, 10:13 AM
Cin Cin is offline
 
Join Date: Nov 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Xenon, thanks for replying. I don't want to hide memberlist from EVERYONE. I want deny access to it for specific members. Any ideas?

~Cin~
Reply With Quote
  #4  
Old 12-24-2002, 11:42 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use this instead:

PHP Code:
if(in_array($bbuserinfo[userid], array(x,y,z))) show_nopermission(); 
replace x, y, z with the userids of those members
Reply With Quote
  #5  
Old 12-24-2002, 11:48 AM
DaveRobbo's Avatar
DaveRobbo DaveRobbo is offline
 
Join Date: Nov 2002
Location: Berkshire, UK
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Xenon! I was just about to reply asking if that would do the trick!

I'm Cin's co-administrator on the board in question ... my solution was to ask you if the following code would do the trick ....

PHP Code:
if($bbuserinfo[userid]==8show_nopermission(); 
(where '8' is the userid of the errant member) ... but your use of in_array() makes it even more flexible!! Thanks so much

Davie
Reply With Quote
  #6  
Old 12-24-2002, 01:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


it always feels good if i could help

if you just have one userid, your method is the way to do it, but if you have more i'd use my way.
Reply With Quote
  #7  
Old 12-26-2002, 12:57 AM
DaveRobbo's Avatar
DaveRobbo DaveRobbo is offline
 
Join Date: Nov 2002
Location: Berkshire, UK
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks Stefan ... works like a charm

Would a similar hack to member.php work for stopping them looking at individual users' profiles? Do I need the same anywhere else? member2.php maybe?

Dave
Reply With Quote
  #8  
Old 12-28-2002, 09:33 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, the same can be used on member.php for the getinfo section
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:55 PM.


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.05253 seconds
  • Memory Usage 2,269KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete