Version: 1.00, by NTLDR (Coder)
Developer Last Online: Oct 2004
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.
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:
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.
// active topics
$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");
To:
PHP Code:
// active topics
$threadsquery = $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount,iconid FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum AND forumid=X AND visible=1 order by lastpost desc limit $numthreads");
Instead. Note this won't hide and privateforums.
If you wanted the 3 latest threads boxes you will want you would need to replace all the latest threads code and add extra templates to sperate them all up.
I don't understand this. Am I supposed to change my vbindex.php to index.php? If so, what am I supposed to do with my original index.php that my other .php files point to?
Invalid SQL: SELECT thread.*,threadpost.pagetext AS pagetext FROM thread LEFT JOIN post AS threadpost ON (thread.tpostid = threadpost.postid) WHERE forumid = '29' ORDER BY thread.dateline DESC LIMIT 10
mysql error: Unknown column 'thread.tpostid' in 'on clause'
Originally posted by groovesalad I don't understand this. Am I supposed to change my vbindex.php to index.php? If so, what am I supposed to do with my original index.php that my other .php files point to?
There is no need to change the filename unless you want to.
Originally posted by hellsatan I found the changes that needed to be made...
Now I get no news on my main page!
Satan
Satan, upload the attached script to your admin dir and and run it, this will add the postids of the first post in a thread to the thread table, this should fix the news issues with posts made prior to the upgrade
This will be integrated into the Update Counters bit in the final release