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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

NTLDR 10-02-2002 01:10 PM

There will be a few queries to run to add the options to the ACP and you will need to upload the new PHP file. As for template changes there is only a couple of edits and a few new templates for the shoutbox.

Buddha 10-02-2002 05:52 PM

how many querries is it averaging now, ntldr?
(the new one, of course.)

NTLDR 10-02-2002 06:22 PM

Currently with everything enabled it adds one extra query to collect the shouts, however I do intend to optimise the threads/news queries before it goes final.

Asso 10-03-2002 11:52 AM

WOW! I need 2.1! :)

In future will be a topic sistem like *nuke?

NTLDR 10-03-2002 12:28 PM

Quote:

Originally posted by Asso
WOW! I need 2.1! :)

In future will be a topic sistem like *nuke?

vBindex 2.1 RC1 will be released in the next few hours :D

Why type of topic system did you want? I've never really understood how they work ;)

NTLDR 10-03-2002 03:42 PM

Here is RC1 of vBindex 2.1 :D

LightBringer 10-03-2002 05:08 PM

Hey NTLDR, I am curious as to where the query to insert the shoutbox information in the db is?

I know with TWT's hack you had to do the following:

Quote:

CREATE TABLE `shoutbox` (
`shoutid` int(11) NOT NULL auto_increment,
`userid` int(11) NOT NULL default '0',
`shout_text` text NOT NULL,
`timestamp` int(11) NOT NULL default '0',
PRIMARY KEY (`shoutid`)
) TYPE=MyISAM;
Will this still hold true for the RC1 version of vBindex2.1?

I'm a bit hesitant to jump right on this install yet since there isn't an installer included and I've already got the shoutbox implemented on my main site per conversations we've had here before. My only concern is should I step back through the shoutbox hack, remove everything, and then install your solution? Or should I attempt to leave things as they are and JUST update the other vBindex features knowing that I may run into higher query issues? :)

Great hack as always.

NTLDR 10-03-2002 05:13 PM

There are no queries for the shoutbox if you already have it installed, which RC1 assumes you have.

In your case LightBringer, you just need to run the queries in the vbiqueries.sql file to add the options to the CP and then upload the new vbindex.php file. Thats it :D The only other change for you would be to add $readmore into the home_newsbit template if you intend on shortening the newsposts.

Hope thats helps ;)

LightBringer 10-03-2002 05:50 PM

That does help for the most part NTLDR, the issue I have now is that some of the templates are a bit off.

For instance: TWT's hack requires shoutbox_error.
Your hack requires: home_shoutbox_error.

There's a few others like this and I'm unsure which of those to change. Should I just rename the ones you've got listed in your hack to match mine?

LightBringer 10-03-2002 06:03 PM

doh...
i just realized something else after installing.
You've got the random quote hack code inside vbindex.php but some of us don't have that hack installed. :/ So it's popping up with a database error at the moment.

Quote:

Database error in vBulletin 2.2.8:

Invalid SQL: SELECT quote,name FROM quotes ORDER BY rand() LIMIT 1
mysql error: Table 'brainphr_devforum.quotes' doesn't exist

mysql error number: 1146

Date: Thursday 03rd of October 2002 01:02:57 PM
Script: http://www.brainphreeze.com/forums/forums/vbindex.php
Referer: http://www.brainphreeze.com/


All times are GMT. The time now is 04:50 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.02351 seconds
  • Memory Usage 1,740KB
  • 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_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