![]() |
vB3 Style - "Last Posts" Modification (v1.2a)
vBulletin Hack: vB3 Style - "Last Posts" Modification.
Version: 1.2a Designed and Coded by: Krakken Copyright ? 2003 This hack will change the "Last Post" section on your Forum Homepage to a style similar to vBulletin 3.0. It will show the last active thread someone posted and it's current icon in on the forum homepage in the place of the date and time. The date is completely removed in this version and the time is placed underneath the thread title next to the name of the last person to post in that thread. Example: http://www.inspire-fx.com/images/lastpostex.png Working Demo: http://www.randomrubbish.net/bulletin Files to Edit: "index.php" "forumdisplay.php" (x2) Templates to Edit: "forumhome_lastpostby" (x1) Current Releases: v1.2a - Added a fix so the thread shows in the category view as well. v1.1a - The script now only uses two querys (one for thread and one for thread icon) to display for all forums. Also, thread icons can now be seen next to thread title. v1.0a - Changes "Last Post" template and adds last active thread view to forum home. If you like this hack please click INSTALL. Thanks. ;) |
You can view an active demo here:
http://www.randomrubbish.net/bulletin I have also attached a small screenshot to give you the idea. |
yeah ppn (i think, oh tech) created this ages ago
but not the vb3 style.. none the less I prefer to use my own style. |
how many querys dose it add to go to the last thread? I also released something that would go to the last thread (not post) that works like the method vB uses to send a user to the lastest post in a forum.
|
PPN's was a lot more complicated to install than this one is.
|
wat's the dif between just using the lasttitlehacks we have right now and changing the layout around a bit to achieve that. Good hack tho, good job!
|
|
one query per forum right?
So which one uses less queries this one or PPN's? |
Okay that is now fixed; the script uses only two querys altogether.
I have also added the thread icon display. |
Without the date, though, how do you know when the last post was done? PPN's hack is better in that way. :)
|
This hack will add 2 queries to your forumhome.
PPN's is more complicated, true, but it will add no extra queries. Also, you could use a LEFT JOIN for the icon, if you want to get the path, so you save a query... |
true also this hack right here doesnt work on subdomains. It just doesn't show the thread title.
|
TECK is absolutely correct. PPN's hack adds no additional queries. This is why I use his hack. :)
|
Quote:
Also there was a little bit I left out of the installation file which is fixed now sorry. |
Quote:
|
Quote:
PHP Code:
|
I am having problems wth this picking up the proper thread in sub forums!
|
All fixed. :)
Download and follow instructions to upgrade from v1.1a to v1.2a. |
That was just a little side-thing I made. I may make it into a proper hack one day. Contact me on AIM: "Krakkius" and I will try to show you what to do.
|
Quote:
|
Heh, alrite, I will see what I can do this weekend! :)
|
Works Perfectly fine on vB2.3.0, thank you so much!
|
Your most welcome. :)
Thanks for the comment buddy! |
I tried using this hack but it seemed to grab threads from the wrong forums so I had two of the same threads showing up as the last thread in two seperate forums when the thread only exists in one of them :-\
|
I found a small bug in this. If the topic has been moved, and it is the most recent topic in a forum, it doesn't redirect you to the new location. It just shows you a blank section that you may reply to ;)
I have the quick reply hack and that's all I can see when this happens. |
Other than that, looks very nice <me clicks install>
|
Quote:
I am also having this problem. I see 3 of the same topics in 3 different forums. Two of them are incorrect. |
Hmm I really have no idea why it's doing that. I'll take a look at the code in a bit. Could you give me a little more information? Maybe a screenshot and vB version? Thanks.
|
Ah I just visited your forums and it's because of the way you structure your forum. I will try to make a fix for it and release it as soon as I can.
|
ty, hack looks great. I'll uninstall until there is a fix ;)
|
Why "Show a default icon" is totally desabled in this hack? I enabled it in Control Panel, but no effect.. Please, correct it.
------------------ Show a default icon if a user doesn't choose a message icon or is unable to choose one based on forum settings? {imagesfolder}/icons/icon1.gif will be used |
A very great Hack :) I installed it, but i had a problem (vB 2.2.9). I could find the problem and now the hack works fine *hehe*
I can't explain the problem in english, but i will try it. You must delete the spaces on the left of the code. For ex: // Wrong: Code:
if { Code:
if { |
Is there a way to remove the time and put there "By" instead? thnx in advance!
|
That's simple.
Replace this Code:
<font color="{timecolor}">$forum[lastposttime]</font> Code:
by |
Quote:
PHP Code:
|
Ohh, the Forum replaced it :D
Code:
<font color="{/timecolor/}">$forum[lastposttime]</font> |
Thanks for everyones comments. Unfortunately I cannot provide support for this hack anymore because my server ran out and I am not intending on re-installing my forums until I can get a graphics person. This looks like it will probably take a while. Sorry to anyone who I said I would help and haven't. I may be able to pick up this project again and make a v2 for you all with a nice menu etc. in the future sometime. ;)
theXME: Strange. That shouldn't make any difference seeing as PHP ignores whitespaces. |
What's the thread ID for PPN's hack?
|
Check his profile. ;)
|
Quote:
|
All times are GMT. The time now is 04:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|