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)

Jpp 06-06-2001 03:15 PM

Ok that make sence, have to figure out how to use it on my board then. Btw very nice work. ;-)

gmtalk 06-06-2001 07:29 PM

This looks to be a great hack. I just ran into a slight problem on the install

I have followed the instructions and when i run the ff_install.php

I get to the following
Forum Features (version 1.2)
from Wayne Luke
Altering forum table
Installing necessary templates...

it just hangs there.

Does not go any further.

I have seen that it created the following in the forum table:


metakey char(250) Yes None NULL
metadesc char(250) Yes None NULL
robotext char(50) Yes None NULL
showactive smallint(5) No None 1
censor smallint(5) No None 1
minviewposts smallint(5) No None 0
minposts smallint(5) No None 0

No other information was entered that I can see in any of the tables.

Any thoughts. I have removed the above fields.

TIA

john

Wayne Luke 06-06-2001 09:42 PM

It isn't hanging there.. It is done at that point.

To clarify, I add a phrase saying it was done at the end of the script.

The only table in the database that it touches is the forum table and those fields are the ones it adds. The install script also adds 2 new error templates to handle the minimum post requirements for new threads and viewing a forum.

You can change these options by modifying a particular forum.

gmtalk 06-07-2001 02:34 AM

WLuke,

I installed and now I get this when I try to add a subforum.


Database error in vBulletin Control Panel: Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,daysprun e,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch,metakey,metadesc,robotext,
showactive,censor,minviewposts,minposts)
values (NULL,'1','testtesttest','',
'1','1','1','','1','1',
'30','','',
'0','0','1','0','1',
'1','0','1','1','0',
'','','',
1,1,,)
mysql error: You have an error in your SQL syntax near ')' at line 13
mysql error number: 1064
Date: Wednesday 06th of June 2001 10:31:10 PM
Script: /forum2/admin/forum.php
Referer: http://www.s-seriesforum.com/forum2/...add&parentid=1

fastforward 06-07-2001 04:27 AM

You need to put single quotes around the $minviewposts and $minposts in the INSERT statement you edited in admin/forum.php. For some reason MySQL requires quotes for all datatypes except INT. Those two fields are SMALLINT.

Snoozy 06-07-2001 05:24 AM

If I do all of your code changes, and run upgrade10.php from the newest vbulletin2.zip file that I downloaded from the Member's Area, will I be fully compliant with 2.0.1, becuse I have alot of hacks, and don't want to have to go through them all again....Thanks.

Wayne Luke 06-07-2001 11:23 AM

Quote:

Originally posted by Snoozy
If I do all of your code changes, and run upgrade10.php from the newest vbulletin2.zip file that I downloaded from the Member's Area, will I be fully compliant with 2.0.1, becuse I have alot of hacks, and don't want to have to go through them all again....Thanks.
You will have to apply all the hacks to the 2.0.1 code base to be compliant with it. This hack is not part of the official vBulletin distribution.

Snoozy 06-07-2001 01:25 PM

Is there anywhere I can find a list of changes in 2.0.1? from 2.0.0

kdog316 06-07-2001 01:40 PM

when i try to run the ff_install.php i get this erorr

Quote:

Fatal error: Call to undefined function: cpheader() in /home/photo/public_html/tmbps/ff_install.php on line 7
:confused:

Wayne Luke 06-07-2001 05:02 PM

Put it in your admin directory.


All times are GMT. The time now is 01:47 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.01111 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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