vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Allow Guests to View Topics but Not Read? 3.6.2 Mod? (https://vborg.vbsupport.ru/showthread.php?t=130644)

Necrosaro420 11-02-2006 07:21 PM

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.

Zachery 11-02-2006 09:49 PM

No mod nessary, its a standard feature.

Can view thread content > No
Can view forum > Yes

Necrosaro420 11-02-2006 09:59 PM

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

Zachery 11-02-2006 10:01 PM

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.

Necrosaro420 11-02-2006 11:07 PM

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

Zachery 11-03-2006 05:04 PM

Is this with that addon in question enabled or disabled.

Necrosaro420 11-03-2006 05:58 PM

Quote:

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


Uninstalled.

Paul M 11-03-2006 06:19 PM

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.

Necrosaro420 11-03-2006 07:21 PM

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


All times are GMT. The time now is 05:27 AM.

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.02122 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete