Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Nathaniel on August 04, 2008, 07:19:01 PM

Title: Recent Topics On Board Index
Post by: Nathaniel on August 04, 2008, 07:19:01 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1314)

Recent Topics On Board Index 1.03 by Nathaniel
Overview

This mod replaces the list of recent messages on the board index, with a list of recent topics. The formatting however remains completely the same. Please note that it only works if more than one posts/topic is being listed in the list, and if you have enabled the setting below.

SMF Version Support
This mod is officially supported for SMF 2.0 and above only. Below is a list of available versions of this mod and the previous versions of SMF that they supported. Use them at your own risk. The mod author will not be supporting or upgrading this mod in any way for versions of SMF below 2.0.

Version 1.02: SMF 1.1.x and versions of SMF 2 before SMF 2 RC2.
Version 1.03: SMF 2 RC2 and above.

Donate
If this mod has helped you, then feel free to support the developer by Donating (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VCFQ7MJNVXLLA&lc=AU&item_name=Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted). Any amount of money is welcome.

Mod Usage
You can change the number of listed topics in the admin section:
For SMF 1.1.x: "Themes and Layout" section -> "Themes and Settings" tab -> Click on the name of the relevant theme.
For SMF 2: "Configuration" drop down menu -> 'Themes and Layout' -> 'Themes Settings' Tab -> Click on the name of the relevant theme.

You need to change the "Number of recent posts to display on board index" setting.

Custom Theme Changes
Find the code below from your '/themes/{themename}/BoardIndex.template.php' file:
For SMF 1.1.x:
$txt[214]
For SMF 2:
$txt['recent_posts']

Replace all occurrences of that code with this code:
$txt['RecentTopicsOnBoardIndex_recenttopics']

Version Changes
v1.03 - 27 May 2010
Changed package info to work with SMF 2 RC3.
Removed official support for SMF versions below SMF 2 RC2.
 
v1.02 - 19th November 2009
Cleaned the structure of the mod package.
Updated the 'version checking' to work around the SMF   package manager version bug for SMF 1.1.10.
Confirmed compatibility   with SMF 2 RC2 and curve.

v1.01 - 10 September 2008
Updated for SMF 1.1.6 and SMF 2 Beta 4.

v1.0 - 04 August 2008
Original Mod release.
Title: Re: Recent Topics On Board Index
Post by: ccbtimewiz on August 04, 2008, 09:02:49 PM
Nice mod, mate.

A request;

Could you set it so you can switch between recent topics and/or recent posts in the admin panel? Would be useful that way. :)
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 04, 2008, 09:51:29 PM
Quote from: ccbtimewiz on August 04, 2008, 09:02:49 PM
Nice mod, mate.

A request;

Could you set it so you can switch between recent topics and/or recent posts in the admin panel? Would be useful that way. :)

I could, but why can't you just uninstall the mod when you want to change it? :P
Title: Re: Recent Topics On Board Index
Post by: ccbtimewiz on August 04, 2008, 09:55:02 PM
Quote from: LHVWB on August 04, 2008, 09:51:29 PM
Quote from: ccbtimewiz on August 04, 2008, 09:02:49 PM
Nice mod, mate.

A request;

Could you set it so you can switch between recent topics and/or recent posts in the admin panel? Would be useful that way. :)

I could, but why can't you just uninstall the mod when you want to change it? :P

Some people are lazy.  :P
Title: Re: Recent Topics On Board Index
Post by: 4Kstore on August 04, 2008, 09:56:31 PM
Nice mod man !! i need something like this.

Thanks!
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 04, 2008, 09:59:55 PM
@4kstore,
I'm glad you like it. :D

@ccbtimewiz,
Its probably easier for you to install the mod, then find some random setting in the admin area. :P

And also, I'm lazy too. ;D
Title: Re: Recent Topics On Board Index
Post by: Kylezz on August 04, 2008, 11:59:03 PM
Yet another good one! I love your work!
Title: Re: Recent Topics On Board Index
Post by: kith on August 08, 2008, 06:10:31 AM
Fantastic MOD, just installed at http://www.clanvmk.com/clanvmk/forum/index.php
Thank you very much.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 14, 2008, 03:34:19 AM
Thank you all, I am very glad that you like this mod. :D

Its basically just a simple hack from the ssi_recentTopics() function anyway.... ;)
Title: Re: Recent Topics On Board Index
Post by: Squash on August 23, 2008, 12:33:23 PM
I'm new to smf boards and would like to install this mod. Is it possible to install it thru the admin panel in the packages area? I tried it that way but got an error that the file compression was not a format it can use.  I think the file is compressed as a .tar  not a .tar.gz or something like that.

Or am i just dumb and this must be manually added?

Any help would be awesome..... I used to use phpbb and had a similar topics anywhere mod i used.....Love to use this one on my new and improved forum running smf
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 23, 2008, 07:19:54 PM
Odd error, the package for this mod is definetly compressed as .tar.gz. so it should work with the SMF package manager. Its possible that the package may have been corrected or that you may have renamed it when you downloaded it, try downloading it again. ;)

You could also check that your 'packages' directory is writeable, or chmoded to 0777.
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477)
Title: Re: Recent Topics On Board Index
Post by: kith on September 08, 2008, 08:38:02 AM
Just changed to Beta 2/4 and using it on that.
It's now doing last 10 posts instead of topics, how do I set it to topics?
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 08, 2008, 05:22:38 PM
@kith,
I am not sure about that issue. I am going to update all of my mods for SMF 2 Beta 4.0 and SMF 1.1.6 across the next few days, so I will adress any issues then. ;)
Title: Re: Recent Topics On Board Index
Post by: kith on September 09, 2008, 03:33:55 AM
Ahh thank you, I thought it was something I was missing.
I found your mod really handy when I get the annoying little glitch when I use view new posts button but for some reason some posts get missed, you can see as the NEW post light by the forum topics is still lit.
Your mod however meant if I scrolled to the bottom no way was I going to miss a topic.
However with 10 posts there is every chance I'll miss one if one particular topic is getting lots of posts which happens a lot on my board.
Thanks so much for your answerr and look forward to the update as and when it comes.
Title: Re: Recent Topics On Board Index
Post by: mwmconsulting on September 09, 2008, 12:55:46 PM
Nice mod LHVWB.  I've just implemented it on my forum and it's much better than seeing 10 recent topic entries for the same topic.

THX!

- MWM
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 09, 2008, 11:04:33 PM
@mwmconsulting,
I am glad that you like the mod. :D

@kith,
I suggest that you install the lastest version of the mod. I had to make some changes so that it works with SMF 2 Beta 4.0.

v1.01
Updated for SMF 1.1.6 and SMF 2 Beta 4.
Title: Re: Recent Topics On Board Index
Post by: kith on September 10, 2008, 07:01:54 AM
Thanks for the update although a link maybe from this thread to the file would be handy?

Tried the auto install which came up with an error straight away.
The manual install worked though despite being a bit hairy as that's my first time editing all this stuff and feared I may balls it all up.

Thank you very much, all good again and a top little MOD. Hats off to you sir!
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 10, 2008, 07:04:53 AM
@kith,
There is a link to the mod download page, in the first post for this topic (as there is for every mod support/comments topic). I am happy that you managed to get it to work. If you need any more help with it then you can post here. Glad you like it! :D
Title: Re: Recent Topics On Board Index
Post by: kith on September 10, 2008, 07:31:08 AM
LOl so there is, I was expecting the bold type bit to link me there, didn't see the "link to mod" bit :)
Love it!
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 10, 2008, 07:54:25 AM
Okay, I have updated the first post so that the huge blue title now links to the mod download page (you can't miss it!) ;). I might do this for some of my other mod topics as well. :D
Title: Re: Recent Topics On Board Index
Post by: kith on September 10, 2008, 07:57:43 AM
That's unmistakably a link :)
I'm sure that'll help other idiots like myself ;P
Title: Re: Recent Topics On Board Index
Post by: neil h on September 17, 2008, 09:00:07 AM
Quote from: kith on August 08, 2008, 06:10:31 AM
Fantastic MOD, just installed at http://www.clanvmk.com/clanvmk/forum/index.php
Thank you very much.

I just checked out the link to your board and the Info Center still says 'Recent Posts'. If you've installed the mod, surely it should be reading 'recent topics'??

Is this an oversight of the mod, or something you need to edit manually in your theme language settings? 
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 17, 2008, 08:09:50 PM
No its not an oversight of the mod, if you swap over to your default theme then it will work perfectly. You will have to make a change to your custom theme so that it uses the correct language string.

Find this code ('/themes/{themename}/BoardIndex.template.php'):
If you have SMF 1.1.x:
$txt[214]
If you have SMF 2 Beta:
$txt['recent_posts']

Replace all occurrences of that code with this code:
$txt['RecentTopicsOnBoardIndex_recenttopics']

I have however, forgotten to make a note of this on the documentation page, I will try to add that as soon as possible. ;)
Title: Re: Recent Topics On Board Index
Post by: neil h on September 18, 2008, 02:57:54 AM
Quote from: LHVWB on September 17, 2008, 08:09:50 PM
No its not an oversight of the mod, if you swap over to your default theme then it will work perfectly. You will have to make a change to your custom theme so that it uses the correct language string.

Find this code ('/themes/{themename}/BoardIndex.template.php'):
If you have SMF 1.1.x:
$txt[214]
If you have SMF 2 Beta:
$txt['recent_posts']

Replace all occurrences of that code with this code:
$txt['RecentTopicsOnBoardIndex_recenttopics']

I have however, forgotten to make a note of this on the documentation page, I will try to add that as soon as possible. ;)

Knowledge is power... :)

Here's a question; would it be possible to do something similar with the 'recent posts' tab, so that recent topics are displayed, rather than a list of the last posts?

That's another mod I suppose, but 'recent posts' on the info center and recent topics on the tab would work better on my board.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 18, 2008, 03:38:07 AM
It would be a different mod, although it would be just as simple to make, so I am happy to make it. Although the mod below may suit your needs as well:
http://custom.simplemachines.org/mods/index.php?mod=1284

Do you think that there is a need for another mod that just changes the 'action=recent' page to posts instead of topics?

Edit: I have now updated the mod download page to include those instructions. :)
Title: Re: Recent Topics On Board Index
Post by: neil h on September 18, 2008, 04:12:35 AM
Quote from: LHVWB on September 18, 2008, 03:38:07 AM
It would be a different mod, although it would be just as simple to make, so I am happy to make it. Although the mod below may suit your needs as well:
http://custom.simplemachines.org/mods/index.php?mod=1284

Do you think that there is a need for another mod that just changes the 'action=recent' page to posts instead of topics?

Edit: I have now updated the mod download page to include those instructions. :)

On my board at least, the number of posts outweigh the number of topics by about 10:1. The board has been going for a while, so the members are kind of used to seeing the 'recent posts' on the Info Center. That said, from my point of view at least, I'd rather just see the number of new topics and what they're about, rather than reading every post. 

With me being in the UK and most of the members in the USA, it  means I can miss new topics, because the 'recent posts' panel fills up overnight.
Having 'recent topics' on the tab would suit me fine and the members would probably still rely on the 'recent posts' panel and 'show new posts' option when they log on to see what's new.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 18, 2008, 05:41:37 AM
Okay, I'll make it into a mod and post again once its approved.

I will probably call it 'Recent Topics for 'Recent' Action', unless you can think of a better name. ;D
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 18, 2008, 08:02:53 AM
Okay, just an update. I have made the 'Recent Topics On "Recent Posts" Page' mod and submitted it to the mod site, it is now waiting for approval. Hopefully it will be approved within the next few days, I will post a link once its been approved. ;D
Title: Re: Recent Topics On Board Index
Post by: Squash on September 18, 2008, 10:54:15 AM
I'm curious LHVWB if you are available to do site work to add this feature and a few other things that may be simple to you but not me. I have some things I'd like done but have no time to do them. If so could you contact me at this email

[email protected]   ..... I am willing to pay you if it's somewhat reasonable.

If this sort of question on these boards is not okay, I apologize ahead of time.
Title: Re: Recent Topics On Board Index
Post by: neil h on September 18, 2008, 02:25:51 PM
Quote from: LHVWB on September 18, 2008, 05:41:37 AM
Okay, I'll make it into a mod and post again once its approved.

I will probably call it 'Recent Topics for 'Recent' Action', unless you can think of a better name. ;D
You Da Man!

How about 'Latest Topics' in place of 'Recent Posts' on the tab?
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on September 19, 2008, 02:42:25 AM
@Squash,
Its okay to ask those sorts of questions on the boards, although usually they should be done via PM. I'm afraid that the answer is no. I don't really have time to be doing any custom/paid work. If you need help modifying a feature of SMF, or customizing your forum. Then you can ask in the SMF Coding Discussion (http://index.php?board=60.0) board, I am happy to help with any questions, as are other community members. If you want somebody to do some customizing for you, then you could make a request in the Help Wanted (not for support) (http://index.php?board=50.0) board.               

@neil h,
That will require a simple edit of a language string which the new mod will add to your 'Modifications.{language}.php' file. Once the mod is submitted I can show you the edit that is required to change the language string. ;)
Title: Re: Recent Topics On Board Index
Post by: kith on September 25, 2008, 07:46:52 PM
Quote from: neil h on September 17, 2008, 09:00:07 AM
Quote from: kith on August 08, 2008, 06:10:31 AM
Fantastic MOD, just installed at http://www.clanvmk.com/clanvmk/forum/index.php
Thank you very much.

I just checked out the link to your board and the Info Center still says 'Recent Posts'. If you've installed the mod, surely it should be reading 'recent topics'??

Is this an oversight of the mod, or something you need to edit manually in your theme language settings? 

This is something I prefer to keep as recent posts anyway, I just preferred that terminology. Enough people on my forum have problems keeping up with latest news and missing topics / posts / threads however you want to call it so I just left it as is.
Title: Re: Recent Topics On Board Index
Post by: Asshandler on October 07, 2008, 02:25:47 PM
Any idea how to un-bold the topic name in the recent list?  It just stands out a bit too much, wouldn't mind shrinking the text down a tad and removing the bold from it...
Title: Re: Recent Topics On Board Index
Post by: Asshandler on October 07, 2008, 06:24:13 PM
A little bumpage...

Anyone have any idea how to change the font size/bold effect?  I'd like to make it smaller, so it doesn't take up so much space on the page while still being able to show off at least 10 of the last active topics...
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on October 07, 2008, 11:13:30 PM
@Asshandler,
If you post your 'BoardIndex.template.php' as an attachment, then I should be able to show you the required edit.

Title: Re: Recent Topics On Board Index
Post by: Asshandler on October 08, 2008, 12:28:34 AM
Here ya go
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on October 08, 2008, 12:39:00 AM
Find this code:
foreach ($context['latest_posts'] as $post)
echo '
<tr>
<td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
<td class="middletext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
</tr>';


Replace with this code:
foreach ($context['latest_posts'] as $post)
echo '
<tr>
<td class="smalltext" valign="top">', $post['link'], ' ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
<td class="smalltext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
</tr>';


That edit will make the text much smaller and also take away the bold topic title, you could also change the code more, if you need to. ;)
Title: Re: Recent Topics On Board Index
Post by: Asshandler on October 08, 2008, 12:54:45 AM
That did it, thank you.  :)
Title: Re: Recent Topics On Board Index
Post by: Asshandler on October 08, 2008, 12:59:34 AM
If I wanted to remove the board link, would I just remove this part?

(', $post['board']['link'], ')


Edit -- nvm, yup that worked. 
Title: Re: Recent Topics On Board Index
Post by: FiCHA on October 22, 2008, 05:39:13 AM
Hi there,
I installed the mod succesfully, but i always get following error in the Errorlog:

Fehlermeldung '8: Undefined index: RecentTopicsOnBoardIndex_recenttopics
Datei: /www/htdocs/w009805b/smf/Themes/default/BoardIndex.template.php (eval?)
Zeile: 108'

Title: Re: Recent Topics On Board Index
Post by: Nathaniel on October 22, 2008, 05:44:11 AM
@FiCHA,
If you are using SMF 2 Beta, then try using the 'Empty the file cache' function in the admin panel under 'Maintenance' -> 'Forum Maintenance'.

If you don't have SMF 2 Beta or that doesn't work, then try adding this code to the bottom (before the ?>) of your '/Themes/default/languages/modifications.english.php' file.
$txt['RecentTopicsOnBoardIndex_recenttopics'] = 'Recently Updated Topics';

If you do that for SMF 2 Beta, then you will have to 'Empty the file cache' again. ;)
Title: Re: Recent Topics On Board Index
Post by: FiCHA on October 22, 2008, 05:56:37 AM
Ok, I found the error.

In my Themes/default/languages/modifications.english.php' file the code
$txt['RecentTopicsOnBoardIndex_recenttopics'] = 'Recently Updated Topics';
already exits.

BUT my default language is german, and due to that I also have to add the code in the
Themes/default/languages/modifications.german.php' file.

The installer of this mod only copies the code to the english file... The German file only contains one line.

Thanks for your help!
Title: Re: Recent Topics On Board Index
Post by: Ur_Irish_Rose on October 31, 2008, 09:29:54 PM
Hi

I have a set of DEFAULT THEMES and I have installed this mod on my 1.1.6 SMF forum.

The only problem I have is that its not showing on the BROWN theme that i have set to default :(

It will sork with a BLACK theme but not a BROWN one :|

I have enclosed my BoardsIndextemplate folder for you to have  a look at it.

Thank you in advance.
Title: Re: Recent Topics On Board Index
Post by: B u m u™ on November 01, 2008, 04:14:30 AM
Thank you very much :)
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on December 21, 2008, 03:39:41 AM
@Ur_Irish_Rose,
I can't see any issues with that file, have you changed the "Number of recent posts to display on board index" setting for that theme?

@Everyone,
I have tested this mod with 1.1.7 and updated the most site page accordingly.
Title: Re: Recent Topics On Board Index
Post by: willerby on January 10, 2009, 10:06:14 AM
Great mod, thanks LHVWB.  Installed no problem in default and customised theme on v2.0 b4 and works a treat...

If you haven't upgraded to 2.0 b4 yet worth it as mods generally installing straight from the can...

W
Title: Re: Recent Topics On Board Index
Post by: obuno on March 02, 2009, 06:56:12 PM
I was directed to post my original thread (http://www.simplemachines.org/community/index.php?topic=296194.0) here.

Problem is that only Admins see the Recently Updated Topics section of my site.

So, if you go to www.unnforum.com, as a guest, you won't see a list of the Recent topics listed under the Recently Updated Topics section, only Admins see this. Please, see attached screen shots. How can I correct this?

Title: Re: Recent Topics On Board Index
Post by: obuno on March 03, 2009, 07:51:08 AM
Anyone willing to take a look?
Title: Re: Recent Topics On Board Index
Post by: kith on March 05, 2009, 06:50:35 AM
Thanks again guys, just re installed after an upgrade to RC1
http://www.clanvmk.com/clanvmk/forum/index.php
All working like a dream again.
Title: Re: Recent Topics On Board Index
Post by: obuno on March 05, 2009, 07:40:54 AM
Quote from: obuno on March 03, 2009, 07:51:08 AM
Anyone willing to take a look?

Please, could someone really help me? Guest and regular members to www.unnforum.com can't still see the Recently Updated Topics section of my listed under the Info Center. Your kind help will be much appreciated.
Title: Re: Recent Topics On Board Index
Post by: dr.wills on March 05, 2009, 11:47:02 AM
 ;) maybe you put the code in the section only allowed for admin?
Title: Re: Recent Topics On Board Index
Post by: obuno on March 05, 2009, 12:49:20 PM
Quote from: akaiphan9x on March 05, 2009, 11:47:02 AM
;) maybe you put the code in the section only allowed for admin?

Where would this be? Please, see the boardindex.php file I attached earlier.
Title: Re: Recent Topics On Board Index
Post by: obuno on March 13, 2009, 06:27:47 PM
Anyone willing to help me?
Title: Re: Recent Topics On Board Index
Post by: basking4me on April 03, 2009, 08:05:45 AM
@LHVWB,

You have a very beautiful and useful mod. I have applied it on my forum and works like magic.

Now, I would like to be able to select only particular topics to appear in the 'recently updated Topics' Section irrespective of posted date or how recently it was updated.

Such that even when there are updated topics, they will not appear in the "Recently updated topics" section except the Admin selects it.

I should be able to bring an old but interesting topic to feature for members in the section.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on May 07, 2009, 02:52:51 AM
Sorry everyone for not replying sooner, I have been fairly busy. Haven't been checking these mod support topics much.

@willerby and kith,
Thank you for the kind comments. :)

@obuno,
From the other support topic it appears that this issue was resolved. Sorry that I didn't reply sooner.

@basking4me,
Interesting idea, although I probably won't add that to this mod. Try the SMF Coding Discussion (http://www.simplemachines.org/community/index.php?board=60.0) or Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0) boards.
Title: Re: Recent Topics On Board Index
Post by: kith on July 17, 2009, 02:56:01 PM
Just another thank you to say this continues to work well with SMF 2.0 RC1-1, I just have to manually re-install as per your Page 1 instructions after every RC update.
Title: Re: Recent Topics On Board Index
Post by: Roger Rabbit on July 19, 2009, 09:36:39 AM
"The package you tried to upload either is not a valid package or has become corrupted. "

What should be the problem?
Title: Re: Recent Topics On Board Index
Post by: kith on July 28, 2009, 03:54:37 PM
Quote from: Roger Rabbit on July 19, 2009, 09:36:39 AM
"The package you tried to upload either is not a valid package or has become corrupted. "

What should be the problem?

I would try a manual install as per the instructions on the MOD main page.
If you are using SMF 2.0 you'll need to do that anyway.

I've just updated to SMF 2.0 RC1.2 and all is well again as you have to manually re-install after each update.
Brilliant MOD though.
Title: Re: Recent Topics On Board Index
Post by: Lookie_lookie on July 31, 2009, 09:43:18 AM
I installed it and modified the boardindex, however it doesn't show up on my custom theme, only the default one...

Any ideas of the cause of this?
Title: Re: Recent Topics On Board Index
Post by: collins465 on August 05, 2009, 01:29:14 PM
please i need your help, i uploaded it but could not apply it, here is the message i got if try installing it    "The package you are trying to download or install is either corrupt or not compatible with this version of SMF.". please help me out. i am using smf 1.1.10 with babylon theme.
Title: Re: Recent Topics On Board Index
Post by: iamekim on August 28, 2009, 05:04:13 AM
Hi there.

I have the same dilemma I just installed this mod on 1.1.10 and got this error..

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

:(

hope you could help us out. thank you. :)
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 28, 2009, 05:12:46 AM
Bug with SMF 1.1.10.

Download the package, open it, perform the edit descriped in this post (http://www.simplemachines.org/community/index.php?topic=254473.msg2198736#msg2198736), recompress it, install.

PS: it may not be exactly '1.1.4' for the search text, but it will be similar.
Title: Re: Recent Topics On Board Index
Post by: iamekim on August 28, 2009, 05:33:12 AM
ok should I re-install? will it overwrite my database files as well?

pardon my ignorance I'm quite new to this.. :-[
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on August 28, 2009, 05:59:36 AM
No, this is a normal mod for SMF, you install it via the Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject). It will not overwrite your database.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on November 19, 2009, 02:53:21 AM
v1.02
Cleaned the structure of the mod package.
Updated the 'version checking' to work around the SMF package manager version bug for SMF 1.1.10.
Confirmed compatibility with SMF 2 RC2 and curve.

Sorry about not answering some of the support requests here, I will respond to some of the latest ones now.

Quote from: Roger Rabbit on July 19, 2009, 09:36:39 AM
"The package you tried to upload either is not a valid package or has become corrupted. "

What should be the problem?

Try uploading the package via FTP into your 'Packages' directory.

Quote from: Lookie_lookie on July 31, 2009, 09:43:18 AM
I installed it and modified the boardindex, however it doesn't show up on my custom theme, only the default one...

Any ideas of the cause of this?

You will need to edit your custom theme, refer to the instructions on the mod page (http://custom.simplemachines.org/mods/index.php?mod=1314).

Quote from: collins465 on August 05, 2009, 01:29:14 PM
please i need your help, i uploaded it but could not apply it, here is the message i got if try installing it    "The package you are trying to download or install is either corrupt or not compatible with this version of SMF.". please help me out. i am using smf 1.1.10 with babylon theme.

Try the latest package.
Title: Re: Recent Topics On Board Index
Post by: Sirius OCTeam on November 19, 2009, 04:54:30 AM
Hi,

I think there's a little mistake in the package-info, because it should be "2.0 RC2" and not "2 RC2", that's why no installation is found when we try to install on a 2.0 RC2

By the way, after the fix,  this mod is working well
Title: Re: Recent Topics On Board Index
Post by: flamechica on November 19, 2009, 05:17:31 AM
I am using RC2 & when I tried to install it said that the package was corrupt or not for my version....I see others had this problem and you told them to use the current package, but I did use the current package and it still wont work.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on November 19, 2009, 08:38:51 AM
Yeah, it should be 2.0 RC2, the package manager isn't altogether flexible unfortunately. I will update the package tommorrow.
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on November 19, 2009, 04:19:09 PM
That issue was actually just for Charter Preview I believe, but it would have stopped it from being parse on the mod site. Anyway, I have updated the package to fix that small type, although I didn't bother updating the version number.
Title: Re: Recent Topics On Board Index
Post by: kith on November 21, 2009, 11:25:21 AM
After having this working fine on the last 3 versions, today I updated to RC2 2.0 and I just get an icon and no list now.
Any idea what I've done wrong?
No custom themes used just the Curve theme.

http://www.clanvmk.com/clanvmk/forum/index.php
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on November 21, 2009, 05:21:24 PM
@kith,
Were there any errors with the install process?
Title: Re: Recent Topics On Board Index
Post by: kith on November 22, 2009, 07:47:33 AM
Not that I remember, no.
Although I tried it manually first as I usually do it that way as I've never had the installer work.
Then I restored all the files I altered to the originals and tried the installer, same result.
I'm doing a custom theme at the moment and then will try a manual install with that unless you have any ideas?
Title: Re: Recent Topics On Board Index
Post by: kith on November 24, 2009, 01:57:47 PM
Okay I think it must be something I am doing wrong in the Board index template?
firstly I think I forgot to change 1 to 10.
I have done that now but just get a link now
http://www.clanvmk.com/clanvmk/forum/index.php
Instead of the 10 posts.

So how can I change it from a link to the 10 posts to display as it did before the 10 on the main page instead of a link?

Also how do I change it back to the 10 recently updated topics rather than posts, I've forgotten how to?
Title: Re: Recent Topics On Board Index
Post by: linette97 on November 29, 2009, 05:14:22 AM
Great mod! This is what I've been looking for. I manually installed it into 2.0 RC1.2. Thanks !!
Title: Re: Recent Topics On Board Index
Post by: 4b11l on December 01, 2009, 01:31:28 PM
Hello,

I do not want the recent posts to display the board name.

I have removed
b.id_board, b.name AS board_name,

from the subs_recent; however am now getting errors in the error log. What can I do or delete also so that I do not get any errors in the log?
Title: Re: Recent Topics On Board Index
Post by: 4b11l on December 06, 2009, 03:33:32 PM
Quote from: 4b11l on December 01, 2009, 01:31:28 PM
Hello,

I do not want the recent posts to display the board name.

I have removed
b.id_board, b.name AS board_name,

from the subs_recent; however am now getting errors in the error log. What can I do or delete also so that I do not get any errors in the log?

bump
Title: Re: Recent Topics On Board Index
Post by: PalmBeachPreps on December 08, 2009, 01:54:47 AM
Quote from: NathanielTry uploading the package via FTP into your 'Packages' directory.
The package uploaded to my server, yet I still get the " The package you are trying to download or install is either corrupt or not compatible with this version of SMF." message.
Title: Re: Recent Topics On Board Index
Post by: Bijan641 on January 15, 2010, 08:58:16 PM
I was wondering what code actually determines the list of topics. I'm trying to get some kind of function that lists the topics of a specific board descending from most recent. I need it to output to a file so that I can access that file for other functions.

I know this is asking a bit much, but is there any way you could help me out with this? Thanks.
Title: Re: Recent Topics On Board Index
Post by: ABCDiamond on January 16, 2010, 07:30:41 PM
I am using 1.1.11.
Your mod says it works up to 1.1.10, so I am not sure if it will work for me.

However, I get the "The package you are trying to download or install is either corrupt or not compatible with this version of SMF" message.

For some reason my upload doesn't like tar.gz, but I converted that to a zip file anyway, but still no go.

I am not sure what is wrong.  I suppose my first question is.. 
Does it work with 1.1.11 ?
Title: Re: Recent Topics On Board Index
Post by: SN on January 18, 2010, 04:38:30 AM
How do i remove the xx.gif from the catbg?

because on my theme i have changed my xx.gif and it doesn't look right in the catbg on the board index
Title: Re: Recent Topics On Board Index
Post by: kith on January 27, 2010, 01:46:04 PM
Quote from: kith on November 24, 2009, 01:57:47 PM
Okay I think it must be something I am doing wrong in the Board index template?
firstly I think I forgot to change 1 to 10.
I have done that now but just get a link now
http://www.clanvmk.com/clanvmk/forum/index.php
Instead of the 10 posts.

So how can I change it from a link to the 10 posts to display as it did before the 10 on the main page instead of a link?

Also how do I change it back to the 10 recently updated topics rather than posts, I've forgotten how to?

Bump?

All I get is a link rather than 10 summary topics/posts on the screen like I used to.
I've re-checked all the manual instructions and all the code is in.
I'm baffled.
Title: Re: Recent Topics On Board Index
Post by: pingpongrob on March 05, 2010, 07:42:04 AM
Hi Nathanial - Excellant package, it worked perfectly for me the first time. Is it hard to bring the Recently updated topics to the Top Section of the Index, instead of at the Bottom.
Title: Re: Recent Topics On Board Index
Post by: Jesus Friends on March 20, 2010, 01:00:40 PM
Hello,
Is there any update for RC3 ????
Title: Re: Recent Topics On Board Index
Post by: depth on May 17, 2010, 08:47:35 AM
Hi Nathaniel

This MOD is what I have been looking for, but since I use SMF 2 RC3 I am not able to get it to work  :(

Are you working on an update or is there a do-able workaround for getting the current MOD working in the version I am using?

Thanks...

/Chistian
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on May 27, 2010, 05:58:47 AM
v1.03 - 27 May 2010
Changed package info to work with SMF 2 RC3.
Removed official support for SMF versions below SMF 2 RC2.
Title: Re: Recent Topics On Board Index
Post by: depth on May 27, 2010, 06:16:25 AM
Quote from: Nathaniel on May 27, 2010, 05:58:47 AM
v1.03 - 27 May 2010
Changed package info to work with SMF 2 RC3.
Removed official support for SMF versions below SMF 2 RC2.

Hi Natheaniel

You are #1  :)

Thanks Mate

/Christian
Title: Re: Recent Topics On Board Index
Post by: pingpongrob on June 08, 2010, 12:07:20 AM
Hi Natheaniel,
I have RC3 and it dont work on my Forum.  Am I doing something wrong.  I cant even find the settings in Admin.
Title: Re: Recent Topics On Board Index
Post by: Darkness_ on June 08, 2010, 12:11:54 AM
Maybe you can't find it because you are using a different language then english ?
Title: Re: Recent Topics On Board Index
Post by: pingpongrob on June 08, 2010, 12:51:59 AM
Quote from: Darkness_ on June 08, 2010, 12:11:54 AM
Maybe you can't find it because you are using a different language then english ?
No Just plain old english.
http://www.affordablett.com.au/smf/index.php (http://www.affordablett.com.au/smf/index.php)
Title: Re: Recent Topics On Board Index
Post by: depth on June 08, 2010, 01:54:01 AM
Quote from: pingpongrob on June 08, 2010, 12:07:20 AM
Hi Natheaniel,
I have RC3 and it dont work on my Forum.  Am I doing something wrong.  I cant even find the settings in Admin.

If you installed the MOD correctly, the settings should be visible under admin, configuration, diverse (Probably called somthing else in the english version)

/Christian
Title: Re: Recent Topics On Board Index
Post by: modernartist on December 02, 2010, 06:48:33 AM
I'm using RC3 and it works perfectly on my forum, the problem is I can't set a name for it.


also, is it possible to put this on top of "General Category" right now it's at the bottom


thank you
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on December 02, 2010, 04:13:15 PM
@modernartist,
Clear your forum's cache. Also make sure that all of the edits were made properly, especially the ones to the language files.
Title: Re: Recent Topics On Board Index
Post by: aw06 on January 14, 2011, 01:27:37 AM
I want to install this mod ... but it's conflicting with Advanced Recent Posts / Topics Mod that i have installed http://custom.simplemachines.org/mods/index.php?mod=1069

Any possibility of the two working together ?

They both want to change the same line in recent.php
Title: Re: Recent Topics On Board Index
Post by: italo_anonimo on March 07, 2011, 06:00:43 PM
hi thanks for mod, i have a this problem...

log error:

Type of error: Database

Guest
ip

http://www.perumoviles.net/comunidad/index.php?action=recent

Database Error: Not unique table/alias: 't'

File: /var/www/html/comunidad/Sources/Recent.php
Line: 280

----
Type of error: Database

user (italo)
ip

http://www.perumoviles.net/comunidad/index.php?action=recent

Database Error: Not unique table/alias: 't'

File: /var/www/html/comunidad/Sources/Recent.php
Line: 280



message to link recent:

Database Error
Please try again. If you come back to this error screen, report the error to an administrator.

thanks for help...
Title: Re: Recent Topics On Board Index
Post by: noaccess on May 21, 2011, 06:02:04 AM
Great mod, However, I would like to add this icon: (http://www.simplemachines.org/community/Themes/default/images/english/new.gif) next to the title every time it has been updated and hasn't been checked by the user yet. How do I go about doing this?
This is the one thing it misses, since people don't check the time difference to see if there is a new post... and if a single topic is getting updated fast and stays at top, others think it's not being updated at all...
Title: Re: Recent Topics On Board Index
Post by: noaccess on June 12, 2011, 10:19:50 AM
Quote from: noaccess on May 21, 2011, 06:02:04 AM
Great mod, However, I would like to add this icon: (http://www.simplemachines.org/community/Themes/default/images/english/new.gif) next to the title every time it has been updated and hasn't been checked by the user yet. How do I go about doing this?
This is the one thing it misses, since people don't check the time difference to see if there is a new post... and if a single topic is getting updated fast and stays at top, others think it's not being updated at all...
bump
Title: Re: Recent Topics On Board Index
Post by: Nathaniel on June 16, 2011, 01:49:14 AM
Confirmed that this mod works fine with SMF 2.0 final.

Quote from: noaccess on May 21, 2011, 06:02:04 AM
Great mod, However, I would like to add this icon: (http://www.simplemachines.org/community/Themes/default/images/english/new.gif) next to the title every time it has been updated and hasn't been checked by the user yet. How do I go about doing this?
This is the one thing it misses, since people don't check the time difference to see if there is a new post... and if a single topic is getting updated fast and stays at top, others think it's not being updated at all...

That is beyond the scope of this simple mod, try asking over in the customization boards.
Title: Re: Recent Topics On Board Index
Post by: endus on June 26, 2011, 11:42:16 PM
Had a board built on a new host.  Old board had some mods installed including this one.  Installed mods  on new board, but then migrated the site and imported a copy of the DB and upgraded that to work with SMF 2 (old version was like 1.1.3).

I am getting "The database value you're trying to insert does not exist: limit" when I click recent topics. 

I tried uninstalling/reinstalling the mod to see if that would help.  It said that it failed replacing the code in Subs-Recent.php but I looked at the file on the server and it was failing because that code never got uninstalled and it was already in there.  When I reinstalled I just got the same error.

My fault, but maybe someone could give me some kind of direction.  I will probably figure it out eventually but I'm really learning the PHP and SQL syntax as needed here and I am just not sure.
Title: Re: Recent Topics On Board Index
Post by: depth on April 16, 2012, 05:47:19 AM
Hi Nathaniel

I am upgrading my RC3 forum to 2.0.2. Any chance you will update the MOD so we can use it?

I have been a happy user of this MOD since I started my forum. I know the user will complain if this feature disappear!

Crossing my fingers...

Thanks in advance :)

Regards Christian
Title: Re: Recent Topics On Board Index
Post by: Robert. on April 16, 2012, 07:38:49 AM
This mod should work without any problems on SMF 2.0.2 when it works fine with SMF 2.0 Final :)
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Recent Topics On Board Index
Post by: depth on April 16, 2012, 07:54:24 AM
Quote from: 医生唱片骑师 on April 16, 2012, 07:38:49 AM
This mod should work without any problems on SMF 2.0.2 when it works fine with SMF 2.0 Final :)
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

Sounds good. I will update my forum at the end of this week and report back what the result is.

ATB

Christian
Title: Re: Recent Topics On Board Index
Post by: chuck23322 on June 19, 2012, 06:23:45 PM

I have tried this mod -- On my forum, now all of the "topics" in "Recycle" are listed.   Is this normal behavior?   




I am looking for either/both of these

1) Have "Recent Posts" be actually now "Recent Topics"  {eg, if 10 new posts in 3 topics - I want the 3 topics listed, not all 10 posts)

2) If any post begins with a "*" (or any character noted) -- do not have lit listed in the "Recent Topics" -- this is important for RSS feeds being posted -- if I get many RSS feeds at one time, then they fill up the "Recent Posts/Topics"
Title: Re: Recent Topics On Board Index
Post by: croboy on April 20, 2013, 11:13:37 AM
Hello,

When I install mod on 2.0.4 with default template I get change in font size for some text ( titles of topics=.
Do you have idea what could be wrong? Thank you
Title: Re: Recent Topics On Board Index
Post by: croboy on April 27, 2013, 11:10:34 AM
Kays helped me to solve problem with fonts and error on top of the pages.
Here is solution
http://www.simplemachines.org/community/index.php?topic=502648.msg3534219#msg3534219
Title: Re: Recent Topics On Board Index
Post by: fanciboy4 on August 10, 2017, 03:56:03 AM
Nathaniel,

Please this mod is not working for my version 2.0.14

Maybe any manual editing help would be appreciated.
Title: Re: Recent Topics On Board Index
Post by: qubbah on November 01, 2017, 02:40:33 PM
Quote from: chuck23322 on June 19, 2012, 06:23:45 PM
I am looking for either/both of these

1) Have "Recent Posts" be actually now "Recent Topics"  {eg, if 10 new posts in 3 topics - I want the 3 topics listed, not all 10 posts)
im also looking for this
Title: Re: Recent Topics On Board Index
Post by: Steve on November 01, 2017, 04:07:38 PM
As the mod author hasn't been here in 3 and a half years it's unlikely you'll get help from him.
Title: Re: Recent Topics On Board Index
Post by: aegersz on November 02, 2017, 08:55:18 PM
I use Simple Portal and a Custom Code block to list all new Topics in a single block. All Posts are listed in another block.

Just giving you an alternative - go to my site if you are brave enough and see how i have presented it.
Title: Re: Recent Topics On Board Index
Post by: fanciboy4 on December 07, 2017, 04:30:05 PM
Quote from: aegersz on November 02, 2017, 08:55:18 PM
I use Simple Portal and a Custom Code block to list all new Topics in a single block. All Posts are listed in another block.

Just giving you an alternative - go to my site if you are brave enough and see how i have presented it.

My problem with Simple Portal, it doesn't have paging features.