UBB.Dev
Posted By: JustDave [UBBT 6.0] Last Post By - 06/17/2002 4:30 AM
This will display last post information (Subject, Who and When) at the top of the post listings.

This will add one more additional query to the postlist.php script.
It seems to be working correctly but I wont know for sure till everyone else uses it. LoL

Download the attached file. Follow the instructions and modify your postlist.php file and the related postlist.tmpl file accordingly.
Upload to your website and Enjoy








Edit Note: I created this thinking I understood what it was supposed to do... LoL guess I didn't understand. Allen gave me some examples and it's clear now. I can still do this but it will be a bit more indepth.

Attached File
50176-lastpostby.6.0.zip  (10 downloads)
Posted By: AllenAyres Re: [UBBT 6.0] Last Post By - 06/17/2002 4:36 AM
yes, prolly my fave

Updating the forums to .0.1, then I'll give this one a shot
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/17/2002 4:38 AM
I just looked at 6.0.1 and everything should cary over the same.
Posted By: msula Re: [UBBT 6.0] Last Post By - 06/18/2002 2:05 AM
It works fine, although the "last post" column on the far right seem too big, or at least bigger than they need to be. I was also using this thinking it would put in that column "last post by xxxxx at xxxxxx" or whatever, but its ok
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/18/2002 2:09 AM
I'll have to look again but I think the way it's displaying now is how .classic displays it's last post information?

I'll check with Allen. I'm sure he will know how to make it look the same.
Posted By: msula Re: [UBBT 6.0] Last Post By - 06/18/2002 2:10 AM
actually, I take that back, this hack isn't working correctly at all. It initially pulled the last post made, but it isn't updating with new posts being made, and my sticky post in a forum was throwing things off. Hmmm
Posted By: Ian_W Re: [UBBT 6.0] Last Post By - 06/18/2002 2:13 AM
The only difference is in classic the first 4 columns are all top rather than middle.

Ian.
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/18/2002 2:16 AM
ahhhh your using the first hack from when I thought I understood the question. I have since changed this to a completely new setup. The last post information is being displayed in the "last post" column of the postlist.php display.

I can modify this hack to overlook sticky posts though. I thought I had worked that in but I get ahead of myself sometimes.
Posted By: msula Re: [UBBT 6.0] Last Post By - 06/18/2002 2:19 AM
ahh, where is the attachment for that hack then? I thought it was your first post and used that one
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/18/2002 2:35 AM
I haven't posted this one yet. Still smoothing out some bugs. Allen is helping by being the first victim.
Posted By: msula Re: [UBBT 6.0] Last Post By - 06/18/2002 2:40 AM
Ahh, gotcha. I was noticing the last post is showing up for the top two threads on this forum, so I knew something was being done
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/18/2002 2:42 AM
More will show up over time. Only those threads with replies made after the hack was installed will have "last post" info. Things are looking promising. Keep your fingers crossed.
Posted By: omegatron Re: [UBBT 6.0] Last Post By - 06/21/2002 12:27 AM
I dont understand something here. 6.0 by default shows the last post and when you click it you then go to the last post. Is this hack really needed or what extra does it do?
Posted By: Lisa_P Re: [UBBT 6.0] Last Post By - 06/21/2002 1:16 AM
6.0.1 by default shows the last post by and the time in the Main Index (ubbthreads.php) page. This hack (if I understood correctly) gives the same information, but in the list of posts (postlist.php), where currently it only displays the last posted time for the thread.
Posted By: msula Re: [UBBT 6.0] Last Post By - 06/21/2002 3:22 AM
Lisa is correct, I see it beginning to be implimented here, but I don't like what it does to the table rows, takes up too much space. Maybe if the last post font was a lot smaller it would help
Posted By: omegatron Re: [UBBT 6.0] Last Post By - 06/21/2002 11:49 AM
Okay it must have been so ugly a hack they took it down

I looked here and did not see it implemented. I guess I will check back. Unless it changes the last post screen alot it already contants every posters name and the date and time posted by default. Threads does that by default which I thought was always annoying. it will list every reply to every thead.
Posted By: JoshPet Re: [UBBT 6.0] Last Post By - 06/21/2002 4:02 PM
On the post list...
it's in the column on the right.
Posted By: AllenAyres Re: [UBBT 6.0] Last Post By - 06/21/2002 6:45 PM
I went a bit smaller... did that help?

It can be very handy once you get used to it being there...
Posted By: JoshPet Re: [UBBT 6.0] Last Post By - 06/22/2002 2:16 AM
I like it. Looks sharp.

Going to install this one on my board this weekend.
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/24/2002 4:55 PM
This modification is NOT the same as the one in use here.

I hadn't understood what the exact modification specs were but Allen gave me some real examples to go by and so I created a new one that is being used here now. I'll be posting the new one today/tonight sometime. I think everything is working correctly. Allen helped get the bugs out while being the first victim.
Posted By: JustDave Re: [UBBT 6.0] Last Post By - 06/25/2002 7:43 AM
I have posted the updated version of this modification here:

https://ubbdev.com/threads/php/...ew=collapsed&sb=5&o=&fpart=1


Enjoy
© UBB.Developers