SMFHacks.com

Modifications/Themes => Modifications Talk => Latest Mods => Topic started by: SMFHacks on October 11, 2016, 07:43:15 am

Title: [Mod]Recent Forum Topics Extended
Post by: SMFHacks on October 11, 2016, 07:43:15 am
Recent Forum Topics Extended



http://www.smfhacks.com/index.php?action=downloads;sa=view;down=203

Recent Forum Topics Extended
By Pipke

For SMF 2.0.x

Tested only with the SMF default theme...but should work with other themes*
* if not you can always try to ask for support!

Uses only SMF hooks so... no file edits.
In the settings you can enable/disable the mod, change the number of Recent Forum Topics per page, subject first/lastpost, 2 random topics can be boosted on top position, hide complete boards, categories or certain topics from the list and many more...
This mod works with the Topic Solved mod v1.1.1 and can be integrated on the Simpleportal mod v2.3.* blocklist.

License

 * This SMF modification is subject to the BSD 2-Clause License
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
 * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
Settings

- Admin->Configuration->Modification Settings->Recent Forum Topics

Languages

- English/utf8
- Request for more languages support, who will help me...

Changelog

Version 2.0 - Mar 19, 2016
- New set max. total topics to view
- New more styling options
- New *boost topics (2) on top position per page (*with group permissions)
- New relative time format
- New avatars now show up
- New setting for hiding certain categories, boards or *topics (*with group permissions)
- New choose page area placements for the block
- New by request allow collapsible
- New group view permissions
- New integrate with Simpleportal
- Added kind of responsive for 'mobile' view
- Fixed using duplicate queries
- Fixed hardcoded textstrings
- And many more things...

Version 1.0 - May 03, 2014
- Initial Release
Title: Re: [Mod]Recent Forum Topics Extended
Post by: monott001 on December 07, 2017, 06:16:15 am
I'm create new page (domain.com/results.php)
Code: [Select]
<?php 

require('SSI.php');
$context['page_title_html_safe'] = 'Search Results';
template_header(); 

<
center>
<
div id="cse-search-results"></div>
<
script type="text/javascript">
  var 
googleSearchIframeName "cse-search-results";
  var 
googleSearchFormName "cse-search-box";
  var 
googleSearchFrameWidth 800;
  var 
googleSearchDomain "www.google.com";
  var 
googleSearchPath "/cse";
</
script>
<
script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>

</center></td>
</tr>
</tbody>
</
table>
<
br />
';

template_footer(); 
?>

and in --> Start the custom action page area placement Recent Forum Topics setup mode = Run
on page that i click [-]Remove Area Recent Forum Topics Placements  show error
Code: [Select]
An Error Has Occurred!
Unable to verify referring url. Please go back and try again.

How to Remove Area Recent Forum Topics Placements on this page.
Thank You

Title: Re: [Mod]Recent Forum Topics Extended
Post by: exit on January 28, 2018, 01:55:36 pm
I would love to see a takeover of this mod.

It has some bugs and needs some improvements. Can help on the testing and improvements
Title: Re: [Mod]Recent Forum Topics Extended
Post by: SMFHacks on January 28, 2018, 02:16:41 pm
Please leave details
Title: Re: [Mod]Recent Forum Topics Extended
Post by: exit on January 29, 2018, 01:28:15 pm
well, it's a very useful mod and it's abandoned.

improvements:
- choose limit of topics and topics per page

bugs:
- display topics from hidden categories
Title: Re: [Mod]Recent Forum Topics Extended
Post by: SMFHacks on January 29, 2018, 01:33:42 pm
It shows topics from hidden forums? I saw you asked a similar question on simpleportal
Title: Re: [Mod]Recent Forum Topics Extended
Post by: exit on January 29, 2018, 01:42:52 pm
It shows topics from hidden forums? I saw you asked a similar question on simpleportal

the simpleportal mod provides this functionality but without number of topics/pagination. This one provides number of topics/pagination (and more options...).

which basically allows me to instead having a forum based on categories, It will be based on a feed of the most updated topics... Which I think it's pretty cool.

Basically allows you to do something like https://discuss.flarum.org/

The mod has the option to hide topics from certain boards, but for some reason I don't think it's working properly