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
  #182  
Old 04-13-2002, 05:18 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 Slynderdale


its just s= theres no value fors, i checked the code and theres $ before it
Which file, template is this in? I think I may have this bug in my site, you can find and s=session[sessionhash] lines that need to be changed.
Reply With Quote
  #183  
Old 04-13-2002, 05:33 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR


Which file, template is this in? I think I may have this bug in my site, you can find and s=session[sessionhash] lines that need to be changed.
home_poll and home_login, the sessionhash vaible is blank
Reply With Quote
  #184  
Old 04-13-2002, 06:02 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I think this is the fix:

Change This (in home_poll):

PHP Code:
<input type="hidden" name="s" value="$session[sessionhash]"
To This:
PHP Code:
<input type="hidden" name="s" value="$session[dbsessionhash]"
I think it should work then
Reply With Quote
  #185  
Old 04-13-2002, 07:59 PM
The Piper's Avatar
The Piper The Piper is offline
 
Join Date: Apr 2002
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I just installed both vBulletin and vbIndex, as I'm planning on using them both as the backend for my website (old version at http://www.pinkfloydfan.net and new test-version at http://209.51.137.172). I really like what vbIndex does, and I was thinking of using it to power all pages on my website.

So what I'd like to do was to use the header, footer and the left and right blocks in ALL of my pages, and the only thing that would change would be the center "window", where the latest threads and news are. But since vbIndex uses templates so much, I'm pretty lost as to how I should proceed to get what I want. I thought of using require's (as SSI's) as I'm doing right now on pinkfloydfan.net, but for all I tried, it doesn't work. So, could anyone please help me out?

Also, if this is possible, would it be too heavy on my server? I ask this because I think there are many MySQL queries and all, so is this a practical option? Sorry, but I'm really a beginner in both MySQL and PHP...

Thanks a lot and congrats el3m3nt for such a nice hack!!!! I've tried using phpNuke, postNuke and so many other portal scripts but never liked them. With your script I got exactly what I wanted.

Cheers,
Paulo
Reply With Quote
  #186  
Old 04-14-2002, 12:53 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx NTLDR

The Poll problem fixed
Reply With Quote
  #187  
Old 04-14-2002, 05:50 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 The Piper
Hi,

I just installed both vBulletin and vbIndex, as I'm planning on using them both as the backend for my website (old version at http://www.pinkfloydfan.net and new test-version at http://209.51.137.172). I really like what vbIndex does, and I was thinking of using it to power all pages on my website.

So what I'd like to do was to use the header, footer and the left and right blocks in ALL of my pages, and the only thing that would change would be the center "window", where the latest threads and news are. But since vbIndex uses templates so much, I'm pretty lost as to how I should proceed to get what I want. I thought of using require's (as SSI's) as I'm doing right now on pinkfloydfan.net, but for all I tried, it doesn't work. So, could anyone please help me out?

Also, if this is possible, would it be too heavy on my server? I ask this because I think there are many MySQL queries and all, so is this a practical option? Sorry, but I'm really a beginner in both MySQL and PHP...

Thanks a lot and congrats el3m3nt for such a nice hack!!!! I've tried using phpNuke, postNuke and so many other portal scripts but never liked them. With your script I got exactly what I wanted.

Cheers,
Paulo
Yes this can be done very easily, I'll post the modifications you need to make to have a mulipaged vBindex site after, see My vBindex (in my sig) for an example of a multipaged version of vBindex.

As for server load etc, I'm no MySQL expert, but as long as the number of queries is <=30 (or there abouts) it should be fine.

This is what I've been lead to belive, someone may correct me on that
Reply With Quote
  #188  
Old 04-14-2002, 05:51 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 -=dm=-
Thanx NTLDR

The Poll problem fixed
Yey!! I'm glad I've finally been able to fix this bug
Reply With Quote
  #189  
Old 04-15-2002, 01:43 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Page generated in 20.847882032394 seconds with 44 queries,
spending 20.519717216492 doing MySQL queries and 0.32816481590271 doing PHP things.

Ouch.

Query: SELECT *,thread.open FROM poll LEFT JOIN thread ON (thread.pollid = poll.pollid) WHERE thread.forumid='244' ORDER BY poll.dateline DESC LIMIT 1
Time before: 2.2398979663849
Time after: 20.608139038086
Reply With Quote
  #190  
Old 04-15-2002, 05:26 PM
The Piper's Avatar
The Piper The Piper is offline
 
Join Date: Apr 2002
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR

Yes this can be done very easily, I'll post the modifications you need to make to have a mulipaged vBindex site after, see My vBindex (in my sig) for an example of a multipaged version of vBindex.

As for server load etc, I'm no MySQL expert, but as long as the number of queries is <=30 (or there abouts) it should be fine.

This is what I've been lead to belive, someone may correct me on that
Thanks a lot, NTLDR. I look forward to hear from you. By the way, I`ve checked your vBindex page and it looks great, that's exactly what I want to do. In a way, it's what a portal system would allow me to do, but I don't like the way how every page using a portal system looks exactly the same as other pages... That way I could keep my own design but still use the nice features of vBindex.

Thanks again,
Paulo
Reply With Quote
  #191  
Old 04-15-2002, 07:26 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 The Piper
In a way, it's what a portal system would allow me to do, but I don't like the way how every page using a portal system looks exactly the same as other pages... That way I could keep my own design but still use the nice features of vBindex.
This is why I've chosen not to use a portal system, because it looks the same as everyone elses site and is mean't for a lot of things I don't need or want to do, this way I can fully integrate with my forums and have a common design thoughout my site.

Here is the code you need to find and change for a muli-paged vBindex:

In the vbindex php file change (its right at the end):

PHP Code:
eval("dooutput(\"".gettemplate('home')."\");"); 
To:
PHP Code:
if (!$page)
// no page specified
{
eval(
"dooutput(\"".gettemplate('home')."\");");
}
else
eval(
"dooutput(\"".gettemplate("$page")."\");");
//eval("dooutput(\"".gettemplate('home')."\");"); 
to get the homepage use http://mysiteurl/forumsdir/vbindex.php to get any other page use http://mysiteurl/forumsdir/vbindex.php?page=template_name

Where:

vbindex.php is what you have called the index.php file included with vBindex

and

template_name is the name of the template that contains the page.

Let me know if you have any problems,

Regards,
Lee (NTLDR)
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 06:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05743 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (6)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_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