Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12041
Latest: pablosanz
New This Month: 7
New This Week: 2
New Today: 0
Stats
Total Posts: 38405
Total Topics: 6768
Most Online Today: 55
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: [Mod]Recent Forum Topics Extended  (Read 1893 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14249
    • View Profile
[Mod]Recent Forum Topics Extended
« 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
« Last Edit: October 11, 2016, 07:43:26 am by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline monott001

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Mod]Recent Forum Topics Extended
« Reply #1 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


 

Related Topics

  Subject / Started by Replies Last post
5 Replies
5971 Views
Last post August 12, 2008, 07:02:54 pm
by SMFHacks
1 Replies
2440 Views
Last post November 20, 2007, 07:54:37 pm
by SMFHacks
2 Replies
2584 Views
Last post July 16, 2008, 03:54:20 pm
by CrotalusCo
4 Replies
13353 Views
Last post September 22, 2013, 09:50:19 am
by Sweetwater
5 Replies
2322 Views
Last post June 05, 2011, 01:11:22 pm
by SMFHacks

+- Recent Topics

upload 2 or more pictures at the same time by SMFHacks
December 12, 2017, 05:33:53 pm

gallery and switch to https for old or new images by SMFHacks
December 10, 2017, 08:08:42 pm

Bulk upload issue on Gallery Pro after upgrade to 7.2 by SMFHacks
December 10, 2017, 05:57:47 pm

Pretty URLs - SMF Gallery Lite by SMFHacks
December 09, 2017, 10:41:07 am

Adding a receipt number to Purchase Email by KKOG
December 08, 2017, 12:39:47 am

Tip: Image Proxy For SMF 1.1.x by SMFHacks
December 07, 2017, 10:43:41 am

[Mod]Recent Forum Topics Extended by monott001
December 07, 2017, 06:16:15 am

Random Image in TinyPortal Block Broken after SMF update by Boomslanger
December 04, 2017, 09:41:20 pm

Long time since upping my Gallery License by SMFHacks
December 04, 2017, 07:20:10 pm

SMF Classifieds by SMFHacks
December 04, 2017, 06:46:02 pm

Powered by EzPortal