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
  #392  
Old 07-24-2002, 10:39 AM
iblis iblis is offline
 
Join Date: Oct 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by danielhollands
Hi all, i've just installed this hack here (soon to be here), and so far it's looking really good.

What I want to do, once i've moved the forum to GameVine.co.uk is use this file in the root directory rather than the forum dir, what would I need to change in order for this to be possable?

Cheers (sorry if this quistion has already been asked, but over 300 posts is a bit too much to track though)
just add:

chdir("/home/yoursite/forum");

above "require('./global.php');" in vbindex index.php file..

then add "/forum" on all the url's in the vbindex templates

ps: sorry for my bad english..
Reply With Quote
  #393  
Old 07-24-2002, 11:19 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, thank you for this, it works fantasticly (i just put in chdir("./forum"); rather than the whole path)

I do have another problem, voting on the poll does not work, I get the following error message:
Quote:
The action you have attempted could not be performed as your session appears to be invalid. Click the below link to attempt this action again with a new session.
(Yet again, i'm sorry if this question has been answered, but like i said before, 300 posts in a little too much to read though)

Cheers again.
Reply With Quote
  #394  
Old 07-24-2002, 05:49 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 danielhollands
I do have another problem, voting on the poll does not work, I get the following error messageYet again, i'm sorry if this question has been answered, but like i said before, 300 posts in a little too much to read though)
Indeed this has been fixed somewhere in this thread, I'm going to contact el3m3nt and see if I can release a new version with all the bug fixes and maybe somemore features soon.

From memory you should have this line in the home_poll template:

Code:
<input type="hidden" name="s" value="$session[sessionhash]">
Which needs to be changed to:

Code:
<input type="hidden" name="s" value="$session[dbsessionhash]">
To be able to vote correctly.
Reply With Quote
  #395  
Old 07-24-2002, 05:52 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 iblis
btw NTLDR, you know of a easy way to add the avatar on the user on the index page?
The way I have done this is to use the welcome panel hack that is avalible for your forums and applied it to the front page, take a look at mysite for an example. Is that the kind of thing you wanted?
Reply With Quote
  #396  
Old 07-24-2002, 07:07 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the advice, i'll be looking foward to any new releases of this hack
Reply With Quote
  #397  
Old 07-24-2002, 08:49 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem

I've contacted el3m3nt regarding a new (or updated) realease of this hack and am wating to hear back from him.
Reply With Quote
  #398  
Old 07-26-2002, 06:00 AM
iblis iblis is offline
 
Join Date: Oct 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NTLDR: I used the code from the "welcome panel" to.. but my index.php is not in the /forum directory..

so the avatar image gets broken, pointing to www.domain.com/avatar.php ..

the correct url would be www.domain.com/forum/avatar.php ..

but I cant find the <a> to fix it
Reply With Quote
  #399  
Old 07-26-2002, 06:42 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the only way to solve this problem was to edit the {imagesfolder} patch in the replacements section of the admin.

Try that
Reply With Quote
  #400  
Old 07-26-2002, 11:24 AM
iblis iblis is offline
 
Join Date: Oct 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh? /vbimages?
Reply With Quote
  #401  
Old 07-26-2002, 05:17 PM
Grower Grower is offline
 
Join Date: Dec 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I highly recommend everybody using this hack to install also "Thread Preview Hack". Some level of data redundancy is the only way to go with this kind of hack. Then you can remove extra queries in loop (putting query into a loop is always the worst solution and should be avoided).

For those who have installed this hack and have also "firstpostid" column in thread table here is code you can use for pulling news:
Code:
// news by nakkid (modified)
// -------------------------
$newsquery=$DB_site->query("SELECT thread.threadid,thread.title,thread.dateline,thread.postusername,thread.postuserid,
thread.replycount,thread.iconid,post.pagetext,icon.title AS icontitle,icon.iconpath
FROM thread
LEFT JOIN post ON thread.firstpostid = post.postid
LEFT JOIN icon ON icon.iconid = post.iconid
WHERE forumid='$newsforum' ORDER BY thread.dateline DESC LIMIT $newsposts");
while ($news=$DB_site->fetch_array($newsquery)) {
  $newsthreadid=$news[threadid];
  $newstitle=$news[title];
  $newstime=vbdate($timeformat,$news[dateline]);
  $newsdate=vbdate($dateformat,$news[dateline]);
  $newsusername=$news[postusername];
  $newsuserid=$news[postuserid];
  $comments=$news[replycount];

  $newstext=bbcodeparse($news[pagetext],$newsforum,1);
  $newstext=str_replace("<br />","",$newstext);

  if ($news[iconid]=='0') {
	$news[icontitle]="";
	$news[iconpath]="https://vborg.vbsupport.ru/images/icons/icon.gif";
  }

  eval("\$newsbits .= \"".gettemplate('home_newsbit')."\";");
}

eval("\$news = \"".gettemplate('home_news')."\";");
Also there is an error on first few lines where templatesused string is filled (missing commas) which caused extra queries. Here is fixed code:
Code:
$templatesused='error_nopermission,home,home_buddy1,home_buddy2,home_footer,home_header,home_headinclude,home_left';
$templatesused.=',home_login,home_logout,home_news,home_newsbit,home_nothreads,home_poll,home_pollresult,home_right';
$templatesused.=',home_threadbit,home_threads,forumhome_loggedinuser,forumhome_loggedinusers,maxloggedin';
This thread is so long that I hope I'm not reposting something already fixed
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 11:51 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.05081 seconds
  • Memory Usage 2,318KB
  • 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_code
  • (4)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
  • (1)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