[CDB] Recent Topics

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Recent Topics

Post by PayBas » Thu Jul 17, 2014 5:06 pm

Language files have been updated.

I changed some entries, so I hope you guys will provide me with updates ;).
https://github.com/PayBas/RecentTopics/ ... ae3fe40991

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] Recent Topics

Post by Stoker 4.0 » Fri Jul 18, 2014 5:35 am

Could not install on RC2
Maybe because the path to be used now isnt: phpBB/ext/paybas/recenttopics/ but instead phpBB/ext/phpbb/paybas/recenttopics/

User avatar
david63
Registered User
Posts: 16547
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Recent Topics

Post by david63 » Fri Jul 18, 2014 6:09 am

Looks to me as if the path is root/ext/paybas/recenttopics/
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Recent Topics

Post by PayBas » Fri Jul 18, 2014 7:20 am

Stoker 4.0 wrote:Could not install on RC2
Maybe because the path to be used now isnt: phpBB/ext/paybas/recenttopics/ but instead phpBB/ext/phpbb/paybas/recenttopics/
Where did you get that idea?

It's still root/ext/paybas/recenttopics/ like david63 said.

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] Recent Topics

Post by Stoker 4.0 » Fri Jul 18, 2014 9:12 am

My mistake.
I read the instructions like it should be this: root/phpbb/ext/....
instead of phpBB as in root ;)
Works now, thanks.

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] Recent Topics

Post by Stoker 4.0 » Sun Jul 20, 2014 3:35 pm

I have been looking at the files, but I cant figure out what makes the code display on index.php
How do I get it to display on another page, lets say my own portal.php?

MakisH
Registered User
Posts: 47
Joined: Fri Sep 24, 2010 6:18 pm

Re: [BETA] Recent Topics

Post by MakisH » Wed Jul 23, 2014 7:48 am

Updated greek language file, according to the changes noted on github (I must learn how to use github...):

Code: Select all

<?php

/**
*
* @package Recent Topics Extension
* @copyright (c) 2014 PayBas
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
* Based on the original NV Recent Topics by Joas Schilling (nickvergessen)
*
*/

if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}

$lang = array_merge($lang, array(
'RECENT_TOPICS'	=> 'Πρόσφατα Θέματα',
'RECENT_TOPICS_LIST'	=> 'Εμφάνιση στα "πρόσφατα θέματα"',
'RECENT_TOPICS_LIST_EXPLAIN'	=> 'Να εμφανίζονται τα θέματα αυτής της συζήτησης στα "πρόσφατα θέματα";',

'RT_CONFIG'	=> 'Ρυθμίσεις',
'RT_ANTI_TOPICS'	=> 'Εξαιρούμενα θέματα',
'RT_ANTI_TOPICS_EXP'	=> 'Χωρισμένα με “, ” (Παράδειγμα: “7, 9”)<br />Εάν δεν θέλετε να εξαιρέσετε κάποιο θέμα, απλώς εισάγετε 0.',
'RT_NUMBER'	=> 'Πρόσφατα θέματα',
'RT_NUMBER_EXP'	=> 'Πλήθος θεμάτων εμφανιζόμενα στο ευρετήριο.',
'RT_PAGE_NUMBER'	=> 'Σελίδες προσφάτων θεμάτων',
'RT_PAGE_NUMBER_EXP'	=> 'Μπορείτε να εμφανίσετε μερικά ακόμα πρόσφατα θέματα μοιράζοντάς τα σε σελίδες. Απλώς εισάγετε 1 για να απενεργοποιήσετε αυτή τη λειτουργία. Εάν εισάγετε 0 θα υπάρχουν τόσες σελίδες όσες χρειάζονται για να εμφανίζονται όλα τα θέματα.',
'RT_PARENTS'	=> 'Εμφάνιση μητρικών συζητήσεων',
'RT_PARENTS_EXP'	=> 'Εμφάνιση των μητρικών συζητήσεων στη γραμμή κάθε θέματος στα πρόσφατα θέματα.',
'RT_UNREADONLY'	=> 'Εμφάνιση μόνο μη-αναγνωσμένων θεμάτων',
'RT_UNREADONLY_EXP'	=> 'Αυτή η λειτουργία θα εμφανίζει μόνο μη-αναγνωσμένα θέματα (είτε είναι "πρόσφατα" είτε όχι). Αυτή η λειτουργία χρησιμοποιεί τις ίδιες ρυθμίσεις (εξαιρούμενες συζητήσεις/θέματα κτλ.) με την κανονική. Σημείωση: αυτό λειτουργεί μονάχα για συνδεδεμένους χρήστες. Οι επισκέπτες θα βλέπουν την κανονική λίστα.',

'RT_VIEW_ON'	=> 'Εμφάνιση προσφάτων θεμάτων σε:',
));
NOTE: phpBB uses "el" for greek language pack directories, not "gr"!
"Greece" is also called "Hellas" and the "greek language" in greek is "ελληνική γλώσσα". So "el" comes from the phonetically written "elliniki glossa" or "ellinika".

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Recent Topics

Post by PayBas » Wed Jul 23, 2014 8:25 am

Language fixed ;).
Stoker 4.0 wrote:I have been looking at the files, but I cant figure out what makes the code display on index.php
How do I get it to display on another page, lets say my own portal.php?
You could start by adding another event listener.

Code: Select all

	static public function getSubscribedEvents()
	{
		return array(
			'portal.your_event' 				=> 'display_rt',
		);
	}

User avatar
Stoker 4.0
Registered User
Posts: 1483
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] Recent Topics

Post by Stoker 4.0 » Wed Jul 23, 2014 5:51 pm

Thanks, ill see if I can figure it out :)

User avatar
brandsrus
Registered User
Posts: 102
Joined: Thu Jan 19, 2006 5:36 pm
Location: Leeuwarden, The Netherlands
Contact:

Re: [BETA] Recent Topics

Post by brandsrus » Sat Jul 26, 2014 5:51 pm

Here is de Dutch translation:

Code: Select all

<?php

/**
*
* @package Recent Topics Extension
* @copyright (c) 2014 PayBas
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
* Based on the original NV Recent Topics by Joas Schilling (nickvergessen)
*
*/

if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'RECENT_TOPICS'					=> 'Recente Onderwerpen',
	'RECENT_TOPICS_LIST'			=> 'Bekijk "recent onderwerpen” lijst',
	'RECENT_TOPICS_LIST_EXPLAIN'	=> 'Moeten deze onderwerpen uit dit forum worden weergegeven op de "recente onderwerpen" lijst?',

	'RT_CONFIG'						=> 'Configuratie',
	'RT_ANTI_TOPICS'				=> 'Uitgesloten onderwerpen',
	'RT_ANTI_TOPICS_EXP'			=> 'Gescheiden door een “, ” (Voorbeeld: “7, 9”)<br />Als je geen onderwerpen wilt uitsluiten, vul een 0 in.',
	'RT_NUMBER'						=> 'Recente onderwerpen',
	'RT_NUMBER_EXP'					=> 'Aantal onderwerpen dat weergegeven wordt op de forumindex.',
	'RT_PAGE_NUMBER'				=> 'Recente onderwerpen pagina\'s',
	'RT_PAGE_NUMBER_EXP'			=> 'Je kan bij het weergeven van meerdere recente onderwerpen aangeven op hoeveel pagina\'s je dit wilt weergeven. Deze functie wordt uitgeschakeld bij het invullen van een 1. Als je een 0 invoert worden er net zoveel pagina\'s gebruikt als nodig om alle onderwerpen weer te geven.',
	'RT_PARENTS'					=> 'Weergeven van hoofdforums',
	'RT_PARENTS_EXP'				=> 'Geeft de hoofdforums weer in de onderwerpregel van de recente onderwerpen.',
	'RT_UNREADONLY'					=> 'Alleen ongelezen onderwerpen weergeven',
	'RT_UNREADONLY_EXP'				=> 'Deze optie zorgt ervoor dat alleen de ongelezen onderwerpen worden weergegeven (ongeacht of ze recent zijn). Deze functie gebruikt dezelfde instellingen (uitsluiting van forums/onderwerpen etc.) als in de normale situatie. NB: dit werkt alleen bij ingelogde gebruikers; gasten krijgen de normale lijst te zien.',

	'RT_VIEW_ON'		=> 'Geef recente onderwerpen weer bij:',
));
Good luck with the development of this MOD!
For more information, contact me with pm or e-mail

aaronnz220
Registered User
Posts: 10
Joined: Sat Jul 26, 2014 6:27 am

Re: [BETA] Recent Topics

Post by aaronnz220 » Mon Jul 28, 2014 4:51 am

Is there a way where the code from the recent topics could be put in a custom page say a home page? In phpbb 3.0x it was easy to do. but this 3.1 confuses me

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Recent Topics

Post by PayBas » Mon Jul 28, 2014 9:36 am

aaronnz220 wrote:Is there a way where the code from the recent topics could be put in a custom page say a home page? In phpbb 3.0x it was easy to do. but this 3.1 confuses me
It depends on what kind of "custom page" we are talking about. Your page would need to be able to load extensions.

User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: [BETA] Recent Topics

Post by FoFa » Fri Aug 08, 2014 5:14 pm

Hi,

French translation available: https://github.com/PayBas/RecentTopics/ ... anguage/fr

xxx
Formly ForumsFaciles :wink:

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] Recent Topics

Post by Volksdevil » Sun Aug 17, 2014 8:28 pm

REQ: Ability to include or exclude chosen forums that topics are pulled from? :)
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Recent Topics

Post by PayBas » Sun Aug 17, 2014 10:20 pm

Volksdevil wrote:REQ: Ability to include or exclude chosen forums that topics are pulled from? :)
You can already do that. When you edit a forum in the ACP, there is an option to include/exclude it.

Locked

Return to “Extensions in Development”