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 08-13-2004 06:29 PM

Quote:

Originally Posted by Koutaru
Is there any way to move it or no?

Currently not, unfortunately the minority ruin it for the majority.

NTLDR 08-13-2004 06:32 PM

Quote:

Originally Posted by pcalloway
I'm having trouble using new styles with vbindex - if I change the style from default, vbindex.php doesn't show up. It's blank.

>> www.authentic-campaigner.com

Re-run the installer and it should re-add all the vBindex templates into all your parent styles.

NTLDR 08-13-2004 06:36 PM

Quote:

Originally Posted by Dorign
Well for someone who's got a huge, fast web server, queries aren't a problem. ;) Would anyone be interested in coding this for me? :alien:

From memory find in vbindex.php:

PHP Code:

unset($userstats); 

Under it add:

PHP Code:

cache_ordered_forums(1);

// get total threads & posts from the forumcache
$totalthreads 0;
$totalposts 0;
if (
is_array($forumcache))
{
    foreach (
$forumcache AS $forum)
    {
        
$totalthreads += $forum['threadcount'];
        
$totalposts += $forum['replycount'];
    }
}
$home['totalthreads'] = vb_number_format($totalthreads);
$home['totalposts'] = vb_number_format($totalposts); 

That should do the trick, just uncomment the HTML you previously posted and it should show the correct stats.

mikehawk 08-14-2004 03:21 AM

I had advanced index installed prior to installing this hack... i did a fresh upgrade...and now its all messed up. i'm such a noob with this though.

http://www.realopinion.com/vbindex.php

Dorign 08-14-2004 03:52 AM

cache_ordered_forums(1);

This produces the error
Fatal error: Call to undefined function: cache_ordered_forums() in /web/docs/forum-central.com/htdocs/index.php on line 355

Any ideas?

Meltingfire 08-14-2004 03:44 PM

I just upgraded to vBulletin 3.0.3 and updated all my styles to work like the vbulletins when it comes to <if> and $parameter etc.
I also copied all of the edited styles to my vbindex styles.

Since i run my vbindex at another directory (www) and forum in (forum) i have added all bburl to all the proper places and it works almoust perfect.

In the navbar there is a "Private Messages: 0 Unread, Total 134." text where you can click on the "Private Messages" to get to your inbox. It seams like vBulletin has moved the URL (before it was private.php) to some other place and i cant find it.

So the link doesnt work at the moment from vbindex, does anybody know how to solve it?

*EDIT* Found it in phrase "private_messages_nav"

NTLDR 08-14-2004 08:44 PM

Quote:

Originally Posted by Dorign
cache_ordered_forums(1);

This produces the error
Fatal error: Call to undefined function: cache_ordered_forums() in /web/docs/forum-central.com/htdocs/index.php on line 355

Any ideas?

Add
PHP Code:

require_once('./includes/functions_forumlist.php'); 

before the cache_ordered_forums(1); line and it should work.

Dorign 08-14-2004 08:51 PM

Thanks, you rule. :)
http://www.forum-central.com/index.php

Your VBIndex in action. ;)

pcalloway 08-15-2004 01:52 AM

Is it possible to use the same forum but have a separate Portal home page... i.e. my site is mainly for Civil War reenactors but would like to have an entry point just for researchers and professional historians.

Possible to have two distinctly different vbindex index pages from the same forum?

NTLDR 08-15-2004 08:05 PM

If you mean have multiple different vBindex's, then no, not at present at least.


All times are GMT. The time now is 05:34 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.07753 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_php_printable
  • (4)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