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)

NTLDR 01-21-2004 09:17 AM

Quote:

Originally Posted by Big Jim
I really enjoy the 'random' poll feature. However, is their someway to limit the date as to how far it goes back on the poll? I'm getting posts pulled up from ages ago. Also, being able to highlight the title of the poll and have a 'thread preview' would be pretty nifty as well (for the polls that don't make a tonne of sense without some information).

In vbindex.php find:

PHP Code:

".iif(strtoupper($vbindex['pollsforumid']) != 'ALL', "AND thread.forumid IN ($vbindex[pollsforumid])")." 

Add before:

PHP Code:

AND poll.dateline ". TIMENOW - X." 

Replacing X with the number of seconds old it can be, for example any poll created within the last 31 days put 2678400.

I'll try and remember to add the thread preview to RC4.

jaliam 01-21-2004 09:44 AM

Quote:

Originally Posted by NTLDR
Make sure you have uploaded all the files to the correct directories and that you have the right value entered for $admincpdir in includes/config.php

I just verified everything and it all seems to be in the correct places.

NTLDR 01-21-2004 10:11 AM

The easiest solution is to find in vbiupgradecore.php:

PHP Code:

chdir('../'.$admincpdir); 

And replace it with the full path to your admin cp directory, eg:

PHP Code:

chdir('/home/bogus/public_html/forums/admincp'); 


Mukashi 01-21-2004 10:17 AM

Quote:

Originally Posted by NTLDR
It seems to work fine on my site, I'd check your vbindex_side template and make sure it has the following in it:

(Snipped Code for space)

The $vbindex['options'] <if> blocks are the important parts that adjust the width.

The block showed up as

HTML Code:

<!-- start side ($currentside) -->
<td width="150" style="vertical-align: top">
        <if condition="$currentside == 'left'">
                $home[leftblocks]
        </if>

        <if condition="$currentside == 'right'">
                $home[rightblocks]
        </if>
</td>
<!-- end side ($currentside) -->

I've edited my template with the corrections. Thanks for the help.

d3nnis 01-21-2004 04:03 PM

Help! I am stuck at step 7... it says page cannot be found?

I have loaded the following...

/root

vbindex.php
vbiconfig.php

forums/includes/cron

eventcache.php

forums/install

vbiupgrade.php
vbiupgradecore.php
vbifunctions_upgrade.php
vbiupgrade1.php - vbiupgrade3.php (I only see vbiupgrade1.php to vbiupgrade3.php)
vbindex_phrases.xml
vbindex_templates.xml

forums/[myadmin folder]

vbioptions.php

After this I point to http://www.my forum address.com/install/vbiupgrade.php

everything went fine till step 7...

whats wrong??

NTLDR 01-21-2004 04:05 PM

You haven't uploaded vbiupgraded.php to your install folder.

d3nnis 01-21-2004 04:11 PM

Quote:

Originally Posted by NTLDR
You haven't uploaded vbiupgraded.php to your install folder.


cool thanks :)

d3nnis 01-21-2004 04:28 PM

by the way NTLDR , how do I uninstall vbindex?

NTLDR 01-21-2004 05:43 PM

You need to look through the 4 install files and reverse all queries that do any modifications.

marcjd 01-21-2004 09:31 PM

Quote:

Originally Posted by NTLDR
In vbindex.php find:

PHP Code:

".iif(strtoupper($vbindex['pollsforumid']) != 'ALL', "AND thread.forumid IN ($vbindex[pollsforumid])")." 

Add before:

PHP Code:

AND poll.dateline ". TIMENOW - X." 

Replacing X with the number of seconds old it can be, for example any poll created within the last 31 days put 2678400.

I'll try and remember to add the thread preview to RC4.

I tried this but it isn't working. I am getting a white screen with:
Quote:

Parse error: parse error in /home/politics/public_html/index.php on line 685
I made sure there weren't any extra spaces and did it all in plain text. Deleting the extra line and reuploading of course fixes the problem.

Thanks for all of your work on this; it is appreciated by many.


All times are GMT. The time now is 06:31 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.04031 seconds
  • Memory Usage 1,753KB
  • 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_html_printable
  • (6)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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