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

Yeah the guests can view what is in the forums, but when they click the individual thread to read it they will get this error message.
Reply With Quote
  #43  
Old 04-13-2002, 11:31 PM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but i logged out, and i can read them fine???
Reply With Quote
  #44  
Old 04-14-2002, 03:38 AM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTT. still cannot get this going
Reply With Quote
  #45  
Old 04-28-2002, 07:52 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had this been integrated into Vb yet?
Reply With Quote
  #46  
Old 04-28-2002, 07:54 PM
sammy22 sammy22 is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still cannot get this going after several attemts. must not work on 2.2.5
Reply With Quote
  #47  
Old 04-28-2002, 08:51 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm... really I might have to try this
Reply With Quote
  #48  
Old 09-20-2002, 02:03 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know if this works for 2.2.7?
Reply With Quote
  #49  
Old 12-01-2002, 06:14 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by trainer
does anyone know if this works for 2.2.7?
Probably not. Doesn't work for 2.2.9...

All settings are there, dB query added, template added, and option changed in the CP to supposedly disable guest viewing. No errors, it just acts as if it doesn't work. Guests can click on them and view the contents without a problem. :disappointed:
Reply With Quote
  #50  
Old 12-02-2002, 08:03 PM
pepitojones pepitojones is offline
 
Join Date: Aug 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works just fine on 2.2.9. You should double check all of the steps and make sure you pay close attention to this part of the install:

Quote:
look for the following on line 208 (second occurence in file)
It won't work if you place it after the first one..

--

Also, the install file db query:

Code:
ALTER TABLE `forum` ADD `allowguestpostview` SMALLINT(6) DEFAULT '1' NOT NULL
sets all of the forums to allow viewing. If you wish to turn it off on ALL forums in one easy step, run this query on your vB db:

Code:
UPDATE `forum` SET `allowguestpostview` = 0
One other thing you might wish to do is set the default to be off in the db. This can be accomplished via this query:

Code:
ALTER TABLE `forum` CHANGE `allowguestpostview` `allowguestpostview` SMALLINT( 6 ) DEFAULT '0' NOT NULL
--

Hope that helps.
Reply With Quote
  #51  
Old 12-03-2002, 07:17 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahhhhhhhhhh.. You are correct. Works fine with 2.2.9. I didn't see the little words "(second occurence in file)" LOL

Guess that's what I get for trying to add code when drinking. hehehe!

Nice hack!
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:49 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.07540 seconds
  • Memory Usage 2,302KB
  • 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
  • (3)bbcode_code
  • (2)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