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)

Wayne Luke 12-08-2001 07:56 PM

Hmmm... I don't know why this has a 2.2.1 tag in the forum list. It has never been tested in that version. Also this hack is pretty much unsupported and has been for months.

Recently, I did get asked a question about guests and viewing options....

You have two options to fix this. I used the second option.

1) Set a Guest's postcount to -1 in session.php.

2) Change the fields added to the database for this hack to unsigned and set the value to -1 on a per forum basis. Since a guests post count will be higher at 0, this is the optimal solution.

fonzerelli_79 12-08-2001 09:50 PM

i have changed the forum permissions to -1 but i dont know how to Change the fields added to the database for this hack to unsigned

SaintDog 12-20-2001 04:17 AM

Where is the file I am supposed to download?

fonzerelli_79 12-20-2001 01:45 PM

is anyone else still getting the error where your guests cant view the threads

its driving me nuts

fonzerelli_79 12-25-2001 10:47 PM

i was really frustrated after installing this hack as it didnt work and i dont enough enough about php to resolve it

I sent a private message to Bira and he has provided an un-installer for everyone to remove this hack

can you believe, he did it on christmas day!

I have attached the files. Its very straight forward and all credit should go to Bira.

I think i speak for a lot of members when i
say 'Muchos Gratius'

:D :D

mondaynightmike 02-17-2002 04:20 PM

Where is the file for the hack??

mondaynightmike 02-17-2002 04:23 PM

its ok i found it on page 2

mondaynightmike 02-17-2002 07:38 PM

hum... when i run the install file i get this:

Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: ALTER TABLE forum
ADD metakey CHAR(250) NULL,
ADD metadesc CHAR(250) NULL,
ADD robotext CHAR(50) NULL,
ADD showactive SMALLINT(5) DEFAULT '1' NOT NULL,
ADD censor SMALLINT(5) DEFAULT '1' NOT NULL,
ADD minviewposts SMALLINT(5) DEFAULT '0' NOT NULL,
ADD minposts SMALLINT(5) DEFAULT '0' NOT NULL
mysql error: Duplicate column name 'minviewposts'

mysql error number: 1060

Can anyone help?

newsguy 07-11-2002 10:12 PM

I'm sure this is a great hack and it accomplishes a lot of things at once.

But...

I would like to just require that members reach a minimum # of posts to have permission to start a new thread. So, I would rather not run the whole mechanism in wluke's hack, but instead, just do the single feature of requiring a minimum # of posts to start a thread.

Is there a hack on this board that would just accomplish that? Or is there a way that I can just extract that functionality from wluke's hack?

Help would be greatly appreciated!

RiP-Productions 09-14-2002 11:20 AM

Quote:

Originally posted by newsguy
I'm sure this is a great hack and it accomplishes a lot of things at once.

But...

I would like to just require that members reach a minimum # of posts to have permission to start a new thread. So, I would rather not run the whole mechanism in wluke's hack, but instead, just do the single feature of requiring a minimum # of posts to start a thread.

Is there a hack on this board that would just accomplish that? Or is there a way that I can just extract that functionality from wluke's hack?

Help would be greatly appreciated!

Believe a hack from DarkSSJ does the trick.
Need xx posts to make an new thread

But have a question, Installed the hack partitially (needed only the "you must have x posts to view this forum" hack, but is there a possiblity that a special Usergroup with NOT the amount of posts can bypass the hack. It seems to be only a small adjustment but don't know how... Think it has to do with a small adjustment in the code below.

Code:

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

Who can help me :D


All times are GMT. The time now is 11:12 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.01311 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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