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
  #122  
Old 04-08-2002, 07:21 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes only news error.
thanx
Reply With Quote
  #123  
Old 04-08-2002, 07:23 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the template home_newsbit:

Change
Quote:
https://vborg.vbsupport.ru/images/icons/icon$icon.gif
To:
Quote:
https://vborg.vbsupport.ru/images/icons/icon$news[iconid].gif
That should correct the broken links for the news icons in v1.3 :bunny:
Reply With Quote
  #124  
Old 04-08-2002, 07:41 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah cool! now its showing up again lol
a BIG Thanx to you both el3m3nt & NTLDR

dm
Reply With Quote
  #125  
Old 04-08-2002, 08:03 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=-
Yeah cool! now its showing up again lol
a BIG Thanx to you both el3m3nt & NTLDR

dm
No problem dm, glad I could help you and this great hack out, I hope to see how you have implimented this hack soon!
Reply With Quote
  #126  
Old 04-09-2002, 05:29 AM
freakyshiat freakyshiat is offline
 
Join Date: Nov 2001
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack with {getmicrostats} in the footer template and it is reporting 83 queries...can this be true?
Reply With Quote
  #127  
Old 04-09-2002, 06:44 AM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dm, probably you mixed the two solutions (my one and NTLDR one). but when it works now then its okey .

Fazle, i have only 54 on partylife.ch. it depends on how many threads you wanna display and how many newsarticles. if i show 30 threads i have 104 queries. so 83 can be true..
Reply With Quote
  #128  
Old 04-09-2002, 10:36 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me back again :lick:
Quote:
Originally posted by el3m3nt
dm, probably you mixed the two solutions (my one and NTLDR one). but when it works now then its okey .
yeah your right, I have installed this hack 3 times

the poll system dont work for me

I have a stupid question how do I hide poll forum from normal members and still let them vote on the mainpage(vbindex) cuz when I change the settinges in "Registered user group" the forum settings jumps to "private forum" see the screenshot.
Reply With Quote
  #129  
Old 04-09-2002, 01:05 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to give the registered user the right to vote for the pollforum... not for the usergroup "Registered".

so go to "Forums & Moderators > Permissions > Choose your Pollforum > Registered > Edit"
There you set "Can view forum" to no and "Can vote on polls" to yes. you can also allow them to post replies (comments) or all other settings.

got it?
Reply With Quote
  #130  
Old 04-09-2002, 01:13 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

html-code in the news:
look for...
PHP Code:
  $newstext=bbcodeparse($getnews[pagetext]); 
replace with..
PHP Code:
$newstext=bbcodeparse($getnews[pagetext],$newsforum,1);
$newstext=str_replace("<br />","",$newstext); 
Thanks to nakkid, Gimp and FireFly for drawing attention to me on this.

2 new actions (getdaily and getsticky!) and threads-table-title depends on the action!

look for...
PHP Code:
if ($action=="" or $action=="getactive") {
    
// active threads
    
$threadsquery $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount,iconid FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum ".$threadsql." AND visible=1 order by lastpost desc limit $numthreads");
}

if  (
$action == "getnew") {
    
// new posts
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND lastpost>=".$bbuserinfo[lastvisit]." AND open<>10 ".$threadsql." order by lastpost desc limit $numthreads");

replace with...
PHP Code:
if ($action=="" or $action=="getactive") {
    
// active threads
    
$threadsquery $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount,iconid FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum ".$threadsql." AND visible=1 order by lastpost desc limit $numthreads");
    
$threadstitle="Latest Threads";
}

if  (
$action == "getnew") {
    
// new posts
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND lastpost>=".$bbuserinfo[lastvisit]." AND open<>10 ".$threadsql." order by lastpost desc limit $numthreads");
    
$threadstitle="Newest Posts";
}

if  (
$action == "getdaily") {
    
// posts today
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND thread.lastpost>=".(time() - (24 60 *60 $days)).$threadsql." order by lastpost desc limit $numthreads");
    
$threadstitle="Posts Today";
}

if  (
$action == "getsticky") {
    
// sticky threads
    
$threadsquery $DB_site->query("select threadid,forumid,title,postusername,lastposter,replycount,iconid from thread WHERE visible=1 AND sticky=1 ".$threadsql." order by lastpost desc limit $numthreads");
    
$threadstitle="Sticky Threads";

now modify the template "home_threads":
- 2 new options (select)
- replace "Latest Threads" (title) with $threadstitle

that's it. all these improvements will be included in version 1.4.
pls write me all suggestions and ideas how we all can improve this script .
Reply With Quote
  #131  
Old 04-09-2002, 03:40 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by el3m3nt
you have to give the registered user the right to vote for the pollforum... not for the usergroup "Registered".

so go to "Forums & Moderators > Permissions > Choose your Pollforum > Registered > Edit"
There you set "Can view forum" to no and "Can vote on polls" to yes. you can also allow them to post replies (comments) or all other settings.

got it?
Hi el3m3nt

I did everything like you wrote above but stil no luck
I get the no premission message...
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 10: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.04749 seconds
  • Memory Usage 2,341KB
  • 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
  • (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_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