Previous Thread
Next Thread
Print Thread
Rate Thread
#219114 06/16/2002 9:30 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.
Attachments
50176-lastpostby.6.0.zip (0 Bytes, 10 downloads)

Last edited by JustDave; 06/16/2002 10:51 PM.
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yes, prolly my fave

Updating the forums to .0.1, then I'll give this one a shot


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I just looked at 6.0.1 and everything should cary over the same.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
The only difference is in classic the first 4 columns are all top rather than middle.

Ian.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
ahh, where is the attachment for that hack then? I thought it was your first post and used that one

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I haven't posted this one yet. Still smoothing out some bugs. Allen is helping by being the first victim.

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
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?

Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
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.


[:"red"]Lisa[/]
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
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.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
On the post list...
it's in the column on the right.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I went a bit smaller... did that help?

It can be very handy once you get used to it being there...


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I like it. Looks sharp.

Going to install this one on my board this weekend.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I have posted the updated version of this modification here:

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


Enjoy


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)