Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2003, 08:37 PM
97cobracpe 97cobracpe is offline
 
Join Date: Feb 2003
Location: Chicago
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Restricting access to forums?

I have asked this at vbulletin.com, and they refered me here.

Here is my request.

I want the forums to be in the main list of forums viewed. But when it's click by anyone other that a member, it'll pop up a denied message. Right now it's goes into the forums, but simply doesn't show any threads. I have the permissions (for unregistered users) all set to no, but left view forum yes. If set that as well, then the forum is not shown on the main forum list. I believe it's working as it's supposed to, but I have seen something better than what I have.

An example of what I'm talkin about is here

http://mustangcentral.net/mcforums

Try to go into the bad boy rubber room. It's visible, but when click you get an message saying you need to login/register. This is what I want.

How did he do that? I'm running the 2.2.9 version of vbulletin.
Reply With Quote
  #2  
Old 02-16-2003, 08:44 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That hack has already been written. BRB, I'll find the url for you.

Amy
Reply With Quote
  #3  
Old 02-16-2003, 08:45 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=32132&highlight=guests+ read+threads" target="_blank">https://vborg.vbsupport.ru/showt...s+read+threads</a>
Reply With Quote
  #4  
Old 02-16-2003, 08:51 PM
97cobracpe 97cobracpe is offline
 
Join Date: Feb 2003
Location: Chicago
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wonderfull!! Thanks, I hope I don't mess it up.
Reply With Quote
  #5  
Old 02-16-2003, 09:37 PM
97cobracpe 97cobracpe is offline
 
Join Date: Feb 2003
Location: Chicago
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it on a test dummy board, and it works. But it's not exactly what I'm looking for.

I want the guest to view the entire forum list, and when they click on a forum to see the threads within, they get denied.

The hack I have allows guests into the forums and to view the threads, it simply denies reading the threads. I want the guest stopped as soon as they click on the forum. I'll continue to search for it for the time being.

The link I provided is a great example of what I'm looking for.
Reply With Quote
  #6  
Old 02-16-2003, 09:48 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey I was looking for this exact same thing a few days ago, but with no luck. I think that hack mentioned above could possibly be modified to work how you wanted it, but I wouldn't know where to begin... I'll take a look at it and maybe it's an easy modification...
Reply With Quote
  #7  
Old 02-17-2003, 05:30 AM
97cobracpe 97cobracpe is offline
 
Join Date: Feb 2003
Location: Chicago
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it out And it didn't even require a hack.

I set all the permissions for the guests to off for my members only forum. This would hide it from everyone who didn't have at least a registered member status.

Then I went into the board options and set the view private forums to yes.

Now the forum is displayed for everyone, but all guests will receive a register/login page.
Reply With Quote
  #8  
Old 02-17-2003, 06:41 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, but that only works for mod and admin only forums... right? I wanted to do something like this for other forums, or does this work for all forums?? I'll try it tomorrow and find out I guess lol!
Reply With Quote
  #9  
Old 02-27-2003, 01:46 AM
97cobracpe 97cobracpe is offline
 
Join Date: Feb 2003
Location: Chicago
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should work for all the forums. At least it did for me.
Reply With Quote
  #10  
Old 03-14-2003, 12:07 AM
scatpack scatpack is offline
 
Join Date: Jan 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im looking for something similar...

I want to lock a certain forum only to certain users (whos post count = x). Is there a way to adapt this?
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:01 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.04386 seconds
  • Memory Usage 2,243KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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