Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBindex Details »»
vBindex
Version: 1.00, by el3m3nt el3m3nt is offline
Developer Last Online: Oct 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-04-2002 Last Update: Never Installs: 75
 
No support by the author.

Latest Version: 1.3

This hack is not very special for me. I just wanted to create a mainpage on which you can see.. (as a member) everything what u like to see. The idea of the script is similar to the vbHome of nakkid and also a little bit to the vBPortal. I tested all of them.. but i was looking for something better . so i decided to write such a script myself...

Features:
  • Active threads & newest posts
  • News & Polls (read from a newsforum and a pollforum)
  • Quick CP Links on the index-site
  • Buddies on the index-site
  • Very easy to customize. Just edit the templates!
  • Available in english and german!
Summary: On this index-site you can see everything what you as a member would like to see .

Demo-Sites:Screenshot 1: http://partylife.ch/misc/vbindex1.jpg // the original version and arrangement of the tables.
Screenshot 2: http://partylife.ch/misc/vbindex2.jpg // the nav on the right side.
Screenshot 3: http://partylife.ch/misc/vbindex3.jpg // or if u like 2 navs, left & right
Screenshot 4: http://partylife.ch/misc/vbindex4.jpg // another screen
Screenshot 5: http://partylife.ch/misc/vbindex5.jpg // buddies etc.


Installation
All instructions can you find in the readme.english/german.txt


Download
vBindex 1.3: http://partylife.ch/misc/vBindex1.3.zip
vBindex with Link-DB Script (Link-Script by The_Sisko; Integration of the Link-Script in vBindex by KarateKid): http://www.kampfkunst-board.de/sonst...tabasehack.rar


Credits
Newscode part from vBHome by nakkid.
Onlinetodaycode part from Online Today Hack by Mystics.
Pollcode part from vBPortal by wajones.


Note!
I'd really like to get every feedback you guys can give me. Also post bugreports and suggestions to improve this script. If you have installed this hack, pls click on the install button to receive updates thru email. Thank you .

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #292  
Old 05-05-2002, 09:12 AM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nakkid
element, you have 57queries on your page. that means your server on the red line. everything over 40 is bad.
nakkid, visit this link: http://partylife.ch/index.php?action...&numthreads=30
you get 106 queries without any problems. the server is located in the us. so you should have the faster connection then i have .
Reply With Quote
  #293  
Old 05-05-2002, 09:56 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is incredible... i hope you know that your server is exploding only with 20-30users... at 108queries.
if i would be you, i would reduce those queries. if your site is getting busy, i guarantee you that your current host will cancel your account. you could fry their server every day at this rate. just a friendly advice.
just for fun, what is the server load you get in average? 5, 6, 7? what value? i'm curious... let me know please.
Reply With Quote
  #294  
Old 05-05-2002, 02:50 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ehm.. about 3.5!

well.. i know nakkid.. thanks for your advice . the point is.. that i dont expect that the site is getting busy .
hmm.. i dont think my host would cancel my account.. first he would kill me . no i hope not . well i get this server for free.. and i'm very happy with it.. even if its not the fastest i could get .
Reply With Quote
  #295  
Old 05-05-2002, 02:59 PM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FlyingDutchman
I finnaly got it to work... I just did a plain install of Vb and VbIndex and now it works great!
anyway, can anyone help me please with this:

I want: To show up the left-menu on the forums page
What I did: I put this line:
PHP Code:
eval("\$left = \"".gettemplate('home_left')."\";"); 
just at the end of index.php and added home_left to the '$templatesused-list'

I thought that it would show up now when I would include $left somewhere in the header... but it doesn't?!? what am I doing wrong? (did I edit the wrong file or something?!?)

thanks in advance for your help,
nobody can help me with this?
I don't know where to go else to get some help?
Reply With Quote
  #296  
Old 05-05-2002, 05:00 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ehm.. flyingdutchman..

$templateused list.. just reads the templates in a cache memory.
the home_left is already loaded in the original vbindex file. you just have to put the $left where ever you want in the 'home' template. (sorry for my english.. i just don't know to translate this correctly )

hope this helped you. if not... just ask .
Reply With Quote
  #297  
Old 05-05-2002, 05:53 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FlyingDutchman


nobody can help me with this?
I don't know where to go else to get some help?
I had a look, but I couldn't get this to work I'm afraid. It is either, the forums index.php or global.php that needs to be editied, take a look at the vbportal code, that may help you as it has a left menu in the forums option.
Reply With Quote
  #298  
Old 05-06-2002, 04:42 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR


I had a look, but I couldn't get this to work I'm afraid. It is either, the forums index.php or global.php that needs to be editied, take a look at the vbportal code, that may help you as it has a left menu in the forums option.
Ok, I'll look at that then

Quote:
Originally posted by el3m3nt


ehm.. flyingdutchman..

$templateused list.. just reads the templates in a cache memory.
the home_left is already loaded in the original vbindex file. you just have to put the $left where ever you want in the 'home' template. (sorry for my english.. i just don't know to translate this correctly )

hope this helped you. if not... just ask .
hmm, I think you don't understand me... I want it to show up on the index.php page from vB, next to my forums...
Reply With Quote
  #299  
Old 05-06-2002, 05:15 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found it out... It needs to be in global.php instead of index.php
now it works...
thx anyway for your help guys...
Reply With Quote
  #300  
Old 05-06-2002, 05:31 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's working well, except I don't know where to put the other variables and vb code... like this:

PHP Code:
// pm
// -------------------------
$newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0");

if (
$bbuserinfo['userid']!=0) {
  
$username=$bbuserinfo['username'];
  eval(
"\$logincode = \"".gettemplate('home_logout')."\";");
  eval(
"\$buddy = \"".gettemplate('home_buddy1')."\";");

} else {
  eval(
"\$logincode = \"".gettemplate('home_login')."\";");
  
$buddy "";

i tried putting it in index.php and global.php but it doesn't work
I'll try to find some code in index.php where I can just insert some lines of this code... I think that should work, but I don't like searching
Reply With Quote
  #301  
Old 05-06-2002, 08:59 AM
boiboi boiboi is offline
 
Join Date: Nov 2001
Location: san francisco, ca
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did everything per instruction but i get a blank screen. my forums is installed in root and so is the new index.php and the old was renamed to home.php. home.php works just fine. is it the templates not showing up?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:45 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.05084 seconds
  • Memory Usage 2,325KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete