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 v2.1 Details »»
vBindex v2.1
Version: 1.00, by NTLDR (Coder) NTLDR is offline
Developer Last Online: Oct 2004 Show Printable Version Email this Page

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

[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.

Show Your Support

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

Comments
  #142  
Old 08-12-2002, 10:56 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 Rose
Clear as mud. :nervous: I logged out and couldn't see the forums, so I'm assuming all is okay, of course I need to test as a regular member still. *hehe* Thanks again!!
LOL, Sorry, I tried to explain the best I could!

If you can't see them as a guest, you shouldn't be able to see them as a regular user or anyone else who can't view the forum.
Reply With Quote
  #143  
Old 08-13-2002, 08:12 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 Mr_P
yeah have to agree with you Carlos if someone can tinker with code and keep menu to left with same options etc and sort board out then they onto a winner
Here is the addon for the Forums menu, as requested by Mr_P.

Firstly edit forum/golbal.php and find:

PHP Code:
// parse css, header & footer ################## 
And add after:
PHP Code:
include('./vbimenu.php');
eval(
"\$menu .= "".gettemplate('home_menu')."";"); 
Upload the attached vbimenu.php to your forums directory and remove the functions that you don't want to include in the menu on other pages. I HIGHLY SUGGEST that you DON'T have all the functions displayed, ie Poll, Buddies Login Code etc... this will almost DOUBLE the queries for forum/index.php. Just leave in the functions that you require.

Add the home_menu template that can be found in the zip file.

Don't forget to remove the stuff you won't be using, then lastly edit your header template, in between the following comments:
Code:
<!-- /logo and buttons -->

<!-- content table -->
Add:
Code:
$menu
Thats it

Please let me know what functions you would like to see in the forums menu so I can impliment this properly with the next version.
Reply With Quote
  #144  
Old 08-13-2002, 10:49 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers NTLDR for feedback.

I have done the global in root
done the home template and added the code in the header

The forum is to the right so that bit works but to the left only the search box is showing and online users is showing with it but its as if no one is on.Nothing else is showing in the left hand panel.

Small gif to show u how i mean
Reply With Quote
  #145  
Old 08-13-2002, 10:55 PM
DWZ's Avatar
DWZ DWZ is offline
 
Join Date: Dec 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an idea which would be cool. As you may know, I run a console gaming website. Now, it would be good if we could replace the avatar on the posts with a custom picture on each news story. So, say if I was doing a story on Xbox, I could put a picture of a xbox there. If I was doing a story on PS2, I could put a picture of one there too. If I was doing a story of a mod chip, I could put a picture of it there... etc etc...

I guess you could maybe put it as an attachment to the post, which automatically is shown on the news page where the avatar currently is.

A good example to what I was thinking would be this: http://www.neowin.net/

It would also be nice if I could select previous images I had used as news stories, so I don't need to upload the same xbox image for like 20 stories which just uses up the database.

Anyway, just something to think about
Reply With Quote
  #146  
Old 08-13-2002, 11:07 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good idea.

I gather the template for the way the posts are shown on there can be altered in some way to make it look like that sort of post.
All in all good hack and one that can be built upon.
Reply With Quote
  #147  
Old 08-13-2002, 11:20 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i called it in wrong way i was still on the old VBindex php file

switched to this one now and i get this error

Fatal error: Call to a member function on a non-object in /vbb/vbimenu.php on line 40

Line 40 is this : $buddys=$DB_site->query($sql);
Reply With Quote
  #148  
Old 08-14-2002, 10:12 AM
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 Mr_P
Fatal error: Call to a member function on a non-object in /vbb/vbimenu.php on line 40
There shoudln't be any errors, the file is working correctly for me (see screenshot). Have you edited it at all?
Reply With Quote
  #149  
Old 08-14-2002, 10:54 AM
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 DWZ
Now, it would be good if we could replace the avatar on the posts with a custom picture on each news story.
The simpilest and easilest way of doing this would be to newmove the avatar code from the home_newsbit template and use [img] code to insert the required image for the story at the top.
Reply With Quote
  #150  
Old 08-14-2002, 01:10 PM
DWZ's Avatar
DWZ DWZ is offline
 
Join Date: Dec 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR

The simpilest and easilest way of doing this would be to newmove the avatar code from the home_newsbit template and use [img] code to insert the required image for the story at the top.
sounds good

Just a quick question. I thought it would be nice if I could have "Last comment was by username" at the bottom of the news posts. Now, what I put in the home_newsbit template was:
Code:
Last <a href="$bburl/showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$newsthreadid">comment</a> was by <a href="$bburl/member.php?action=getinfo&find=lastposter&threadid=$newsthreadid"><b>insert name here</b></a>
Now, it will automatically skip down to the last post when you click "comment", and it will link to the person's profile. but i cant work out how to get the person's name up. as you can see, i have insert name here there, it links that text to the person's profile but yeah, i want it to have their name there... lol.

I was looking at the forumdisplay templates where they do it for each thread (i.e. where they have Thread name, Thread Starter, replies number, Views and Last Post). I found they were using $thread[lastposter] to do it, but if i put that right into the vBindex templates it does nothing. so yeah, i was guessing it had something to do with the php file and that i would need to add a line or two to the vbindex.php file or something.

Anyway, keep up the good work
Reply With Quote
  #151  
Old 08-14-2002, 03:03 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice suggestion there DWZ

In the vbindex.php file add after:

PHP Code:
$comments=$news[replycount]; 
This:
PHP Code:
$lastposter=$news[lastposter]; 
And add $lastposter in your home_newsbit template where you want the username to appear

I may also add this in to the new version.
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 02:52 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.07690 seconds
  • Memory Usage 2,328KB
  • 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
  • (3)bbcode_code
  • (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
  • (4)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