vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

mtf169 02-01-2004 12:07 AM

I have forums 3,4 for my news and also had them listed in the forum exclusion. After removing them from the exclusion list I made the code change again and get this error:

Parse error: parse error in /home2/www/numbmonkey/index.php on line 189

This is what the code looks like in my index.php file:

PHP Code:

// user configured forumids to exclude
if (!empty($vbindex['limitfids'])) {
    
$limitfids = array();
++++
$limitfids explode(','$vbindex['limitfids']);
    foreach(
$limitfids AS $key => $value) {
        
$limitfids["$key"] = intval($value);
    }
} else {
    
$limitfids = array(0);


I'm so stumped as to what I'm doing wrong.

Quote:

Originally Posted by NTLDR
Thank you :)

What have you entered into the news forum ids option? The latest threads should exclude them automatically, you don't need to add the to the exclude option as that should exclude them from the news too ;)

Are you sure you did the fix exactly as shown? Its works fine for me.


EvilCrow 02-01-2004 04:12 AM

/me *Clicks Install*

mknott 02-01-2004 07:09 AM

installed like a dream.. only problem i got was when i tried to link vbindex options in the admin control pannel.

i have insurted

PHP Code:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?''<br />'); 

after

PHP Code:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBulletin'), 'options.php?null=0''<br />'); 

but the link does not show up, the drop down menu gets about 4 pixels bigger but not enough to see any of the txt. Its enough to click to get to the vbindex options.


Also when i was adding it i noticed that

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBulletin'), 'options.php?null=0', '<br />');

was infact

construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');



please help as i cant figer out what is wrong

Sun Boy 02-01-2004 07:41 AM

the instructions is very prefly for editing the html files ... can you give us more detail please

mknott 02-01-2004 12:29 PM

ok here goes.... ya know you can put a link in the vb admin panel for vbindex options, well when i do it the link is not visable, the box is there but only just visable.

i can give a screen shot of it if it helps

xxskullxx 02-01-2004 01:02 PM

Use
Code:

construct_nav_option ('vBIndex','vbioptions.php?null=0', '<br />');
instead of
Code:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?', '<br />');
in your admincp/index.php

mknott 02-01-2004 01:30 PM

cool thanks :) it works

NTLDR 02-01-2004 05:13 PM

Quote:

Originally Posted by mtf169
I have forums 3,4 for my news and also had them listed in the forum exclusion. After removing them from the exclusion list I made the code change again and get this error:

Parse error: parse error in /home2/www/numbmonkey/index.php on line 189

This is what the code looks like in my index.php file:

PHP Code:

// user configured forumids to exclude
if (!empty($vbindex['limitfids'])) {
    
$limitfids = array();
++++
$limitfids explode(','$vbindex['limitfids']);
    foreach(
$limitfids AS $key => $value) {
        
$limitfids["$key"] = intval($value);
    }
} else {
    
$limitfids = array(0);


I'm so stumped as to what I'm doing wrong.

Those 4 + symbols shouldn't be there.

NTLDR 02-01-2004 05:16 PM

Quote:

Originally Posted by Sun Boy
the instructions is very prefly for editing the html files ... can you give us more detail please

Overwrite your templates with the content provided in the HTML files (which the file name is the template name).

PET 02-01-2004 07:19 PM

hi there.

How can i create other news categori ? I know how i can create new links...but i want another NEWS category.

thanx.


All times are GMT. The time now is 04:55 PM.

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.02724 seconds
  • Memory Usage 1,754KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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