Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Name: Latest Threads

Version: 1.2.7

Author: DjCasual

Description: Tease/display forums Latest Threads via SSI, I-Frame or PHP on any page on your Website.

New in 1.2.7:
  • Filter bug on both Exclude and Include modes now fixed
  • Header and Footer option for I-Frame users
  • BT fixes for last page and time format (thanks BT)
  • Minor bug fixes


Requirements:
  • Full License
  • UBB Version 6.1.x

Features:
  • Works with SSI, I-Frame and PHP.
  • Create multiple stream outputs
  • Displays latest threads listings regardless of date or time. (No Cinderella effect)
  • Filters forums by forum number in Exclude or Include modes.
  • 13 different display options or create your own custom display. Ability to use multiple public templates for multiple streams.
  • Summary size option (smaller or larger)
  • Save to file option (saves in NonCGIPath)
  • Select number of threads to display on a page
  • Uses it's own cache.
  • Charles Capps subroutines and filehandler compliant
  • Sister site pickup script add-on (beta)

Future plans and development:
  • Auto update save-to file
  • Full control panel

Example screenshots and Links:
[Linked Image]
File Download Location:

http://profusion.iwarp.com

Please report any bugs or suggestions here.

DjCasual ([email protected])

[ 01-17-2002 10:06 PM: Message edited by: djcasual ]

Sponsored Links
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
Nice.


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
Getting an error. It is showing the threads but underneath it displays this.....

C:/Inetpub/wwwroot/Unnecessaryroughness/cgi-bin/ubb_latest_threads.cgi: Can't open C:/Inetpub/wwwroot/Unnecessaryroughness/ubb/cache-LRZJJLQ7/ubb_files/misc/latest_threads/zone_C:InetpubwwwrootUnnecessaryRoughness-binlt.cgi: Invalid argument Here is the backtrace: Backtrace: ubb_lib_filehandle.cgi:287 -> sub UBB::FileHandle::tracer Backtrace: ubb_lib_filehandle.cgi:375 -> sub UBB::FileHandle::_open Backtrace: ubb_lib_filehandle.cgi:58 -> sub UBB::FileHandle::_open_file Backtrace: ubb_lib_filehandler.cgi:116 -> sub UBB::FileHandle::new Backtrace: ubb_lib_files.cgi:519 -> sub UBB::FileHandler: shocked pen Backtrace: ubb_latest_threads.cgi:406 -> sub main::WriteFileAsString Backtrace: ubb_lib.cgi:1789 -> sub (eval) Backtrace: lt.cgi:115 -> sub main::RequireCode


Any ideas?

[ 10-27-2001: Message edited by: Casper ]

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
This
Quote
quote:
Should be this
C:InetpubwwwrootUnnecessaryRoughnesscgi-binlt.cgi

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Has to be an NT problem, I don't have access to NT machines so I'm only limited to testing on Iplanet/Solaris and Apache/Linux servers.

For some reason the zone is not correct. Looks like users will have to put in zone names manually in the new fix.

I'll start on a fix soon.

Thanks

DjCasual

[ 10-27-2001: Message edited by: djcasual ]

[ 10-30-2001: Message edited by: djcasual ]

Sponsored Links
Joined: Mar 2001
Posts: 41
BT Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
w00t laugh laugh

Thanks for updating for 6.1!

BTW You need to update the PHP include instructions so that it reads lt.cgi instead of ultimatebb.cgi?latest_threads

Oh, and lt_reset.cgi isn't in the ZIP!

[ 10-28-2001: Message edited by: BT ]

Joined: Apr 2001
Posts: 35
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 35
good show

[ 10-27-2001: Message edited by: TheLizardKing ]

Joined: Sep 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 25
Great, It works a treat! laugh

Just one thing how do I get rid of the line break between threads?

http://www.jonspage.co.uk/Splat/index.shtml

I have little room there and I would rather they were closer. Any ideas, thanks.

Jon

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
Just look for the obvious HTML output in the CGI and it's easy from there..

Joined: Sep 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 25
I got it totally sorted thanks

Jon

[ 10-29-2001: Message edited by: Jonny_boy ]

Sponsored Links
Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
Any luck with the NT fix ?

If you would like me to try anything on my server let me know.

Thanks.

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
v1.2.3. is now available.

  • NT debug zone fix
  • Summary length option
  • Display space option



Small update, but things are progressing.

NT users please leave me feedback if your Latest_threads run with or without problems. In order for me to continue the development of LT, I need to make sure that no one has anymore bugs.

Thanks

DjCasual

[ 10-30-2001: Message edited by: djcasual ]

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:

Thanks for looking into that BT, everything is fixed now. I notice you use PHP on your server, can you verify that the PHP includes work?

Thanks

Joined: Mar 2001
Posts: 41
BT Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
Code
quote:</font><hr>Originally posted by djcasual:
Thanks for looking into that BT, everything is fixed now. I notice you use PHP on your server, can you verify that the PHP includes work?<hr></blockquote>

Yes it does, I call it with:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
This is working perfectly on my IIS server now...Thanks!

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Here's the latest threads using the #exec cgi on an NT (2K) IIS 5 server....So it works great on 6.1.0.2! Thanks again.

http://www.netwerkin.com/default1.shtml

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Yes a lot of this new code is a lot more cleaner than the v6.0x versions of LT.

I'm glad to hear it's working out for you. Are you using the $debug_zone option?

What ever happened to that guy Casper? He was really into getting his LT up and now he's ghost!

Ohh well.

Thanks

Casual

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Yeah, the debug_zone is set to 1.

Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
i installed this hack and it works great!! one question, maybe a newbie question but is there a way to change the font when using iframe technique to match the font on my site?

Joined: Jun 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 8
Hello,
I am from Germany. I Have a Problem. In this Hack the Date and Time Format is US-Format. I have the German Boardsoftware. Is here anyway, who can say me, which $.... Command for the German Date and Time Format is. Thank you.

http://www.gieseler.de/cgi-bin/.ubb/lt.cgi

mfg Norbert

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
does anyone use this on their actual forums? or just on a portal or intro page, leading to their forums?

(i've been hopin, for close to a year now, that someone would develop a way that i could list the 5-10 most recent threads in a table on [atleast] my forum summary page)

not thru ssi, not thru asp... just some good ole fashioned, home cooked cgi and html.

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
Code
quote:</font><hr>Originally posted by djcasual:



What ever happened to that guy Casper? He was really into getting his LT up and now he's ghost!

Ohh well.

Thanks

Casual
<hr></blockquote>


hehe....

Yeah your debug_zone worked. Thanks.

It also worked without the debug and chache turned off.

One more "bug" for option 11 in ubb_latest_threads.cgi

<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:

Should be....
Code
code:

Thanks again.
It works!

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
drknight,

I tried doing this for you in the past but had no luck. In order for it to work I would have to incorporate the entire code in to ultimatebb.cgi. This means I would have to re-write a lot of the code. If I ever find an easy solution I'll let you know.

Sorry

Casual

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Future releases will have font tag option. Should be released this week. I found bugs with 1.2.3.

Thanks

Casual

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Quote
quote:
It can be easly done with File include inside the forum summary template


Do you believe in love at first sight,
or should I walk by again?
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
Quote
quote:

heya dj... thanks for the attempt! ...

i (in my infinite stupidity) actually tried combining the active topics cgi with the ultimatebb.cgi file once (when 6.0 was new). the results were... less than desired, to say the least.

anyway, thanks for tryin.

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
Code
quote:</font><hr>Originally posted by Chuck:

It can be easly done with File include inside the forum summary template
<hr></blockquote>

esplain!

... or, wait, lemme try first, then you :)

in the template, i just do:

<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:

and, i guess the "?" would be... active topics.cgi? or... something that i'd get after i install the rest of this latest threads code? ...

...or something?


and... actually, if its that simple, it'd be even better if i could add it into the template's forum header, so that the 5 most recent topics would appear like where ubbdev's "sidebar" appears

laugh confused

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Sorry, I never thought about the international community. I'll have to look into it some more. Please give me an example of German Date/Time format. Thanks

Quote
quote:
Sorry but you can't server side include (SSI) into PERL. Maybe 'DO' command, but I'll have to test.

Thanks

Casual

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
straight from Cal :

a sub routine :

Code
code:

and the way to call it:
Code
code:

but then you might need to export to a static file first since I didn't try.

[ 11-14-2001: Message edited by: Chuck ]


Do you believe in love at first sight,
or should I walk by again?
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
...soo.... many... foreign concepts...

...head... hurting...

"open(F,$file) or die $!;"

thats terrible! smile and all the profanity is really unnecessary!


i appreciate the help chuck n'dj, but... this is really beyond me.

i tried messing with it last night. i tried the file include, then tried the file exec (because "includes" can't do cgi scripts, right?). i just placed the "