Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Reviews
Recent Topics on Index page - 1.0.2 by vbgamer45
Very useful, nice looking mod, fully working on 1.6.0.
Edit: Read what Br33zer wrote ;_; Bye bye plugin ;_;
Written By: Taiga-san, 16th September 2010
It also shows the topics under the forums which are hidden for Guests or certain Groups. You might want to fix this.
Written By: Br33zer, 16th September 2010
I really like this plug-in - I've had no problems until recently...like Br33zer I also have hidden fora and unfortunately I had to disable this plug-in due to new threads/post updates being captured as part of the recent topic listing! It would be brilliant if there was an update for this! : ) Thanks for your hardwork and sharing!
Written By: hazelstutorials, 22nd September 2010
Agreed with Br33zer.
Written By: OmegaVemon, 26th December 2010
I have a solution for the issue of hidden parts disclosure.
First of all a bit of a description and thoughts.
Firstly, the problem is with the $permissioncache variable. I can't get
why the devs put
$permissioncache['-1'] = "1";
in index.php thus preventing permissioncache updating in
if(!is_array($permissioncache))
{
$permissioncache =
forum_permissions();
}
I.e. in the plugin it is written
$unsearchforums =
get_unsearchable_forums();
and in the get_unseachable_forums() there is a code for that
permissioncache array population. And it doesn't work for the reasons
above.
Here is a patched that worked for me. You may check and if it doesn't work
let us all know. The patch for /inc/plugins/recenttopicsindex.php ::
function recenttopicsindex_show():
After:
function
recenttopicsindex_show()
Add $permissioncache to the list of global variables:
global $db,
$mybb, $page, $recenttopics, $theme, $lang,
$permissioncache;
Next.
Before:
$unsearchforums =
get_unsearchable_forums();
Add:
// !!! FIX private forum
exposure!!!
if ( !is_array($permissioncache) ||
(is_array($permissioncache) &&
((count($permissioncache)==1) &&
(isset($permissioncache['-1']) && ($permissioncache['-1'] =
"1"))))
) {
$permissioncache = forum_permissions();
}
Some checks here are redundant and straightforward to prevent further
changes and conflicts in the permissionchache logic.
or u can apply the patch in diff format:
---
/recenttopicsindex.php Wed Aug 04 13:18:34 2010
+++ /recenttopicsindex.php Tue Dec 28 10:20:54
2010
@@ -87,7 +87,7 @@
function recenttopicsindex_show()
{
- global $db, $mybb, $page,
$recenttopics, $theme, $lang;
+ global $db, $mybb, $page,
$recenttopics, $theme, $lang, $permissioncache;
$lang->load('recenttopicsindex');
@@ -107,6 +107,13 @@
</thead>';
// Run the Query
+ // !!! FIX private forum exposure!!!
+ if ( !is_array($permissioncache) ||
+
(is_array($permissioncache) &&
((count($permissioncache)==1) &&
(isset($permissioncache['-1']) && ($permissioncache['-1'] =
"1"))))
+ ) {
+ $permissioncache =
forum_permissions();
+ }
+
$unsearchforums =
get_unsearchable_forums();
if($unsearchforums)
$where_sql .= " AND
t.fid NOT IN ($unsearchforums)";
Written By: stain, 3rd February 2011
Version 1.0.2 has hidden forums issue fixed :)
Written By: NewEraCracker, 10th April 2011
instaled 1.6.4 works great. I like have this "recent topics bar" colapsible ;)
Written By: LandEagle, 21st November 2011
Works Great on 1.6.6 and default theme. thanx
Written By: supwner, 14th February 2012
I want to change something but can't find the template to change.
Anyone knows where and which template it uses?
Written By: sacp, 4th April 2013
I would like more it if you could choose to minimize it. Very nice though.
Written By: Revoke, 21st July 2014