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)

kdog316 06-07-2001 06:06 PM

ok but now when i try to post a new thread i get this erorr
Quote:

Parse error: parse error in /home/photo/public_html/tmbps/newthread.php on line 306
:confused:

Wayne Luke 06-07-2001 09:08 PM

Double check and make sure your code changes match the ones listed in the first post of this thread.

kdog316 06-07-2001 09:09 PM

could it be because i have version 2.0 not 2.01 it wont work:confused:

Wayne Luke 06-07-2001 09:10 PM

It will work in both.... And most likely all the betas as well.

kdog316 06-07-2001 09:35 PM

red di ti and still get the erorr and here is what lines 307-310 look like
PHP Code:

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

here is line 307 the one it is saying is wrong
PHP Code:

 if (($foruminfo[minposts]>=$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid])) { 

oh and add reply works fine

Wayne Luke 06-07-2001 09:41 PM

You need to add another closing paranthesis ')' before the curly brace '{'.

kdog316 06-07-2001 09:48 PM

where

Mas*Mind 06-07-2001 10:06 PM

this is definitely wrong:

PHP Code:

}[userid])) { 


kdog316 06-07-2001 10:41 PM

so whwre do i add the (

Wayne Luke 06-08-2001 01:16 AM

Make it look like:
PHP Code:

if (($foruminfo[minposts]>=$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) { 

and replace the line after "exit;" with }


All times are GMT. The time now is 01:23 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.01119 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (1)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