TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:51:12 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 212
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 209
  • Total: 210
  • illori

Sayfada Tm Konuları Listeleme

Started by AlibrtcX, June 19, 2020, 01:56:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AlibrtcX

[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?

@rjen

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?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

AlibrtcX

Ana sayfada görünen forum konularımın 200 tanesini gösteriyor. Ben hepsinin görünmesini istiyorum. Bunun yöntemi var mı?


@rjen

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');

Running Latest TP on SMF2.1 at: www.fjr-club.nl