The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
UPDATED! Not a new version number, but a bug fix.
Fixed another bug with using forum titles and included forums. New update: *Actually* fixed the bug with the forums this time. ------------------------------------------------------------------------------------ It's my best work to date (if I do say so myself ) and I think you'll like it and like all the configuration you can do. This image shows the script with all of the columns on, and parsing [code], smilies, and the post icon, as well as showing the forum title before the thread title. This image shows the script with all the columns off except $lastpostdate, and the $tw (table width) set to 600, and $showdate set to 0 (to just show the last post time). This image shows the same as #2, except $tw is blank (allowing the table to compact and remove the empty space automatically). Hack version: 1.0.1 Changes since version 1.0.0: Fixed small bug. Changes since version 0.1.0: Parses [ b], [ i], [ u], [ code], and [ quote] within the "last post". Displays the icon of the post, or the thread if there is no post icon. Parses smilies. New option to convert new lines to <br> so the post appears as the author wrote it (note: may cause problems if there are large breaks in posts). Changes since version 0.0.2: New option to show the text of the last post of a thread (also option to limit the number of characters of the post displayed). New option to set the table width, as a percent, a number of pixels, or just let the table size naturally. New option to show just the time of the last post, instead of the date *and* the time. New option to show a thin line around the cells (cell spacing). Changes since version 0.0.1: Include only specific forums, or set to allow all forums except certain excluded forums. New option to display a "Last post date" column with the last post date and time, formatted with your board's date & time setting. Fixed a bug with font and font size. Split the config into a separate file to make editing easier. For version: v2 betas 3, 4, 5, RC1, RC2. Files needed: last10.php, last10config.php (see attached zip file). Files to edit: last10config.php (see attached zip file). Possible file locations: Anywhere, as long as the relative path to config.php and the URL to your board are correct. Also, you must put last10.php and last10config.php in the same directory! Instructions 1] Unzip the files last10.php and last10config.php to your hard drive. 2] Open last10config.php in an ASCII text editor, such as Notepad (Windows), SimpleText (Mac), EditPlus, UltraEdit, TextPad, etc. (DO NOT use WYSIWYG HTML editors such as FrontPage, HotDog, DreamWeaver, etc. They will in all likelyhood screw up the file! I will not be able to support you if you edit the file in one of these programs.) 3] Edit the variables at the top. These are:
<? include("last10.php"); ?> To include it on a server-parsed page (.shtml, .shtm, .ssi, etc.): <!--#include file="last10.php"--> Instructions are also included in the zip file (last10.txt). FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted! Please DO NOT contact me via IM or PM about this hack. Post your problem/question here and I will try to help you. Show Your Support
|
Comments |
#452
|
|||
|
|||
oh thank god!! i finally got this to work! thanks!
|
#453
|
|||
|
|||
Love this hack!
Wouldn't it be rather simple to make this a template? This may have been suggested, but I didn't read all 20 pages of the thread (first three or four and the last three or four and didn't see it). I would think as a template you wouldn't need to deal with the colors as it would get them from the db like every other page (and would be style specific too). In terms of functionality, kudos. This is really a great hack. |
#454
|
|||
|
|||
I've configured last10 and it works great, but I now I want to have a page that looks just like the main forum page, but with the last10 output in place of the forum listings in the "<!-- main -->" section of the templete. I don't wan't to REPLACE my main forum page, however. I created a new templet called last10 and pasted that contents of the forum_home templet into it, replacing the forum listings with a call to last10.php.
My question is... how do I access this new templet from a url? Great hack, btw. |
#455
|
|||
|
|||
I am a little confused here. I am totally new to PHP and I am wanting to use this on my sites mainpage which is non VB. My mainpage is www.vorspann.net I want to put in in the left vertical nav bar under the "Recent Discussions" cell and I did everything as it says in the readme file and I cant figure out why it wont work. Since I am using dreamweaver do I have to put a PHP include in the HTML where I want the table to appear or what? Also when I am setting up the config since my main index page is not in a folder would I just want the address to be http://www.vorspann.net/index.php?
Im lost |
#456
|
|||
|
|||
Is there a tweak that can be made that will allow you to enter a parent forum you want to include and it correspondingly will show all posts in the sub-forums of that parent?
I have over a hundred sub-forums I'd like to include and I cringe at having to write in all their numbers... |
#457
|
|||
|
|||
more importantly... is it possible to have a link that goes to the top of the forum as well as the the "...goto=newpost"?
|
#458
|
|||
|
|||
Instead of showing the last threads, could we instead show the last posts...even if there are multiple posts in a single thread? I think this would be a cool change.
|
#459
|
|||
|
|||
Why is it that this hack displays a error saying... Can not access database as Chris Jumonville@localhost using password: NO. This must mean it is not using my password at all but I know I have entered the right user name and password in the config.php file. I have two mysql users one is my name with no password and the other is my name with a password. When I try the name without a password it works. Its like this thing wont take my password... Why?
Thanks Chris |
#460
|
|||
|
|||
Can this hack work with Version 3?
Is there any Last XX Posts on non-vB page hack for version 3? |
#461
|
|||
|
|||
Very serious question here... How can I set this up if my forums are at forums.vorspann.net and my mainpage is at www.vorspann.net?
Thanks Chris |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|