MyBB Community Forums

Full Version: Recent Threads On Index [Updated 02-09-21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Nah, didn't work. I'll keep my eyes peeled for another solution.
(2016-10-19, 09:05 PM)dragonexpert Wrote: [ -> ]That's not the purpose of this plugin.  There is another plugin that does the same thing except it is a side bar.

I'm yet to find a recent threads sidebar plugin, that successfully works...
If you know HTML and CSS you can make it work.
(2016-10-29, 06:30 PM)dragonexpert Wrote: [ -> ]If you know HTML and CSS you can make it work.


how can i make recent thread in new custom page? 
i try calling it using {$recentthread} in my custom page and it didnt work


help me please  Big Grin
You need to call the function recentthread_list_threads in your PHP file. If it says the function doesn't exist, you may need to use require_once "inc/plugins/recentthread.php"; before calling the function.
How can I delete the colums "Forum" and "Posts", so I only see colums "Thread / Author" and "Last Post"?
Expand/Collapse button does not work for me.
I cant get this to show up in my ACP plugins list to even activate it. And its in there, as well as the language file in its directory. 

metulburr /var/www/python-forum.io/inc/plugins $ ls | grep recent
recentthreads.php
(2016-11-19, 09:11 PM)OlDirty Wrote: [ -> ]How can I delete the colums "Forum" and "Posts", so I only see colums "Thread / Author" and "Last Post"?
Expand/Collapse button does not work for me.

First edit the global template recentthread. Change the colspan="4" to colspan="2". Also remove the middle two lines that begin with <td class="tcat">.

Next edit the global template recentthread_thread. Remove the middle two lines that begin with <td class="{$trow}">

(2016-11-19, 11:11 PM)metulburr Wrote: [ -> ]I cant get this to show up in my ACP plugins list to even activate it. And its in there, as well as the language file in its directory. 

metulburr /var/www/python-forum.io/inc/plugins $ ls | grep recent
recentthreads.php

Did you perhaps rename the file? It should be recentthread.php without the s.
yeah that was the problem. I just copied and pasted the files and messed up the name. I wasnt aware the actual plugin file name needed to match in inc/plugins. I thought that was the root file.
The way it determines the list of plugins is by scanning the plugins directory. Any file it finds it loads then uses if(function_exists($filename . "_info")). If that returns true, it lists the plugin according to the information in the _info function for that plugin. If that returns false, it skips it.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42