vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Restrict Profile Viewing Until XX Posts (https://vborg.vbsupport.ru/showthread.php?t=130663)

N-0p3rz 11-03-2006 12:46 AM

Restrict Profile Viewing Until XX Posts
 
How can I restrict the viewing of profiles until a certain amount of posts...

I want to protect contact information..

I've already got a fix that'll let me hide contact info from guests..

I want to take it further..

I've searched the forums over and over with different search parameters.. I just can't find anything..

Any help :-(?

N-0p3rz 11-05-2006 03:44 AM

Still nothing?

SCRIPT3R 11-05-2006 05:04 AM

what fix are you talking about... vB can do all these things you're asking for by default forum permissions/promotions via usergroups. there are no needs for hacks or other modifications.

N-0p3rz 11-06-2006 02:29 AM

That's quite tedious..

SCRIPT3R 11-06-2006 04:26 AM

wow, a whole 2 minutes of your time is tedious?!?! if one was in a race, everything could probably be set up in less than thirty seconds. rather then load your forum full of unnecessary hacks, why not just learn how to use vB?

Adrian Schneider 11-06-2006 04:59 AM

member_start
PHP Code:

$minPosts 25;
if (
$vbulletin->userinfo['posts'] < $minPosts)
{
    
print_no_permission();
    
// or this:
    // standard_error("You need $minPosts posts to view user profiles.");



N-0p3rz 11-06-2006 07:54 PM

^Great thanks.. Just what I was looking for.. Appreciate it

SBlueman 09-12-2007 11:53 PM

Now will this not allow people to contact moderators or the admin? And does this work with 3.6.8?

Chris M 09-13-2007 12:25 AM

Based on the code above, it will not allow people to view any profile unless they have 25 or more posts...

It should still work on 3.6.8...

Chris


All times are GMT. The time now is 03:50 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.02398 seconds
  • Memory Usage 1,722KB
  • 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
  • (9)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