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 09-29-2002 04:48 PM

Quote:

Originally posted by MultiSync
Got a little problem (a minor one), how come the online buddy list on vBindex doesn't work, but in the forum it works? Thanks!
The buddy list works fine with vBindex.

xevious 09-29-2002 06:10 PM

Ok, i know this has probably been covered already but this thread is really long lol. I want to make my header a flash file so i would like to make that part of the home template a frame and then the rest of the index page its own frame so when a person clicks on a link, only the bottom frame will reload. Not the header. I have been messin around with the html and cant get it to work. I am a total noob when it comes to html lol, but this is what i was tryin to do in the home template:
<iframe width="790"height="200" >$homeheader</iframe>

NTLDR 09-29-2002 07:38 PM

Using an iframe to do this would be pointless. You either need to modify the PHP so that it will eval the lower frame and make the home template contain the frames.

groovesalad 09-29-2002 07:45 PM

Quote:

Originally posted by NTLDR


Use the thread templates from vBindex 1.3, like I have already said.

The link to download vBindex 1.3 is not working on this site. Anyone know how/where I can get it?

MultiSync 09-29-2002 09:32 PM

Quote:

Originally posted by NTLDR


The buddy list works fine with vBindex.

I know it should be working, but it is not working on mine.(only works in forum)

But that's okay. I removed the buddy section. Thanks!

MultiSync 09-29-2002 09:52 PM

One more question NTLDR, how can I show the stats info of user with the stats addon?

I edited the vbindex.php file already, but no matter I add to the left column templete, I always got a sql error? Can you show me where to add the poster html and forum threads html? Thanks!

DarkDraco07 09-30-2002 02:14 AM

my polls wont show, it just shows the vote button

NTLDR 09-30-2002 10:38 AM

Quote:

Originally posted by DarkDraco07
my polls wont show, it just shows the vote button
Please READ the thread. I've this question must have been asked on every single page by now :rolleyes:

NOTE TO ALL USERS

Read the thread before posting questions that have been answered allready. Questions like the one above that have allready been answered will just be ignored from now on.

Thank You.

DarkDraco07 09-30-2002 06:14 PM

well there are 38 pages to this thread, do u think i or anyone else has time to read them all?

Buddha 09-30-2002 07:17 PM

<a href="https://vborg.vbsupport.ru/showthread.php?postid=281735#post281735" target="_blank">here</a>

NTLDR 09-30-2002 10:50 PM

Quote:

Originally posted by DarkDraco07
well there are 38 pages to this thread, do u think i or anyone else has time to read them all?
And I suppose I HAVE got the time to post the same answer time and time again? :rolleyes:

Incase it haden't escaped your notice the solution is even posted in the first post of the thread which you clearly haven't read.

drives fast 10-01-2002 01:39 AM

I am on the fence here.....I like vbindex and I also like vbhome (lite)

What I am looking for is one of them that has a maxcharacters limit because some of the posts in my news forum can get so long that they muck up the look of the portal page.

Would you be able to add that to vbindex? because I would really like to use that one

TECK 10-01-2002 01:47 AM

NTLDR.. is TECK, not TECH... on the credits. ;) :)
thanks.

lemarsu 10-01-2002 07:41 AM

Hi,

I was wondering if there is a way to show more then one poll on the vbindex page ?
i have read 99% of them...

LeMarsu

NTLDR 10-01-2002 10:58 AM

Quote:

Originally posted by TECK
NTLDR.. is TECK, not TECH... on the credits. ;) :)
thanks.

Sorry TECK, I'll change it straight away ;)

NTLDR 10-01-2002 11:01 AM

New Features That Will Be In 2.1
  • Shoutbox;
  • Full Admin CP integration, for max threads, forumid's etc;
  • Set the length of news posts;
  • Switch vBindex on or off independantly of your board;
  • Switch functions of via the ACP to save queries;
  • New installer/unistaller.

NTLDR 10-01-2002 11:05 AM

Quote:

Originally posted by lemarsu
I was wondering if there is a way to show more then one poll on the vbindex page ?
You would need to change this query:

PHP Code:

$pollinfo=$DB_site->query_first("SELECT *,thread.open FROM poll LEFT JOIN thread ON (thread.pollid = poll.pollid) WHERE thread.forumid='$pollsforum' ORDER BY poll.dateline DESC LIMIT 1"); 

And create a while loop similar to that of the news/threads. I don't have time to write/test it now but i'll try and look into it. If you page seems to have a high load time then I don't recoment this as the poll seems to increase this servely for some people.

lemarsu 10-01-2002 12:08 PM

Quote:

Originally posted by NTLDR
create a while loop similar to that of the news/threads.
Changing the sql is the 1st thing I did then got stuck in the php part of things...
I will look into the while loop.

LeMarsu

NTLDR 10-01-2002 10:43 PM

In the next couple of days I hope to realease vBindex 2.1 Beta 3. This will be pretty much the same as 2.1 Final, but it won't have the installer done.

This will include all the new features mentioned above, bar the new installer/uninstaller.

Buddha 10-02-2002 01:03 PM

how easy will it be to upgrade, ntldr?
especially if we've changed a lot of the templates.

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/

LightBringer 10-03-2002 06:21 PM

Ok, I have commented out the random quote hack code, and I am now receiving the following db error:

Quote:

Database error in vBulletin 2.2.8:

Invalid SQL: SELECT * FROM thread WHERE open=1 AND thread.open<>10 AND visible=1 ORDER BY lastpost DESC LIMIT
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

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

NTLDR 10-03-2002 06:30 PM

Quote:

Originally posted by LightBringer
Ok, I have commented out the random quote hack code, and I am now receiving the following db error:
Sorry about the quote hack bit, I was sure I deleted that :rolleyes: Zip updated now.

Have you changed and submitted the options in the Admin CP?

LightBringer 10-03-2002 06:39 PM

Quote:

Originally posted by NTLDR


Sorry about the quote hack bit, I was sure I deleted that :rolleyes: Zip updated now.

Have you changed and submitted the options in the Admin CP?

Yup, I sure did. As long as I have the latest threads option turned off in the ACP, it pulls up the vbindex page.

I've also noticed that the news section isn't pulling the appropriate NEW posts. What it is pulling is the latest new post and all the replies associated with it. :/

You can see that on my site I have the news set to 5, but it's not pulling the 5 new posts as I stated.

http://www.brainphreeze.com/forums/vbindex.php

NTLDR 10-03-2002 06:49 PM

Thats strange. I have the exact same code as in the Zip file running here: http://www.thesistersthree.com/vbindex.php Which is working file and you can see.

You do only have one forumid specified for each forum in the ACP?

LightBringer 10-03-2002 06:52 PM

Quote:

You do only have one forumid specified for each forum in the ACP?
You bet. :)
If I set up that particular news forum so that there are no replies allowed, then it works fine, but as long as there are comments associated with the post, those comments show up as news items on the front page.

I'm not sure if that helps or not.

NTLDR 10-03-2002 07:51 PM

Quote:

Originally posted by LightBringer
If I set up that particular news forum so that there are no replies allowed, then it works fine, but as long as there are comments associated with the post, those comments show up as news items on the front page.
Thats a slight oversight on my part, the board I was testing with didn't have any replies in the threads. To use the new query reduced code will require an alteration to the thread table to store the first postid when a newthread is started.

After a load of thinking and testing I have come up with these changes you need to do.

[sql]ALTER TABLE thread ADD tpostid int( 10 ) unsigned DEFAULT '0' NOT NULL[/sql]

In newthread.php find:

PHP Code:

$postid=$DB_site->insert_id(); 

After it add:

PHP Code:

      if ($forumid=$newsforum) {
         
$DB_site->query("UPDATE thread SET tpostid=$postid WHERE threadid=$threadid");
      } 

This will only add the extra query when starting threads in the news forum, of course you can just add the query without the if to add it to all posts.

And upload the new vbindex.php that is attached. Just the threads to look into now.

groovesalad 10-04-2002 12:56 AM

so, anyone know where I can get the 1.3 version? The link doesn't work.

Valerie 10-04-2002 01:32 AM

Looks great! :D

LightBringer 10-04-2002 01:34 AM

Hey NTLDR, any comments about the template names by chance?

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

There's a few others like this and I've renamed the those within the the new vbindex.php to match accordingly. Is this correct?

TheSaint-AeD 10-04-2002 10:56 AM

Perhaps it'd be better to update the first Post and prune this thread to the important Posts.


All times are GMT. The time now is 07:46 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.01920 seconds
  • Memory Usage 1,835KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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