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

Recent

Welcome to TinyPortal. Please login or sign up.

March 01, 2024, 01:04:53 AM

Login with username, password and session length
Members
  • Total Members: 3,881
  • Latest: fords8
Stats
  • Total Posts: 195,080
  • Total Topics: 21,209
  • Online today: 71
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 83
  • Total: 83

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