Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-02-2006, 07:21 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Allow Guests to View Topics but Not Read? 3.6.2 Mod?

Is there a mod out there that will allow me to set it so that guests can see the front page forum, click a catagory, see the posts, but when they click on a post have it so that they need to be registered to view? Im using 3.6.2. Thanks!

I am having errors with my 3.6.2 after an upgrade from 3.5.4, and the mod I had that did do this no longer works, and I get errors emailed to me if I try to do it another way and get an error page.
Reply With Quote
  #2  
Old 11-02-2006, 09:49 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No mod nessary, its a standard feature.

Can view thread content > No
Can view forum > Yes
Reply With Quote
  #3  
Old 11-02-2006, 09:59 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
No mod nessary, its a standard feature.

Can view thread content > No
Can view forum > Yes
3


Yes, that gives me database errors when I do this....I used a mod before and it worked fine on 3.5.4, but the mod will not work in 3.6.2
Reply With Quote
  #4  
Old 11-02-2006, 10:01 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What mod, and its not possible for a stock feature like that to normally generate database errors, if it is generating them please post them so we can take a look and fix it.
Reply With Quote
  #5  
Old 11-02-2006, 11:07 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
What mod, and its not possible for a stock feature like that to normally generate database errors, if it is generating them please post them so we can take a look and fix it.
The 3.5.4 version of the mod (does not work after I upgraded to 3.6.2) is called [vB 3.5.4] Allow Guests to view thread titles only... [v.1.00]

Here is the error it gives me via email when a guest tries to view when I have your suggestion set


atabase error in vBulletin 3.6.2:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,

thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount




,post.pagetext
FROM thread AS thread







WHERE thread.threadid IN (0)
ORDER BY sticky DESC, lastpost DESC;

MySQL Error : Unknown table 'post' in field list
Error Number : 1109
Date : Thursday, November 2nd 2006 @ 04:17:30 PM
Script : http://www.xxxxxxxx.net/forumdisplay.php?f=2
Referrer : http://www.xxxxxxxx.net/
IP Address : 12.345.678.901
Username : Unregistered
Classname : vb_database
Reply With Quote
  #6  
Old 11-03-2006, 05:04 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this with that addon in question enabled or disabled.
Reply With Quote
  #7  
Old 11-03-2006, 05:58 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Is this with that addon in question enabled or disabled.

Uninstalled.
Reply With Quote
  #8  
Old 11-03-2006, 06:19 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disable all your plugins - or find and disable the plugin attached to the forumdisplay_query_threadid hook that is adding ",post.pagetext" to the query.
Reply With Quote
  #9  
Old 11-03-2006, 07:21 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didnt find any with forumdisplay_query_threadid, but I found 2 that was forumdisplay_query....Would that be it? (Hide Hack and Vbplaza)
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:26 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.04046 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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