vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to disallow guest can't view Topic until to login to Forum? (https://vborg.vbsupport.ru/showthread.php?t=83134)

DesignersBox 06-15-2005 12:01 PM

How to disallow guest can't view Topic until to login to Forum?
 
In Vbulletin 3.0x, had 2 or 3 mod hack to do this, but in new vbulletin version 3.5 is not have mod hack yet.

Anyone can to do this.

Thanks you so much.

Andreas 06-15-2005 12:07 PM

ACP->Usergroups-> Usergroup Manager->Unregistered/Not logged In->Edit
Can View Thread Content = No

tinjon 06-15-2005 07:34 PM

Quote:

Originally Posted by KirbyDE
ACP->Usergroups-> Usergroup Manager->Unregistered/Not logged In->Edit
Can View Thread Content = No

That will display everything as "0" to guests which is kind of discouraging even though you may have thousands of posts in the forum that are visible after you log in. Now you could *tease* guests and lure them to sign up by showing the thread title, last poster etc, but when the try to read the thread, they won't be able to. *evil grin*

To do that, create the forums first and then in the Admin panel, goto "Forum Permission", choose the forum and do this for the guest/unregisterd group or any other group:

can view forum? - yes
view thread content? - no
can view others thread? - yes

That should do it. :cool:

Andreas 06-15-2005 07:37 PM

Hmm, this is what it does for me:
As guest I can see all thread titels, # of replies,views - but not the thread itself.

DesignersBox 06-16-2005 06:15 AM

Quote:

Originally Posted by KirbyDE
ACP->Usergroups-> Usergroup Manager->Unregistered/Not logged In->Edit
Can View Thread Content = No

- Thanks for help me. But if used this, when everyone connect to Forum they see the notice board to must login. It's very unconvenient.

Then I want edit same mod hack same : guest can see everything in Forum such as : name Box, name thread,etc...if guest click to unexpected thread in Forum to see detail content, guest must login with username and password :

https://vborg.vbsupport.ru/showthrea...forums+threads

I tried to hack as above mod, but structure source of vbulletin 3.5 beta difference structure vbulletin 3.0x

Andreas 06-16-2005 07:49 AM

Quote:

Originally Posted by DesignersBox
- Thanks for help me. But if used this, when everyone connect to Forum they see the notice board to must login. It's very unconvenient.

Hmm ... I only get no permissions errors when I actually click a thread ...

Quote:

Then I want edit same mod hack same : guest can see everything in Forum such as : name Box, name thread,etc...if guest click to unexpected thread in Forum to see detail content, guest must login with username and password :
This is exactly what the setting does for me.

Zachery 06-16-2005 08:39 AM

Quote:

Originally Posted by DesignersBox
- Thanks for help me. But if used this, when everyone connect to Forum they see the notice board to must login. It's very unconvenient.

Then I want edit same mod hack same : guest can see everything in Forum such as : name Box, name thread,etc...if guest click to unexpected thread in Forum to see detail content, guest must login with username and password :

https://vborg.vbsupport.ru/showthrea...forums+threads

I tried to hack as above mod, but structure source of vbulletin 3.5 beta difference structure vbulletin 3.0x

Have you taken the time to properly check your permissions?

freakyshiat 10-03-2005 07:49 AM

try this

if ($vbulletin->userinfo[userid] == 0)
{
print_no_permission();
}


All times are GMT. The time now is 03:08 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.01010 seconds
  • Memory Usage 1,731KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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