Previous Thread
Next Thread
Print Thread
Rate Thread
#176445 08/03/2002 2:54 PM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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.

Sponsored Links
#176446 08/03/2002 3:08 PM
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. smile

v6.4 will have something similar as well smile


- Allen wavey
- What Drives You?
#176447 08/04/2002 2:39 AM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 10
many thanks, i'll give it a shot.

#176448 08/04/2002 3:14 AM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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 help !

Kind Regards

#176449 08/04/2002 3:52 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
That file is part of the hack.

Sponsored Links
#176450 08/04/2002 4:49 AM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 10
will the latest hack work on the my older UBB?

#176451 08/04/2002 6:53 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#176452 08/04/2002 7:59 AM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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

#176453 08/05/2002 2:10 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#176454 08/05/2002 3:16 PM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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)

Sponsored Links
#176455 08/05/2002 3:30 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Just upgrade to v6.3 and use http://forums.santacruzsentinel.com/lt/ tipsy

BTW, it might work with 6.04 as well... But that's not guaranteed.

(anyhow, you can also use UBBNews)

#176456 08/06/2002 3:05 AM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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.

#176457 08/06/2002 4:12 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Win a comp and get free access then. But have you tried that version on 6.04 yet?

#176458 08/06/2002 4:58 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Quote
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: tipsy

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

#176459 08/06/2002 12:47 PM
Joined: Aug 2002
Posts: 10
Junior Member
Junior Member
Offline
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

#176460 08/06/2002 12:51 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I meant that you should use the 6.3 version on 6.0!!!!!!! tipsy

Anyhow, did you email IP?


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,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)