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 08-04-2002 10:00 PM

vBindex v2.1
 
[HIGH]vBindex v2.1[/HIGH]

This hack is **NOT** to be re-distributed or placed on website for download unless I give express permission.

Please read this post and the thread before asking questions. You may find that you question has already been answered. I will ignore posts which ask questions that have been asked several times already.

[HIGH]Latest Stable Version: 2.1[/HIGH]

Latest Avalible Version: 2.1 Final

[high]Using vB3?[/high]

Get vBindex 3.0.0 for vB3 Gamma/RC1 and above!


Version 1.x of this hack was done by el3m3nt, since then there have been many updates and fixes and as e3l3mnt is no longer updating this hack he has given me permission to re-release it (see Permisson.txt in the zip).

[HIGH]Features[/HIGH]
  • Latest Threads;
  • News & Polls (taken from a specified news and a poll forum), with vBcode, Smilies and news posters avatar;
  • Quick User CP Links in the menu when logged in;
  • Shows online and offline buddies when logged in;
  • Very easy to customize, just edit/add templates;
  • Intergtared Welcome Panel;
  • Capable of operating a multi-paged site;
  • Usergroup based viewing permissions;
  • Will work 100% outside of your forums directory;
  • [HIGH]*NEW*[/HIGH] Fully integrated into the Admin CP, change all options there!
  • [HIGH]*NEW*[/HIGH] Fully integrated Shoutbox (this hack is a prerequsit);
  • [HIGH]*NEW*[/HIGH] Limit the length of news posts;
  • [HIGH]*NEW*[/HIGH] Reduced queries and cleaner code;
  • [HIGH]*NEW*[/HIGH] Switch vBindex on and off via the CP.

[HIGH]Demo Site[/HIGH]

A standard demo of vBindex can be found here:

Currently Offline.

A customised demo of vBindex can also be found here:

Currently Offline.

[HIGH]Screenshots From v2.1[/HIGH]

vBindex Home Page
vBindex ACP Options
vBindex Usergroup Options
vBindex Update Counters

[HIGH]vBindex v2.1 Information[/HIGH]

[HIGH]Installation/Upgrade[/HIGH]

Upload vbi_install.php and select the relevent options.
If you wish to use the shoutbox then this hack is a prerequsit, and needs to be installed first, however if you do not require the shoutbox option disable it in the ACP, otherwise you will get DB errors.

[HIGH]Latest Bug Fixes[/HIGH]

None.

[HIGH]Download[/HIGH]

See the attachment on this post.

[HIGH]Credits[/HIGH]

vBindex 1.x by el3m3nt
Shoutbox by TWTCommish
Welcome Panel by trilOByte
News Code based on code by TECK
Poll PHP from vBPortal by wajones

[HIGH]Feature Requests[/HIGH]

If you have any requests for new features please post them in this thread and I will consider integrating them / creating an addon.

[HIGH]Addons[/HIGH]

I will support all addons for vBindex v2 that are either posted by myself or are included in the distribution zip file unless otherwise stated. I cannot guarentee that I can provide support on any other addons.

[HIGH]Support/Feekback[/HIGH]

Please provide me with any feekback you have on this hack, I will be continuing to support this hack here only, unless otherwise arranged. Should you have a question about this hack, please post it in this thread. Support will not be given via PM, Email or IM unless arranged, you will just be ignored.

Please click on the [HIGH]install[/HIGH] button if you use this hack.

French templates have been made for v2.0.1 (Note: vBindex 2.0.1 is no longer avalible), see this post for details.

NTLDR 08-04-2002 11:35 PM

Admin-CP Screenshot...

NTLDR 08-04-2002 11:36 PM

Top Screenshot...

NTLDR 08-04-2002 11:37 PM

Bottom Screenshot...

Chris M 08-04-2002 11:55 PM

Wow!

*Installs*

Satan

zachb 08-05-2002 12:18 AM

How many queries does this add? Just wondering, because v1 added tons.

NTLDR 08-05-2002 12:24 AM

The number of queries depends on a number of things, there were 35 queries for the screenshot's that were posted, but disabling parts that you don't use significatly reduceds the number of queries performed.

Each Latest Thread adds 2 queries, as does each news item, users who have voted on a poll will also have an extra query.

I have tried to keep the number of queries to a minium and have at least halfed the number of that of the standard v1.3 avaible.

Neo 08-05-2002 12:28 AM

WHy not just update it in the current first thread?

NTLDR 08-05-2002 12:31 AM

Quote:

Originally posted by Neo
WHy not just update it in the current first thread?
Because putting it on the 29 page will mean many users won't even know that its been updated and as the page count goes up less and less people realise theres a newer version than what it says in the first post ;)

[D]Vincent 08-05-2002 01:04 AM

Nice. I might install it.

DestyNova 08-05-2002 01:54 AM

NTDR

Excellent, it will do for my index for while until I m done coding my CMS. Great job :thumb up:

DrkFusion 08-05-2002 02:34 AM

Great job man, will download right now ;) and test it on my localhost(ie 127.0.0.1) :-D

Drk

Neo 08-05-2002 03:21 AM

Anyways I looked over the code. Good job man :)

Itworx4me 08-05-2002 03:49 AM

Can't get the news or the poll to show on vbindex. I know I have the right forums set. Still can't figure out why it won't post the news or polls. Sleepless in Salem :)

el3m3nt 08-05-2002 06:44 AM

jap, i agree.. great job, NTLDR :).

countryboy713 08-05-2002 07:23 AM

great job. is there any certain method to follow to upgrade from vBIndex v1?

NTLDR 08-05-2002 09:23 AM

Quote:

Originally posted by countryboy713
great job. is there any certain method to follow to upgrade from vBIndex v1?
This dedpends on how customised your vBindex v1 is. If you haven't added any new features to the php file then you can just overwrite that one with this new one. If you have added new features you need to add the code to the v2 PHP file.

Almost all the templates have been modified to allow 100% compatibility for running this outside of your forums directory, so if you haven't made many changes to the templates just run the installer to update to the v2 ones.

If you have made major changes let me know and I'll post all the templates as txt files so you can manually update them.

And thanks for the comments countryboy713, el3m3nt, Neo, DrkFusion and DestyNova.

Dean C 08-05-2002 09:39 AM

fantastic ! ive been waiting for this for agesssss :D

aidler 08-05-2002 09:49 AM

What's the differenz of this Hack to vBPortal? The screenshots look very similar.

NTLDR 08-05-2002 09:57 AM

Quote:

Originally posted by aidler
What's the differenz of this Hack to vBPortal? The screenshots look very similar.
This hack doesn't include all the features that vBPortal does than many users never use, installation is far easier and quicker than that of vBPortal and doesn't require you to overwrite you default style.

Tim Wheatley 08-05-2002 12:06 PM

Quote:

Originally posted by Itworx4me
Can't get the news or the poll to show on vbindex. I know I have the right forums set. Still can't figure out why it won't post the news or polls. Sleepless in Salem :)
Same here. Definately set forums correctly. 2.2.6.
http://forum.racesimcentral.com/vbindex.php

NTLDR 08-05-2002 12:13 PM

Quote:

Originally posted by Tim Wheatley
Same here. Definately set forums correctly. 2.2.6.
http://forum.racesimcentral.com/vbindex.php

My appologies to those of you who haven't got the news and threads working, there was a bug in the installer.

Please re-download the zip in the first post and run vbitemplates_install.php

NOTE: This will remove all templates starting home and will add all the correct templates for v2.

Chris M 08-05-2002 12:25 PM

So do we run vbitemplate_install.php instead of vbi_install.php, or as well as?

Plus : I get this when I run it...

Code:

Parse error: parse error, unexpected '>' in /home/virtual/site26/fst/var/www/html/forums/admin/vbitemplate_install.php on line 37
Satan

NTLDR 08-05-2002 01:49 PM

Quote:

Originally posted by hellsatan
So do we run vbitemplate_install.php instead of vbi_install.php, or as well as?

Plus : I get this when I run it...

If you have run vbi_install.php before you run it instead, otherwise you don't need to run it at all.

If you download the latest zip you should find that the parse error is no longer there.

Chris M 08-05-2002 02:19 PM

Ah good:)

Satan

DemiNeo0101 08-05-2002 03:35 PM

wow this is nice. you realy did make this alot faster,

floleb7 08-05-2002 05:41 PM

you need to look your table width
in 1600*1200 the poll take more than 50% of the center table

NTLDR 08-05-2002 05:57 PM

Quote:

Originally posted by floleb7
you need to look your table width
in 1600*1200 the poll take more than 50% of the center table

Can you expand on that, I'm not sure what your trying to say. the poll by default is the left table which has a width of 140, as does the right with the center taking up the rest of the contentable width.

If you are having the problem that Mist mentioned to me about a poll thats not been voted on being very wide then I think its a problem with the style in use.

[t4e]Kicks 08-05-2002 06:00 PM

Kicks]this makes everything so much easier than the previous version. Awesome job :)

muadist 08-05-2002 07:21 PM

This is great! Thanks alot.

One question... I dont see the welcome panel. I assume I have to install this on my own right?

NTLDR 08-05-2002 07:24 PM

Quote:

Originally posted by muadist
This is great! Thanks alot.

One question... I dont see the welcome panel. I assume I have to install this on my own right?

The welcome panel should be there when you have installed this hack, check to see if you have <!-- welcome panel --> in your home template, if not you don't have the v2 templates.

jbear6 08-05-2002 07:53 PM

Thanks for all the time you spent on this, I think you did a fantastic job. I do have one question: "Is there a simple way to make every link on the vbindex.php page open a new window when clicked on, without adding "target="_blank" to every link"? If this can be done easily, would it be possible to have the new window open at a set size, perhaps 700 x 600?

Thanks,
Jbear6

NTLDR 08-05-2002 08:25 PM

Quote:

Originally posted by jbear6
I do have one question: "Is there a simple way to make every link on the vbindex.php page open a new window when clicked on, without adding "target="_blank" to every link"?
Just add:
Code:

<base target="_blank">
at the end of your home_headinclude template, then all links will open in a new window unless a specific target is specified in the href.

You need to use some sort of javacript for setting the size of the browser, although i would advise against this and let users decide the size of there browser.

countryboy713 08-05-2002 08:50 PM

i think i will need those templates if you can. i upgraded but it didnt upgrade my templates i already had.

thanks

jbear6 08-05-2002 08:51 PM

That worked just fine :)

Thanks,
Jbear6

NTLDR 08-05-2002 09:01 PM

Quote:

Originally posted by countryboy713
i think i will need those templates if you can. i upgraded but it didnt upgrade my templates i already had.
If you don't have any home templates you wish to delete you can run the vbiv1upgrade_install.php if you haven't made the DB change, if you have then you can run vbitemplates_install.php.

If you wish to do it manually then I have attached the zip here, note you need to change vbidemo to home in the names of them.

iAlex 08-05-2002 09:26 PM

Question... I use vbindex just to include the poll on my mainpage, I don't need the rest of the features. And I would like to make the poll question a link to the thread it was posted in but I can't seem to figure out how. Any ideas?

NTLDR 08-05-2002 09:44 PM

Quote:

Originally posted by iAlex
Question... I use vbindex just to include the poll on my mainpage, I don't need the rest of the features. And I would like to make the poll question a link to the thread it was posted in but I can't seem to figure out how. Any ideas?
Firstly this is a very bad idea as it will add 15-20 queries to you page that are compleatly useless.

In answer to you question you need to your question you need to change:
PHP Code:

$pollinfo[question

To:
PHP Code:

<a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$pollinfo[threadid]">$pollinfo[question]</a


Tim Wheatley 08-05-2002 09:47 PM

Thanks for the fix to my problem! :up:
https://vborg.vbsupport.ru/showthrea...249#post281249

FleaBag 08-05-2002 10:59 PM

One word - sweet! :D


All times are GMT. The time now is 03:17 AM.

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.03645 seconds
  • Memory Usage 1,832KB
  • 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
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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