The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
sorry im still new to this... i was wondering is there anyway to only show the members page to registered users and above? basicly if they aint registered or loged in they cant see it then.. and it would show them the login page like you can do for calander and usercp...
|
#2
|
|||
|
|||
![]()
What exactly you want to restrict from unregistered guests?
|
#3
|
||||
|
||||
![]()
believe he/she doesnt want unregistered users to see the profiles (member.php?u=x), calendar, and usercp...but it does the usercp by default, soo..
|
#4
|
||||
|
||||
![]()
nah i dont want them to see the members page(memberlist.php) unless they are registered... like if your not signed in you can see the members page still is there a way to stop that.... (example) if i click on the calander i have it set to only registered or admins or mods can see it same with user cp... so what im basicly asking how can i shut the members page off to non registered people and banned users but have it displayed for members and admins and mods... hope you understand what i mean...
|
#5
|
||||
|
||||
![]()
open up
Code:
<vb root>/memberlist.php Code:
// ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### Code:
if ($vbulletin->userinfo['userid'] == 0) { print_no_permission(); } |
#6
|
||||
|
||||
![]()
thank you now i can just add which user groups i dont want seeing it right after the 0?
|
#7
|
|||
|
|||
![]()
No need for an edit, just set the 'Can View Member Info' usergroup permission for unregged and banned to No.
|
#8
|
||||
|
||||
![]()
that worked even better thank you both for your fast replys...
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|