inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on May 29, 2016 2:15:51 GMT -8
Hello! This forum is massive so I hope I have posted this question in the right sub-forum and that it has not been answered before. I have created a forum and I would like to have a new section above the Forum Information & Statistics section where a list of the 20 most recent posts are listed (on the front page). Like this forum has (it is not a ProBoards forum):
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 29, 2016 6:47:20 GMT -8
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on May 29, 2016 7:08:22 GMT -8
Thanks! I have already downloaded it, but a sidebar is unfortunately not what I am after. I will wait and hope then some other plugin comes along.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 29, 2016 7:29:53 GMT -8
Thanks! I have already downloaded it, but a sidebar is unfortunately not what I am after. I will wait and hope then some other plugin comes along.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 29, 2016 8:55:44 GMT -8
Note that the plugin already supports custom placement as described in the support thread Hi, Todge ... I wonder if you would consider adding the option that one could select the option on the plugin if do not wish it to display on a side bar so it would auto add it to the top or bottom of the forum Steve That would not be as straight forward as it sounds.... If you want the this code at the top [or bottom] of you forum, add this into your Global Header, <div id="recent_threads_here"></div>then put recent_threads_here into the plugin where it asks for the Container ID.
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on May 29, 2016 9:11:53 GMT -8
Many thanks, guys!
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on May 29, 2016 9:35:25 GMT -8
Got it to work. Almost at least. Only posts by mods are displayed. I have the settings below:
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 29, 2016 11:41:20 GMT -8
Have there been posts made by non-staff since the plugin was installed a couple of hours ago? Todge would know more how his plugin works than I but I suspect it harvests posts as they are made not posts going back before installation unless it also harvests them from the last post column on main page.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on May 29, 2016 15:55:31 GMT -8
Chris is correct, the plugin will only list posts that are made AFTER the plugin was installed and activated.
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on May 31, 2016 8:08:50 GMT -8
Chris is correct, the plugin will only list posts that are made AFTER the plugin was installed and activated. I decided finally not to use the plugin, did not get it to work properly. But thanks for your help anyways. I have another question, is it possible to create a custom page where it is listed what threads online members (and maybe guests) are currently viewing? Like: Thread name | Person viewing
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 31, 2016 8:59:14 GMT -8
Chris is correct, the plugin will only list posts that are made AFTER the plugin was installed and activated. I decided finally not to use the plugin, did not get it to work properly. But thanks for your help anyways. I have another question, is it possible to create a custom page where it is listed what threads online members (and maybe guests) are currently viewing? Like: Thread name | Person viewing The best you'll get is a report on which users and how many guests are viewing any given BOARD on the site since it has been deemed an invasion of privacy to show anything more granular than that. I realize some companies will take the NSA approach and consider any and everything fair game but Proboards has consistently drawn a line when it comes to keeping a balance between user privacy and "need to know" information necessary for the operations of the forum.
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on Jun 12, 2016 1:16:57 GMT -8
Chris is correct, the plugin will only list posts that are made AFTER the plugin was installed and activated. Thanks for your help, guys. I implemented this code a couple of weeks back, but it still does not work properly. Please compare the posts here petsoundsforum.com/posts/recent and here (bottom of the page) petsoundsforum.com/. A lot of posts are missing.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 12, 2016 4:51:27 GMT -8
Chris is correct, the plugin will only list posts that are made AFTER the plugin was installed and activated. Thanks for your help, guys. I implemented this code a couple of weeks back, but it still does not work properly. Please compare the posts here petsoundsforum.com/posts/recent and here (bottom of the page) petsoundsforum.com/. A lot of posts are missing. There could be several reason some are missing. The most likely being that posts are made from a mobile device. As plugins do not work while using the mobile app, any posts made using that will not be included in the list. Also, the code tries to sort the posts, so, if several posts are made to the same thread, only the latest one will be included in the Recent list, for example, in the page you have linked to, ' Listen to the Air (Mike Love and Dean Torrence)' has been posted in 3 times, but will only be listed once, the latest being it. So, taking the first page of your Recently Updated Threads.... Unsorted List | Removing Repeated & Mobile Posts
| Which Leaves...
| Your Listed Recent Threads | Listen to the Air (Mike Love and Dean Torrence) Listen to the Air (Mike Love and Dean Torrence) The Beach Boys Love You - personal recollections Listen to the Air (Mike Love and Dean Torrence) The Beach Boys on YouTube Mojo Presents: Pet Sounds Revisited Summer in Paradise The Beach Boys '85 Summer in Paradise The Beach Boys Love You - personal recollections The Beach Boys '85 Summer in Paradise Why are you here? Why are you here? The Beach Boys: An American Family (Movie) Things added to the board Why are you here? The Beach Boys Love You - personal recollections My Journey Into Jazz Minor questions that demand an answer (before it's too late) The Beach Boys '85 Who's into running? Post your results here! Love & Mercy (Movie) The Beach Boys Love You - personal recollections My YouTube Channel (BB Covers, originals, & whatever else) The Wonder Years: "Pet Sounds" episode My YouTube Channel (BB Covers, originals, & whatever else) The Beau Mondes / the captain / etc Happy Anniversary Love You My Journey Into Jazz | Listen to the Air (Mike Love and Dean Torrence)
Listen to the Air (Mike Love and Dean Torrence)
The Beach Boys Love You - personal recollections
Listen to the Air (Mike Love and Dean Torrence) The Beach Boys on YouTube Mojo Presents: Pet Sounds Revisited Summer in Paradise The Beach Boys '85
Summer in Paradise
The Beach Boys Love You - personal recollections
The Beach Boys '85
Summer in Paradise Why are you here?
Why are you here?
The Beach Boys: An American Family (Movie) Things added to the board
Why are you here?
The Beach Boys Love You - personal recollections My Journey Into Jazz Minor questions that demand an answer (before it's too late)
The Beach Boys '85 Who's into running? Post your results here! Love & Mercy (Movie) The Beach Boys Love You - personal recollections My YouTube Channel (BB Covers, originals, & whatever else) The Wonder Years: "Pet Sounds" episode
My YouTube Channel (BB Covers, originals, & whatever else) The Beau Mondes / the captain / etc
Happy Anniversary Love You
My Journey Into Jazz | Listen to the Air (Mike Love and Dean Torrence) The Beach Boys on YouTube Mojo Presents: Pet Sounds Revisited Summer in Paradise The Beach Boys '85 Why are you here? Things added to the board My Journey Into Jazz Minor questions that demand an answer (before it's too late) Who's into running? Post your results here! Love & Mercy (Movie) My YouTube Channel (BB Covers, originals, & whatever else) The Wonder Years: "Pet Sounds" episode The Beau Mondes / the captain / etc
| Listen to the Air (Mike Love and Dean Torrence) The Beach Boys on YouTube Mojo Presents: Pet Sounds Revisited Summer in Paradise The Beach Boys '85 Why are you here? Things added to the board Minor questions that demand an answer (before it's too late) Who's into running? Post your results here! Love & Mercy (Movie) The Beach Boys Love You - personal recollections My YouTube Channel (BB Covers, originals, & whatever else) The Wonder Years: "Pet Sounds" episode The Beau Mondes / the captain / etc |
So, in reality, you are not losing any threads that I can see.
|
|
inherit
232749
0
Dec 29, 2018 10:24:51 GMT -8
Freeway Close
16
May 2016
glober
|
Post by Freeway Close on Jun 12, 2016 5:07:41 GMT -8
So, in reality, you are not losing any threads that I can see. Thanks, Todge! Is it possible to request a plugin that shows the 20 latest posts, period. Like: SELECT * FROM posts ORDER by ID DESC LIMIT 20and then (this example is written in PHP, you probably use some other programming language): foreach($posts AS $post): echo $post->sub_board . " " . $post->thread_name . " by " . $post->user . " at " . $post->time_stamp; endforeach;
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 12, 2016 5:15:55 GMT -8
So, in reality, you are not losing any threads that I can see. Thanks, Todge! Is it possible to request a plugin that shows the 20 latest posts, period. Like: SELECT * FROM posts ORDER by ID DESC LIMIT 20and then (this example is written in PHP, you probably use some other programming language): foreach($posts AS $post): echo $post->sub_board . " " . $post->thread_name . " by " . $post->user . " at " . $post->time_stamp; endforeach;I can disable the function that removes duplicated threads, that would then list ALL posts, regardless, that would be the easiest way of doing it, but there is simply no way of collecting posts made via a mobile device at this time, so those will still be missing from the final list. Could I also suggest that you add this to the CSS Styling in your plugins settings.. #recent-threads-cell { overflow: auto; } That should make your Recent Threads List scrollable.
|
|