vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Show/Hide Private Forums (https://vborg.vbsupport.ru/showthread.php?t=93093)

Andreas 08-12-2005 09:37 AM

Ack. This is a Bug in vBulletin.
Fixed the XML and updated the ZIP.

taffy056 08-14-2005 01:02 AM

Hi Kirby,

Got the following error when I try to add a new forum in the admincp, when I disable your hack all is okay, enabled it just throws this out.

taffy

Code:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
INSERT INTO forum
        (title_clean, title, description_clean, description, link, displayorder, daysprune, parentid, newpostemail, newthreademail, options, styleid, password, issponsor, sponsor_banner, sponsor_url, showifnopermission)
VALUES
        ('Admin Forum', 'Admin Forum', '', '', '', 1, -1, 1, '', '', 89799, 0, '', '0', '', '', 0);

MySQL Error  : Unknown column 'showifnopermission' in 'field list'
Error Number : 1054
Date                : Sunday, August 14th 2005 @ 03:55:36 AM
Script          : http://www.mydomain.org.uk/testforum/admincp/forum.php
Referrer        : http://www.mydomain.org.uk/testforum/admincp/forum.php?do=add&parentid=1&s=
IP Address  : *.*.*.*
Username        : *
Classname        : vb_databas


Andreas 08-14-2005 02:17 AM

*hmpf*

Run the following Query
[sql]ALTER TABLE forum ADD showifnopermission TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'[/sql]
(Keep Table-Prefixes in mind!)

Or redownload and overwrite.

taffy056 08-14-2005 07:47 AM

Hi,

That fixed it, thank you for sharing :)

taffy

JohnBee 11-05-2006 05:45 PM

Great MOD

Is it possible to get it to work for Sub-Forums on the FORUMHOME display?
It hides all the forums but sub-forums remain visible even if I select NO under the visible option.


All times are GMT. The time now is 08:56 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.01053 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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