Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

November 27, 2022, 01:26:40 AM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193612
  • Total Topics: 21103
  • Online today: 61
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 1
Guests: 56
Total: 57

Author Topic: Sayfada Tm Konuları Listeleme  (Read 3690 times)

0 Members and 1 Guest are viewing this topic.

Offline AlibrtcX

  • Newbie
  • *
  • Posts: 2
Sayfada Tm Konuları Listeleme
« on: June 19, 2020, 06:56:17 AM »
Code: [Select]
[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?
« Last Edit: June 20, 2020, 01:53:40 PM by lurkalot »

Offline @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Ön Sayfada Tüm Konuları Listeleme
« Reply #1 on: June 19, 2020, 11:07:51 AM »
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

Offline AlibrtcX

  • Newbie
  • *
  • Posts: 2
Re: Sayfada Tm Konuları Listeleme
« Reply #2 on: August 12, 2020, 06:18:50 AM »
Ana sayfada görünen forum konularımın 200 tanesini gösteriyor. Ben hepsinin görünmesini istiyorum. Bunun yöntemi var mı?


Offline @rjen

  • Support Team
  • *
  • Posts: 3336
    • FJR-club Nederland
Re: Sayfada Tm Konuları Listeleme
« Reply #3 on: September 08, 2020, 01: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:

Code: [Select]
case 'forum_only':
    case 'forum_selected':
$totalmax = 200;

loadLanguage('Stats');

If you are using topics or promoted topics and articles

Code: [Select]
    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