Recent Topics

Can this ext display recent topics on external pages? - Recent Topics

Can this ext display recent topics on external pages?

by WWu777 » Sun Apr 05, 2020 3:27 am

Does this extension display recent topics on external pages? Like your home page for instance? It's not clear on the description page if this does that or not, or if it only displays recent topics on the forum itself. If not, which extension can display topics on external pages?
WWu777
Registered User
Posts: 812
Joined: Tue Aug 14, 2007 12:40 pm

Re: Can this ext display recent topics on external pages?

by WWu777 » Tue Apr 07, 2020 2:34 am

Ok I downloaded and installed this extension. Some of the features don't seem to work. When I select "display on side" it doesn't. And there's no way to display recent topics on another page other than the index page. But in the announcements page it says it can. But now how? WTF?

The features mention this:
can view all recent topics on a special page /app.php/rt (as of 2.2.7)
What does that mean? How do you display recent topics on another page?
WWu777
Registered User
Posts: 812
Joined: Tue Aug 14, 2007 12:40 pm

Re: Can this ext display recent topics on external pages?

by Innovin » Fri May 15, 2020 3:45 pm

Check /app.php/rt
Checkout My Forum
Innovin
Registered User
Posts: 20
Joined: Thu Apr 23, 2020 1:19 pm

Re: Can this ext display recent topics on external pages?

by uw1688 » Sat Aug 29, 2020 5:54 pm

I am new to this extension. How can I check this “ /app.php/rt”? And where is it? Thanks.
USWebCity.com (phpBB version 3.3.1)
User avatar
uw1688
Registered User
Posts: 21
Joined: Wed Jan 16, 2013 9:17 pm

Re: Can this ext display recent topics on external pages?

by RMcGirr83 » Sat Aug 29, 2020 11:57 pm

Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Can this ext display recent topics on external pages?

by uw1688 » Sun Aug 30, 2020 12:24 am

Hi RMcGirr83, thank you for your reply.

When I try to access this page: https://www.uswebcity.com/forum/app.php/rt , I got the fatal error below.
Fatal error: Uncaught Error: Call to undefined function paybas\recenttopics\core\topic_status() in /homepages/xx/dxxxxxxxxxxx/htdocs/forum/ext/paybas/recenttopics/core/recenttopics.php:705 Stack trace: #0 /homepages/xx/dxxxxxxxxxxx/htdocs/forum/ext/paybas/recenttopics/core/recenttopics.php(388): paybas\recenttopics\core\recenttopics->fill_template('recent_topics', Array, 50) #1 /homepages/xx/dxxxxxxxxxxx/htdocs/forum/ext/paybas/recenttopics/controller/page_controller.php(164): paybas\recenttopics\core\recenttopics->display_recent_topics() #2 /homepages/xx/dxxxxxxxxxxx/htdocs/forum/vendor/symfony/http-kernel/HttpKernel.php(151): paybas\recenttopics\controller\page_controller->display() #3 /homepages/xx/dxxxxxxxxxxx/htdocs/forum/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(phpbb\symfony_request), 1) #4 /homepages/xx/dxxxxxxxxxxx/htdocs/forum/app.php(35): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request)) #5 {main} thrown in /homepages/xx/dxxxxxxxxxxx/htdocs/forum/ext/paybas/recenttopics/core/recenttopics.php on line 705
Could someone tell me how to fix it? Any help would be appreciated. Thanks.
USWebCity.com (phpBB version 3.3.1)
User avatar
uw1688
Registered User
Posts: 21
Joined: Wed Jan 16, 2013 9:17 pm

Re: Can this ext display recent topics on external pages?

by RMcGirr83 » Sun Aug 30, 2020 2:40 am

Using a strict text editor, like notepad++ (NOT windows notepad), you need to add this

Code: Select all

				if (!function_exists('topic_status'))
				{
					include($this->root_path . 'includes/functions_display.' . $this->phpEx);
				}
right before this

Code: Select all

				foreach ($rowset as $row)
in the core/recenttopics.php file of the extension.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Can this ext display recent topics on external pages?

by uw1688 » Sun Aug 30, 2020 3:50 am

Hi RMcGirr83,

Thank you so much for your reply. After adding the function in the" recenttopics.php" file, it works fine now. Thanks again.

I have one more question. How to display recent topics at the bottom of a view topic page?

If the visitors read a topic, and like to read more recent topics, they can just click on a topic in the recent topics section. So they don't need go back to the index page or other forum's main page to click and read the recent topics.

Please let me know how to change it? Thanks.
USWebCity.com (phpBB version 3.3.1)
User avatar
uw1688
Registered User
Posts: 21
Joined: Wed Jan 16, 2013 9:17 pm

Re: Can this ext display recent topics on external pages?

by RMcGirr83 » Sun Aug 30, 2020 11:07 am

Not my extension, not my problem. I have enough to do with my own extensions. Sorry.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Can this ext display recent topics on external pages?

by uw1688 » Sun Aug 30, 2020 2:26 pm

Thanks so much again for your time and help.

Could someone please give me help with the changing at the bottom of a view topic page? Thanks.
USWebCity.com (phpBB version 3.3.1)
User avatar
uw1688
Registered User
Posts: 21
Joined: Wed Jan 16, 2013 9:17 pm