{OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!July 04, 2017, 10:47:55 PM

{OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.July 04, 2017, 10:43:36 PM

♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?February 05, 2017, 08:21:14 PM

WhiteEagle: of course IMHO that site appears to be dead February 04, 2017, 01:08:05 PM

WhiteEagle: If I can get that, then I'll use it for that site...February 04, 2017, 01:07:35 PM

WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive pluginFebruary 04, 2017, 01:06:54 PM

I'm using SimplePortal 2.3.7 on SMF 2.0.15 and I'm very happy with the combination.

But there's is one big but: the Recent Posts/Topics block only shows things that really, really recent, and that doesn't work for all of the forums/boards. Because some are much 'slower' than others, so I can't use Recent Posts/Topics for this.

@ emanuele: I know that I can adjust the number of posts/topics to display.

But that doesn't help of the code behind it just deems the posts and topics too old and doesn't display them anymore because of that.

I don't understand how two different blocks would help, the code behind them is the same and they both wouldn't display anything.

I think my question is really about adapting some of the code used in this SimplePortal block, and I hope that the coders of SimplePortal are here to answer it (like I wrote before, the support thread on the SMF forum doesn't yield an answer to this problem).

Simple Portal actually uses recent posts or recent topics from SSI.php.The only allowance with the current coding is the total number of posts or topics to display in descending order from all selected boards.Due to other mods or functions possibly using those same SSI.php functions it will be necessary to create specific functions for this purpose.

I can do that for you in the form of a plug-in so you do not have to do any editing/coding.Perhaps it will be best to include 2 additional inputs to include oldest date to query and how many from each board.This way the list will not be too lengthy in some circumstances.

Does that sound correct? Am I understanding what you are requesting properly?

To make sure that it's clear what the problem is: when I use the current option for Recent Posts/Topics in SimplePortal it works like a charm, but only of the boards that are included that have very often new posts.

But we would love to have some blocks for 'slow' boards as well, in one of those the latest posts were on the following dates:

7th of May 201814th of April 201817th of March 201817th of March 20181st of March 201823rd of April 201721st of April 201726th of October 2016

If I make a new Recent Posts/Topics block for this board it says that there isn't any recent to display, none at all. I would love to have the option to set the period that it should collects posts and topics from, so that it would display posts from the last months, half year of even a bit longer.

You can post the link to the download page on my forum but not the plug-in itself.

Quote

Would it also be possible to exclude topics that are locked from the list of Recent Posts/Topics?

It uses topics from the boards you opt in the block settings.All topics that are visible to the member will be listed.To have it use some sort of specific topic selection would just be too vast of a list on the admin page in most circumstances.To convey specific information such as you suggest is what something like articles is for.

I will be making another update to the plug-in later today.. it will be version 1.21 when it is ready and available from the same download page.I overlooked something regarding total number of topics/posts that has to be adjusted.

Quote

By the way: in the package-info.xml it says "install for="2.0 - 2.0.98", were it normally says "install for="2.0 - 2.0.99".

There will never be SMF 2.0.99 for that branch.I set that up like that on purpose in all my mods/plug-ins due to SMF 2.1 beta/RC versions (2.0.99 - 2.1.98).It's a branch catch-all that works quite well. SMF devs do version increments in such a way that it will never reach that .99 version number.

I believe it had something to do with the DOM filter I use for truncating posts/topics.The recent post/topic alterations have been removed from the truncate plug-in (v1.23).In my download section there now exists a new SP plug-in for recent posts/topics which I just gave you.

If you ever find yourself in need of the truncate plug-in please don't hesitate to download & try it again.It has been adjusted and tested with various language characters which seem to work in my local environment.

If you don't mind me asking... What language is your forum/database set to?Can you provide an example of a post that was giving the issue perhaps in a PM so that I can test the specific characters?