Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-03-2001 Last Update: Never Installs: 23
 
No support by the author.

I'm actually suprised that you can't stop guests from viewing threads themselves in forum and the only solution is to stop them Viewing others and that includes the thread titles on forumdisplay.

This lets guests see threads made by someone else on the forumdisplay page but not the thread itself, they'll get a nice error telling them to register.

Can be enabled on a forum by forum basis within the forum options.

I use this for a member forum on my board and I would rather show a guest what the thread title is, instead of showing no title at all

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-28-2002, 03:06 PM
Okiewan's Avatar
Okiewan Okiewan is offline
 
Join Date: Dec 2001
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #33  
Old 03-28-2002, 04:37 PM
Okiewan's Avatar
Okiewan Okiewan is offline
 
Join Date: Dec 2001
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more Q.
Does this effect only "guests" or everyone that is not registered?
Meaning, can users awaiting email conf. read the threads?
Reply With Quote
  #34  
Old 04-09-2002, 06:18 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #35  
Old 04-13-2002, 02:35 AM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 04-13-2002, 09:56 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 04-13-2002, 12:26 PM
Twig Deez's Avatar
Twig Deez Twig Deez is offline
 
Join Date: Nov 2001
Location: Aotearoa
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #38  
Old 04-13-2002, 11:14 PM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #39  
Old 04-13-2002, 11:16 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 04-13-2002, 11:20 PM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #41  
Old 04-13-2002, 11:27 PM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 08:36 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.05580 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete