Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Dj Aero, capnbob, Morgan, id242), 46 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/12/04
Posts: 154
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#177490 - 02/04/07 09:47 PM Past 24 Hours
24hourcampfire Offline
journeyman
Registered: 11/02/06
Posts: 91
Hi Guys:

In version 6.5 and before, the Past 24 Hours (and 48, etc.) brought up the last active posts, not topics.

Is there a way to have Past 24 Hours give me most recent posts, and not the topics?


Also, in 7.02 do we have Post Trac`king with the little numbers, and if so, where do I enable. My people LIKE that.
_________________________
Rick Bin
24hourcampfire.com

http://www.24hourcampfire.com/ubbthreads/ubbthreads.php
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#177491 - 02/04/07 11:10 PM Re: Past 24 Hours [Re: 24hourcampfire]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
the little numbers that signify new posts are new in 7.1 which is currently in public beta.

As for Active Topics vs Active Posts; I believe allen made a modification recently for this at UBBDev.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180890 - 03/18/07 05:19 PM Re: Past 24 Hours [Re: Gizmo]
Fred Offline
member
Registered: 08/10/06
Posts: 115
Gizmo,

I have searched the UBBDev site for any info on this, but can't seem to come up with anything.

The only thing I have found is where you change the layout to include the body of the post in the list.

Do you have a link or can you point me to this mod?

Thanks,
Fred
Top
#180891 - 03/18/07 05:23 PM Re: Past 24 Hours [Re: Fred]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180897 - 03/18/07 06:34 PM Re: Past 24 Hours [Re: Gizmo]
Fred Offline
member
Registered: 08/10/06
Posts: 115
Yeah, that is the one I found, but again, it only changes the style the "topics" that are returned are displayed (shows the body of the post).

What we are looking for is to show ALL the posts, sorted by time posted, in the last 24 hours and not just limiting it to 1 topic (with multiple posts).

I have a feeling the change needs to be in activetopics.inc.php in the scripts directory, but I haven't been able to figure out how to modify the file yet (SQL query maybe?).
Top
#180901 - 03/18/07 07:14 PM Re: Past 24 Hours [Re: Fred]
Fred Offline
member
Registered: 08/10/06
Posts: 115
Hmmm, from what I can tell so far, version 6.5.5 (probably the older ones as well) used the dosearch file to return the active posts, just specifying the length (days). The new software uses a separate file (mentioned above), but also has the dosearch.inc.php file in the scripts directly which looks a lot like the old dosearch file.

Maybe either of these could be changed?

Do I smell a hack to also list another link under "Active Topics" that list All posts in the last 24/48 hours? Or maybe a link that also says "Active Posts?" I am sure this would be an easy mod for Rick (as he programmed/changed all this stuff), but I would have to dig into it. Heck, I didn't even know PHP until about a year ago (when I first downloaded UBBThreads). Don't you hate that as a developer? Want to use something and then have to learn a completely new language? Argh.

Anyway, if someone could come up with a simple down and dirty hack to modify this to show all the post in the past 24 hours I am sure it is wanted by more then just me.

After all, this is how the old software used to work.

BTW, this is the old link:
dosearch.php?Cat=0&Forum=All_Forums&Words=&daterange=1&newertype=d&newerval=1&Limit=25&topic=1&fromsearch=1

Maybe the new function could use this somehow?

Fred


Edited by Fred (03/18/07 07:16 PM)
Top
#180902 - 03/18/07 07:51 PM Re: Past 24 Hours [Re: Fred]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Ahh, you'd have to recraft the query to pull more than the latest post (to show all of the posts in 24 hours).
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180904 - 03/18/07 08:42 PM Re: Past 24 Hours [Re: Gizmo]
Fred Offline
member
Registered: 08/10/06
Posts: 115
Yep, that is what I was getting at. Not sure yet how to do that. I tried to alter it directly and got an error so I thought I would copy the file into an activeposts file and start. Then I got other errors and started back tracking and trying to find all the activetopics files and copying them into activeposts files and accessing them directly from the url, which would let me play away at it and not put up a second site or take down the active one. This would also let me use it in the future and give both functionality. Well, I still get a run_activeposts error, so I haven't found Rick's place where he defines the functions (scripts) yet....

Fred
Top
#180908 - 03/18/07 09:43 PM Re: Past 24 Hours [Re: Fred]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Most of the good stuff is in libs/ubbthreads.php (nto sure the name offhand, its the only threads one there)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180918 - 03/18/07 10:13 PM Re: Past 24 Hours [Re: Gizmo]
Fred Offline
member
Registered: 08/10/06
Posts: 115
Yeah, I opened that one up and searched for "active" as in "activetopics" but I didn't find it. There must be a place somewhere that lists the active functions or sets them.

I am only at about 36 hours since the "upgrade" when we went from 6.5.5. As you probably know, I was around for the betas and had a few beta sites running, but waited until yesterday to switch over the board.

The good news is the majority of the users are happy with it. There were a few issues, but I've been coding around them, simple things like edited style sheets (adding the red for the new posts and the other one that seems to be missing is the popupmenu codes in most of the published style sheets).

I also had an auto login hack I made for 6.5.5 because the remember me checkbox didn't work for most of my users. I ended up putting up a simple redirect page telling my users it was no longer necessary (which it isn't, the new site works like it's supposed to!).

I could go on and on, but really just minor changes here and there. I had to do a LOT more in the beta releases, this one is pretty clean.

I just wish I could figure out how to give them an "Active Posts" link like they are used to.

Fred
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image