Thread Rating:
  • 10 Vote(s) - 3.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Recent Threads On Index [Updated 02-09-21]
How could I duplicate the plugin to use for another widget by filtering another category?
Reply
Anyone know how can I prevent this from hapenning:

arrow (jump.png)
prefix (thread's prefix)
title (thread's title)

I want it to be like this:

arrow prefix title
( -> [Prefix] Title )

This happens only if prefix's size is longer, it doesn't depend on the thread's titlle (I THINK) as I already have one thread with longer name but it's ok unlike the first one with longer prefix

https://github.com/dragonexpert/recentthreads/issues/58

Edit: thread link
https://community.mybb.com/thread-227518.html
Reply
Congratulations it's a very beautiful Plugin.

It's work well the first time. I wondered if it was possible to change the english title easly ?

Recent threads .... author ... forum ... posts ... last posts
In the template ?

Thank you



[Image: 88bb1754b2.png]
Reply
^ you can translate the language file => /inc/languages/english/recentthreads.lang.php
keep variables at left side of = and translate values in double quotes at right side of =

Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.
Reply
Thank you. It's ok, it' works fine.
Reply
Hello, I installed this plugin, but nothing is shown on index!
Reply
Hello, I have been going through the most recent pages to try and find a solution to my problem. I have installed this plugin and nothing shows up. 

  • I have installed the latest build of this plugin, #13.
  • MyBB Version 1.8.22
  • I have been trying to test this plugin from both FF and Chrome
  • I have reinstalled the plugin twice
  • I have clicked the update link
  • I have checked the permissions
  • I have noticed that no extra templates have been made, even with reinstalling the plugin. I'm suspecting that this is the issue.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
	{$headerinclude}{$recentthread_headerinclude}	
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<div class="forum">
{$forums}
</div>
<div class="sidebar"><br/>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<strong><i class="fa fa-comments"></i> Recent Posts</strong>
			</td>
		</tr>
		<tr>
			<td class="trow1">
				<div id="recentthreads">{$recentthreadtable}</div>
			</td>
		</tr>
	</table>
	<br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong><i class="fas fa-bolt"></i> Season & Weather</strong></td>
</tr>
<tr>
<td class="trow1">

	<h3>Season: Summer</h3>

	<img src="/images/weather/sunny.png" width="100" height="100" align="left"> Seasons and weather will go here.

<br/>
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong><i class="fas fa-gamepad"></i> Game Status & Events</strong>
</td>
</tr>
<tr>
<td class="trow1">
	
	Game events and status will go here.
	
<br/>
</td>
</tr>
</table><br/>
</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>


Attached Files Thumbnail(s)
           
Reply
^ make sure that you have uploaded all the files of the plugin.
it has a subfolder with some files. that subfolder should be also uploaded.
Reply
In the last 1 hour, I have taken the advice to deactivated, uninstalled, reuploaded all files, installed, and activated the plugin again.

I installed build #13 from the mybb plugins page for consistency.

  • It did not work after installation.
  • I still do not see the template having been installed.
  • I clicked the 'run update script' and confirmed that I have the most current version of the plugin.
  • I checked again and it's still not working.
  • As per the read me file, I have verified that the variables are included and not duplicated.
  • I have checked the permissions of the plugin under the configuration tab.

The files that were downloaded in the zip contain:

  • inc
  • > languages
  • > > english
  • > > > admin
  • > > > > recentthreads.lang.php
  • > > > recentthreads.lang.php
  • > plugins
  • > > recentthread.php
  • license
  • readme
Unless I am missing a file, I need the template unless I am missing something that I am unable to see.


So I started digging backwards in this thread and have found that the build on Github has all the required files. I have installed it and the plugin now works. The build listed on the mybb extensions page (build #13) did not include the files needed for the templates which resulted in the same problem other people were having.

I hope this helps.
Reply
"recentthreads" named subfolder should exist in plugins folder with below files
Quote:https://github.com/dragonexpert/recentth...entthreads
those files should exist before installing the plugin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)