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?

September 26, 2020, 04:06:03 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 191020
  • Total Topics: 20891
  • Online Today: 107
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 89
Total: 90

Author Topic: Sayfada Tm Konuları Listeleme  (Read 2499 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: 2482
    • 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 TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

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: 2482
    • 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 TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info