Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Jul 2001
Posts: 75
Member
Member
Offline
Joined: Jul 2001
Posts: 75
I added LT, I have it running to only broadcast my Announcements forum, All I want it to do is like here on UBBDEV where my first post is the only post to show up on my main site page. If you visit the main page it lists all the replies as well!

Sponsored Links
Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
quote:
Originally posted by nystreetracing:
I added LT, I have it running to only broadcast my Announcements forum, All I want it to do is like here on UBBDEV where my first post is the only post to show up on my main site page. If you visit the main page it lists all the replies as well!

Sorry but Latest_Threads was not made to work as a headliner or news mod, although it can be used in that fashion the only way to accomplish this is to create a forum that only Admins and Moderators can post to.

This way all others users can read the forum but not post to it and Latest_threads won't pick any replies.

You can find the setting under 'Forum Settings' then find the forum and click on 'details'. Then locate the 'Who Can Post Topics?' and 'Who Can Post Replies?' and select 'Only Admins, moderators and authorized users' for both settings.

Goodluck

Casual

Joined: Jul 2001
Posts: 75
Member
Member
Offline
Joined: Jul 2001
Posts: 75
I knew I could do that, but how does UBBDEV do it?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
we use ubbnews... both are good in their own way smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
The fix to the Login names worked, finally it's working the way I want it. smile

Sponsored Links
Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Yeah - it's all working great on my site as well. Thanks dj!

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Would anyone find the need for a control panel useful or needed?

Please input.

Thanks
Casual

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 please... I was just looking at this a couple hours ago and wondering when you might get around to that smile

Would make the mod a good bit more user-friendly smile


- Allen wavey
- What Drives You?
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
I second that smile


jeremiah
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Yes, that would be alot better. smile

Sponsored Links
Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Just a question... Judging by the screenshots and a glance at the code, I couldn't see it list the forum name anywhere in the output. Is it possible to have it list a forum where the post appears next to the post headline?

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Originally posted by Gladius:
Just a question... Judging by the screenshots and a glance at the code, I couldn't see it list the forum name anywhere in the output. Is it possible to have it list a forum where the post appears next to the post headline?
Yes, that option is available both in the pre-defined output selections or by using the custom template.

Casual

Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Oh, ok. Thanks. smile

Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Works great! wink

Joined: Jun 2001
Posts: 58
Power User
Power User
Offline
Joined: Jun 2001
Posts: 58
We upgraded to 6.3.1.1, put the hack into ubb_lib_posting.cgi, and for some reason are getting this error.

Code
NonCGIPath/lt/Index/set_index-main.cgi did not return a true value at CGIPath/ubb_latest_threads.cgi line 21.
Any ideas?

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Originally posted by intensity:
We upgraded to 6.3.1.1, put the hack into ubb_lib_posting.cgi, and for some reason are getting this error.

code:
[qb]
Code
NonCGIPath/lt/Index/set_index-main.cgi did not return a true value at CGIPath/ubb_latest_threads.cgi line 21.
[/qb]
Any ideas?
Where you running Latest Threads before the upgrade?

Could you please open the NonCGIPath/lt/Index/set_index-main.cgi and post it's contents here.

Thanks

DjCasual

Joined: Jun 2001
Posts: 58
Power User
Power User
Offline
Joined: Jun 2001
Posts: 58
Quote
quote:
Originally posted by djcasual:
quote:
[qb]Originally posted by intensity:
We upgraded to 6.3.1.1, put the hack into ubb_lib_posting.cgi, and for some reason are getting this error.

Quote
code:
Code
NonCGIPath/lt/Index/set_index-main.cgi did not return a true value at CGIPath/ubb_latest_threads.cgi line 21.
[/qb]
Any ideas?
Where you running Latest Threads before the upgrade?

Could you please open the NonCGIPath/lt/Index/set_index-main.cgi and post it's contents here.

Thanks

DjCasual

Yes we were running the script before the upgrade and it was working great! rockband

The file for NonCGIPath/lt/Index/set_index-main.cgi was there but blank. I'm under the assumption that this file is created by the hack?

I erased the file and things appear to work now. laugh Thanks for the response DJCausal.

Jon

Joined: Oct 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2002
Posts: 24
Script works great, just one thing i cant seem to get to work

Im using IFRAME. but when u click the forum link, it opens the window in the IFRAME.

i edited public_lt.pl






but NO LUCK...am i missing something, i want the link to open in Parent.

Thanx,
Tony K

Joined: Oct 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2002
Posts: 24
i tried editing ubb_latest_threads.cgi

# iframe
if ($vars_latest_threads{include_type} == 1) {
$target = " target="_parent"";

} else {
$target = " target="_parent"";
}

still not working.

Joined: Oct 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2002
Posts: 24
I got it all working.

THanks anyways.

WOO HOO

ps. thanks for the script!

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Yes we were running the script before the upgrade and it was working great! rockband

The file for NonCGIPath/lt/Index/set_index-main.cgi was there but blank. I'm under the assumption that this file is created by the hack?

I erased the file and things appear to work now. laugh Thanks for the response DJCausal.

Jon
Glad you got it working. I don't know exactly why that created a blank file but that was smart on your part by erasing it.

quote:
[qb]Originally posted by Tonyk:
I got it all working.

THanks anyways.

WOO HOO

ps. thanks for the script!
[/qb]
You may also wan't to try the Javascript include. Javascript include works on all browsers while IFrames works only on a limited amount of browsers.

----------------------------

Has anyone seen the new UBB 6.4? I've read it will have some type of Latest Threads/Active Topics Island feature? Anyone have any more detailed information about it?

Thanks

DjCasual

Joined: May 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 1
Is it possible for this to show threads in private forums as well?

Joined: Jun 2001
Posts: 36
Member
Member
Offline
Joined: Jun 2001
Posts: 36
I was just curious if anyone could point me to where I could possibly edit it so that the the thread title posted was bold, and the "by [author]" was in italics?

Thanks! smile

Joined: Nov 2002
Posts: 29
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 29
I'm running my own NT Web Server and I'm trying to get this mod to work. I Know that my file for the mod are correct because I just moved the web site from another NT server. Anyway I'm looking for directions on how to setup or installed SSI on NT 2000 Server.

Joined: Nov 2002
Posts: 29
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 29
bump

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

i have installed the hack on my boar at:

http://www.giga-board.com/cgi-bin/ultimatebb.cgi

What have I to do, when somebody clicks on a thread that a new window opens! At which file I have what to modify?

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hello,

is there nobody with an idea?
The background is whithe and change at the latest threads_1.html didn't work becouse it overwrites it everytime a new post was made.....

PLEASE HELP ME!!!

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Quote
quote:
Originally posted by irigen:
Is it possible for this to show threads in private forums as well?
No, private forums will not work, no way around it, sorry.

quote:
[qb]Originally posted by redhotkitchen:
I was just curious if anyone could point me to where I could possibly edit it so that the the thread title posted was bold, and the "by [author]" was in italics?

Thanks! smile
[/qb]
You'll need to setup a custom output, read the documentation carefully and edit the public_lt.html file to create your custom output.

Quote
quote:
Originally posted by Y2K_DeJai:
I'm running my own NT Web Server and I'm trying to get this mod to work. I Know that my file for the mod are correct because I just moved the web site from another NT server. Anyway I'm looking for directions on how to setup or installed SSI on NT 2000 Server.
Do some searches on google for SSI setup on W2K Server. I wish I could help you more on this but we only use Unix/Linux systems here. Otherwise try using the javascript includes, javascript does not require any type of server installation module or program and is a client side include.

quote:
[qb]Originally posted by d-talk:
Hi,

i have installed the hack on my boar at:

http://www.giga-board.com/cgi-bin/ultimatebb.cgi

What have I to do, when somebody clicks on a thread that a new window opens! At which file I have what to modify?

Thanks
d-talk
[/qb]
Have you tried using the SSI or javascript includes first? I don't recommend anyone using IFrame since SSI and javascript includes work a lot nicer.

Let me know if anyone needs further help with a particular setup but please first try the above first.

Thanks
Casual

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
.... and what ist with the backgroundcolor it ist white i dont't like white color....

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm... you need to set the background of the page :
http://www.giga-board.com/ubb/lt/latest_threads_1.html

There's no html, head, or body tags there either...


- Allen wavey
- What Drives You?
Joined: Feb 2001
Posts: 54
Member
Member
Offline
Joined: Feb 2001
Posts: 54
quote:
Originally posted by djcasual:
  • Displays latest threads listings regardless of date or time. (No Cinderella effect)


I just noticed mine isn't behaving this way. The topics disappear from the Latest Threads list after a day or two (haven't been able to pin down the exact lifespan). For example I have a "Sponsors" forum which doesn't see much use and over time the posts disappear from the Latest Threads summary for that forum until they're all gone and "No new topics" appears. I can't find any settings in the vars_latest_threads.cgi files which determines lifespan. How do I eliminate or at least extend the lifespan? I'd prefer they didn't expire at all. If that forum doesn't see a new topic for months I still want the latest (several month old) threads displayed in the summary. Anyone?

Joined: Feb 2001
Posts: 54
Member
Member
Offline
Joined: Feb 2001
Posts: 54
Anyone? I've been thru public_lt.pl, ubb_latest_threads.cgi and the var_latest_threads.cgi files plus double checked my hack of ubb_lib_posting.cgi and I can't figure out where the lifespan is set. I saw a post earlier in this thread that deleted the set_index-main.cgi file because they had been using a previous version. I too was running v1.1 before I upgraded to 2.1 so I just deleted set_index-main.cgi and replied to an expired thread to rejuvenate it so it appears in the latest threads summary again. Then I checked set_index-main.cgi and it's full of numbers again although they're slightly different from the version I deleted. Mostly just a different order really. Here's a snippet of before and after:

Before =
%latest_date_time = (
q!0008a000355! => q!2452621.2108!,
q!0003a002439! => q!2452621.2246!,
q!0004a000544! => q!2452622.0127!,
q!0005a000149! => q!2452621.2059!,
q!0003a002472! => q!2452622.114!,
q!0003a002473! => q!2452622.2151!,
q!0003a002476! => q!2452621.2249!,
q!0003a002477! => q!2452622.1004!,
q!0003a002478! => q!2452622.1621!,
q!0009a002536! => q!2452621.2053!,
q!0014a000002! => q!2452622.0849!,
q!0009a002464! => q!2452622.2041!,
q!0009a002539! => q!2452621.2341!,
q!0014a000005! => q!2452622.0147!,
q!0009a002571! => q!2452622.0946!,

After =
%latest_date_time = (
q!0004a000544! => q!2452622.0127!,
q!0003a002472! => q!2452622.114!,
q!0003a002473! => q!2452622.2151!,
q!0003a002477! => q!2452622.1004!,
q!0003a002478! => q!2452622.1621!,
q!0014a000002! => q!2452622.0849!,
q!0009a002464! => q!2452622.2041!,
q!0014a000005! => q!2452622.0147!,
q!0009a002571! => q!2452622.0946!,
q!0007a001164! => q!2452622.1921!,
q!0014a000006! => q!2452622.0038!,
q!0007a001166! => q!2452622.091!,
q!0015a000003! => q!2452622.2216!,
q!0010a001104! => q!2452622.2056!,
q!0009a002579! => q!2452622.1154!,
q!0015a000006! => q!2452622.1716!,

I'll keep an eye on each stream and see if they're still on a 24 hr cycle. I really want these streams back off the 24 hr lifespan clock. frown

Joined: Feb 2001
Posts: 54
Member
Member
Offline
Joined: Feb 2001
Posts: 54
Well that didn't work, they still expire after 24 hours. Since nobody has replied I'm assuming the description of this hack is in error and this is the designed behavior. frown Hopefully the Content Islands in 6.4 don't work this way?? I guess I'll find out soon enough.

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
You should be using CIs rather than this hack anyway. smile And no, topics listed in a CI never expire - they remain there until bumped off the list.


UBB.classic: Love it or hate it, it was mine.
Joined: Feb 2001
Posts: 54
Member
Member
Offline
Joined: Feb 2001
Posts: 54
As soon as 6.4 is out of beta I'm all over it laugh Thanks for the CI info [Linked Image]

Joined: Sep 2002
Posts: 35
Member
Member
Offline
Joined: Sep 2002
Posts: 35
Quote
quote:
Originally posted by ericruhl:
Well that didn't work, they still expire after 24 hours. Since nobody has replied I'm assuming the description of this hack is in error and this is the designed behavior. frown Hopefully the Content Islands in 6.4 don't work this way?? I guess I'll find out soon enough.
i'm with Eric on this one. i thought the hack was suppose to keep topics in forever!! mine is also expiring after 24hrs... is there a fix for this or did i screw something up in the script??

Joined: Apr 2001
Posts: 107
Member
Member
Offline
Joined: Apr 2001
Posts: 107
Sorry guys but this hack is now EOL.

Latest Threads has always worked without 24hr/Cinderella effect. I'm not exactly sure what is causing this problem but the hack works fine on my current UBB.

If your running on NT there may be conflicts since I don't have access to those types of servers and could never verify it works 100%.

I had fun doing this hack and hope everyone benefit from it. Before I created Latest Threads I didn't know any PERL, it's been great learning a new language especially one so powerful.

I probably won't be creating anymore hacks for ubb since this was the only hack I really needed for my board. I also don't have the free time to really get into anymore projects.

I'm just glad Charles Capps decided to finally add Content Islands.

Thanks everyone for your support this project was fun.

DjCasual

Page 2 of 2 1 2

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)