|
Joined: Nov 2006
Posts: 93
journeyman
|
journeyman
Joined: Nov 2006
Posts: 93 |
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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.
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
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?).
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
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
Last edited by Fred; 03/18/2007 7:16 PM.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Ahh, you'd have to recraft the query to pull more than the latest post (to show all of the posts in 24 hours).
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Most of the good stuff is in libs/ubbthreads.php (nto sure the name offhand, its the only threads one there)
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
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
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Napalm),
806
guests, and
165
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|