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
  #22  
Old 11-14-2001, 07:35 PM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're great PPN, thank you so so much.

I compared 2 files and saw that you've changed much of it, without you changing it, no way I could modify it myself.

Thanks again,
Reply With Quote
  #23  
Old 11-30-2001, 08:15 PM
kanima kanima is offline
 
Join Date: Nov 2001
Location: an
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is what i get when trying ot make a new forum after adding hack, so what is wrong ???


Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,daysprun e,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch,allowguestpostview)
VALUES
(NULL,'1','Request to join-|TKP|-','All your joining request go here.','1','1','-1',
'','1','1','30','dstinson@troycable.net','',
'1','0','1','0','1','1',
'0','1','1','0','1')
mysql error: Unknown column 'allowguestpostview' in 'field list'

mysql error number: 1054

Date: Friday 30th of November 2001 04:31:00 PM
Script: http://www.ip-subspace.com/forum/forum/admin/forum.php
Referer: http://www.ip-subspace.com/forum/adm...php?action=add
Reply With Quote
  #24  
Old 11-30-2001, 09:32 PM
kanima kanima is offline
 
Join Date: Nov 2001
Location: an
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NeverMind

Too used to Perl and all teh #### at top
that i don't read lol
Reply With Quote
  #25  
Old 12-01-2001, 06:54 PM
Marc T Smith's Avatar
Marc T Smith Marc T Smith is offline
 
Join Date: Nov 2001
Location: Southern Ohio
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by PPN

ok em sorted you had added the insert query into the doupdate part of the file.

Just reload this to the admin directory.

Scott
So - if I run the SQL query via phpmyadmin as prep:

ALTER TABLE `forum` ADD `allowguestpostview` SMALLINT(6) DEFAULT '1' NOT NULL

And then upload the file you posted for Nam (which is essentially forum.php already hacked), it will work.

Is this correct?
Reply With Quote
  #26  
Old 12-02-2001, 08:59 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

won't advise it, i'm sure that was for version 2.2.0 and the latest is 2.2.1, the hack isn't hard to install so it would be simplier for you just to copy and paste.
Reply With Quote
  #27  
Old 12-03-2001, 08:01 PM
kanima kanima is offline
 
Join Date: Nov 2001
Location: an
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got the No view working, but it is not putting up the resigter page for guest to view ideas ?
Reply With Quote
  #28  
Old 03-25-2002, 06:54 PM
frozt's Avatar
frozt frozt is offline
 
Join Date: Mar 2002
Location: Sweden
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!
Reply With Quote
  #29  
Old 03-27-2002, 06:33 PM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this hack installed and had no problems with it, see no errors etc.

But if I go to my Who's Online page I still see people browsing threads!

How is this possible?
Reply With Quote
  #30  
Old 03-27-2002, 10:50 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has been addressed on vBulletin.com, I can't remember specific details but if they try to view the thread, it puts the page their at still into the session table which will give you the opinion that their viewing the thread.
Though all their viewing is the no permission page.
Reply With Quote
  #31  
Old 03-27-2002, 11:09 PM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, than it must be all ok, because when I logged off and entered my site as guest I didn't see anything and thought maybe they have still some tricks to get in!

Wow, i'm happy now!

Thanks PPN for the fast reply.

Keep up the great work.
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:39 PM.


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.04538 seconds
  • Memory Usage 2,301KB
  • 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