vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE V2.0.1] New Forum Features (https://vborg.vbsupport.ru/showthread.php?t=19390)

butty 07-06-2001 02:55 AM

great hack :) cheers buddy works a charm, although i had 2 use the instructions off the first page n had 2 ad another ) to the code like in that other post

robertusss 07-06-2001 06:08 AM

Quote:

Originally posted by wluke

... have 20 posts minimum so that they contribute to the community in a meaningful way (since posts in the general chat forum don't count) before they ....

erm, do I understand you right? you have a "general chat" subforum and posts in there do not count to the users total number of posts?

Is that a new feature I don't know about (still using beta3 - maybe it has been implemented later)? or is it a hack of yours?

polgas 07-07-2001 12:59 PM

You can set a forum wherein the user's posts will not count to their total posts. It is in the Control Panel.

MrLister 07-14-2001 05:15 AM

why do i keep getting this. if somebody is not registered and is trying to view the forum it keeps saying
Quote:

Sorry you must have at least posts to view threads in this forum
and it is set to 0 views min.

SteveK 07-17-2001 10:52 PM

I'm experiencing the same with the unregistered Needing "0" Posts to view threads.

fastforward 07-18-2001 12:38 AM

Quote:

Originally posted by SteveK
I'm experiencing the same with the unregistered Needing "0" Posts to view threads.
You need to put $foruminfo[minposts] and/or $foruminfo[minviewposts] in your error templates.

MrLister 07-18-2001 01:08 AM

yea but the problem is, no matter what value i put down it still doesn't let unregistered users view anything

fastforward 07-18-2001 03:37 AM

Quote:

Originally posted by mrlister
yea but the problem is, no matter what value i put down it still doesn't let unregistered users view anything
Alter the line that checks for posting permissions in newthread.php to something like this

if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno post")."\");");
exit;
}

SteveK 07-18-2001 05:25 AM

Don't forget to change the same thing in forumdisplay.php also! This worked, Thanks for your reply.

Wayne Luke 07-18-2001 06:18 AM

I had posted before that this had to be changed and I thought I updated the files appropriately. I will double check them in the morning and if necessary re-upload.


All times are GMT. The time now is 07:09 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.01265 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete