|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
Hi
I am trying to do something a little complicated. On the front page of most UBBs, forums are listed together with the title of the last posting, who it was by, and when it was posted. It is a nice automated feature in my opinion and I would like to reference it elsewhere in my web site.
I am by no means clued-up in perl and cgi, and want to create a headline-style feature which takes its text from the latest posting in a forum. Given that the page will be an .shtml file, I suspect that the headline should be referenced within a server-side include as well and so need to work out a way of copying and modifying a UBB script to simply print the headline of the last posting such that all other formatting is defined by me elsewhere.
Has anyone ever done this before?
Thanks for your time.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
You might try looking at the "latest threads" modification by dj casual for this. Most of the work has been done I believe. v6.4 will have something similar as well 
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
many thanks, i'll give it a shot.
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
Hmmm. I am using UBB v 6.04c and so when it came to following through djcasual's method, I came to the part where he mentions modifying var_latest_threads_1.cgi from the Latest_Threads dir which doesn't seem to exist on my version  ! Kind Regards
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
That file is part of the hack.
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
will the latest hack work on the my older UBB?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
The one for 6.3?
No.
Use the 6.x version, because it's supposded to be installed on 6.x.
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
From memory the link to that one didn't work though - is there another location it is downloadable from?
Cheers
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Check the 6.3 thread because it links to his site where he may have the other versions listed.
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
No joy with that one.... Before I posted on here, I also posted on community.infopop.net and someone there said the following which doesn't mean a lot to me . . .
I'll give you the file format of lastnumber.file but you're on your own for writing a script to extract the relevant information. The people at UBBDev might be able to help..
(NOTE: This file format is for version 6.1.0 - my sources for 6.04c are archived )
Number of Last Topic Posted Total number of topics Total number of posts Last Subject Public Name Icon Number of topic containing forum's last post
(Lines 4-7 are the ones that are probably most relevant for you)
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Just upgrade to v6.3 and use http://forums.santacruzsentinel.com/lt/ BTW, it might work with 6.04 as well... But that's not guaranteed. (anyhow, you can also use UBBNews)
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
ha ha, that's a bit of an outlay though!
I can't upgrade now without paying as it is over a year since I bought the UBB.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Win a comp and get free access then. But have you tried that version on 6.04 yet?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by Lord Dexter: Win a comp and get free access then. But have you tried that version on 6.04 yet? You make it sound like it's easy :rolleyes: Anyhow, you can also ask Infopop to send you the latest available version that was available before your license expired. This hack works with 6.2 for sure, and probably with 6.1
|
|
|
|
Joined: Aug 2002
Posts: 10
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 10 |
I can't try it on the previous version because the link to download the latest threads hack for the previous version does not work.
Kind Regards
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I meant that you should use the 6.3 version on 6.0!!!!!!! Anyhow, did you email IP?
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|