vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Restrict Guest Viewing Threads in a Forum (https://vborg.vbsupport.ru/showthread.php?t=32132)

Okiewan 03-28-2002 03:06 PM

Yet another great -useful- hack! Thanks for sharing it.
Got it installed without a hitch, nice work.

Question...

I have a couple levels of members. There are private forums for "level 2" members... I'd like to allow guests to see the forum/threads, and get the error template, but a different one.

Regular forums: "sorry you'll need to be a member, join here"
Level 2 forums:" sorry, you need to be a level 2 member, join here"

Would this be difficult? My "level 2 " members pay a subscription for access to additional forums, would entice regular members to subscribe if they see the threads but not be able to read them :)

Thanks again for the hack!

Okiewan 03-28-2002 04:37 PM

One more Q.
Does this effect only "guests" or everyone that is not registered?
Meaning, can users awaiting email conf. read the threads?

Scott MacVicar 04-09-2002 06:18 AM

Anyone that is not logged in will be unable to see the threads.

There is nothing within the code which requires you to adjust that line which is giving you the error sammy, did you apply any other hacks while doing this one?

sammy22 04-13-2002 02:35 AM

ok, i changes the two php files, uploaded them, then i ran the query from my server control panel, and guests can still read threads? do i have to turn it off in the cpanel some where?

is there a radio botton i have to click? please help

thank you.

Scott MacVicar 04-13-2002 09:56 AM

You'll find a new option if you go to modify forums and click edit you will have a new radio button to let you select if guests can view threads.

Twig Deez 04-13-2002 12:26 PM

i'm unsure how i ever missed this; but now that i've seen it, installed it,
and noticed it's working perfectly, i would just like to say thanks.

thanks! :beard:

sammy22 04-13-2002 11:14 PM

ok, i re installed, it, no errors, but the guests can still see the board...... i have tried to install this 30 times.

i am on ver 2.2.5

what gives?

Scott MacVicar 04-13-2002 11:16 PM

this is designed to stop guests viewing a particular forum, not the board.

PM me your board url and i'll have a look at it.

sammy22 04-13-2002 11:20 PM

so in the query do i need to add a board "number"

like my main board is #3 for example, i need to add 3 in the query is this whats going on?

u have PM, thanks

sammy22 04-13-2002 11:27 PM

Quote:

Originally posted by PPN
You'll find a new option if you go to modify forums and click edit you will have a new radio button to let you select if guests can view threads.

Allow guests to view posts?
[ ]Yes[*]No

no is checked. yet they still see the forum... AHHH lol


All times are GMT. The time now is 01:45 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.01184 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete