TinyPortal

Development => International => Turkish => Topic started by: AlibrtcX on June 19, 2020, 01:56:17 PM

Title: Sayfada Tm Konuları Listeleme
Post by: AlibrtcX on June 19, 2020, 01:56:17 PM
[b]Link to my forum:[/b] http://www.fulloyunarsivi.com
[b]SMF version:[/b] 2.0.17
[b]TP version:[/b] 1.6.6
[b]Default Forum Language:[/b] turkish
[b]Theme name and version:[/b] Game_Nation


I would like to list all contents i shared on the tinyportal without any time limit. How can i do that?
Title: Re: Ön Sayfada Tüm Konuları Listeleme
Post by: @rjen on June 19, 2020, 06:07:51 PM
Contents? I assume you mean articles?
Or also something else?

Where and how do you  want to list it? Visible to yourself? Also to other users?
Title: Re: Sayfada Tm Konuları Listeleme
Post by: AlibrtcX on August 12, 2020, 01:18:50 PM
Ana sayfada görünen forum konularımın 200 tanesini gösteriyor. Ben hepsinin görünmesini istiyorum. Bunun yöntemi var mı?

(https://i.hizliresim.com/oGsZmW.png)
Title: Re: Sayfada Tm Konuları Listeleme
Post by: @rjen on September 08, 2020, 08:14:41 AM
This is set in the code. Tportal.php
It is the $totalmax variable

WARNING: this query is run with every visit to your frontpage, so I you set it higher it will be a potential impact for your server. Most visitors do not click further then page 2 anyway!

If you are using Forum topics or Promoted topics:


case 'forum_only':
    case 'forum_selected':
$totalmax = 200;

loadLanguage('Stats');


If you are using topics or promoted topics and articles


    case 'forum_articles':
    case 'forum_selected_articles':
// first, get all available
$artgroups = '';
if(!$context['user']['is_admin']) {
            $artgroups = TPUtil::find_in_set($user_info['groups'], 'var.value3', 'AND');
        }

$totalmax = 200;
loadLanguage('Stats');