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 |
#92
|
|||
|
|||
tubedogg, i have download your latest version release, but it still display: "MySQL reported this error while trying to retreive the info: Column: 'forumid' in where clause is ambiguous" and i didn't see any icons bug with the older version, but after i update to the lastest it display the wrong icons. thank you again. |
#93
|
||||
|
||||
Sorry about the forumid thing. I missed one other place where it was.
The icon thing I took out since only one person had that problem and I'll look into why it's doing that again. |
#94
|
|||
|
|||
wow! it works now! thank tubedogg!
and how about my 2nd question: "display the threads starter, threads start time (can be ordered by this?) and the massege of the threads' first post..." is it possible? thanks! |
#95
|
||||
|
||||
thanks, it works proplerly now. I have a suggestion:
In the main file, I made this change: Code:
echo("<table border=0 bgcolor=$tbg cellpadding=4 cellspacing=$cs $twt><tr bgcolor=\"$hc\">\n"); Code:
$bc1 = "#ABABAB"; // first alt color $bc2 = "#BCBCBC"; // second alt color $hc = "#7C869C"; // head background color $tbg = "#000000"; //table background color $lc = "#ff6600"; // link color $tc = "#FFFFFF"; // text color $f = "Arial"; // font face Just a little HTML trick you guys might want to try. |
#96
|
|||
|
|||
I'm having problems when I tried to put a forumid into the $includeforums = "";
when putting in 7 (which is the ID of the wanted forum, it returns: Can't select info on top of table, and no content in table... any suggestions? |
#97
|
||||
|
||||
Oystein: Please try downloading the newest version from the first post in this thread and tell me if you still have problems, and if so, what the error message is (it will give you a different message with the newest version if there is an error).
|
#98
|
|||
|
|||
I did, and then it worked :-)
tnx |
#99
|
||||
|
||||
Bless you dear man
I finally got what I wanted, a hint of the content of my private board on the main page. I used your script twice. Once to show the news and announcements forum, and once to show the most recent posts in the other forums. I also installed your who's online hack. http://www.epinionaddicts.com/ Finally, guests can peek at what we offer. Thank you agian. It was idiot proof. Amy |
#100
|
||||
|
||||
You're most welcome.
|
#101
|
|||
|
|||
Since you reply so quick.. one more question:
I tried to make a summary-page where I include your script for separate forums, like setting up one table for each forum. On top, I included the last10.php with results from all threads then a table with last10.php placed in a subfolder of the one above, and so on for 3 more includes. (I hope you understand what I mean) and now the bug question: I get the same config for all includes (the first include goes for all) instead of separate config for the separate includes. So instead of getting listed all forums in separate tables, I get lots of tables with the same content in every one. Strange? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|