Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2005, 12:01 PM
DesignersBox DesignersBox is offline
 
Join Date: Feb 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 06-15-2005, 12:07 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ACP->Usergroups-> Usergroup Manager->Unregistered/Not logged In->Edit
Can View Thread Content = No
Reply With Quote
  #3  
Old 06-15-2005, 07:34 PM
tinjon tinjon is offline
 
Join Date: May 2005
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 06-15-2005, 07:37 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, this is what it does for me:
As guest I can see all thread titels, # of replies,views - but not the thread itself.
Reply With Quote
  #5  
Old 06-16-2005, 06:15 AM
DesignersBox DesignersBox is offline
 
Join Date: Feb 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 06-16-2005, 07:49 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-16-2005, 08:39 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 10-03-2005, 07:49 AM
freakyshiat freakyshiat is offline
 
Join Date: Nov 2001
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try this

if ($vbulletin->userinfo[userid] == 0)
{
print_no_permission();
}
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 02:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04350 seconds
  • Memory Usage 2,231KB
  • 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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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