How to get the Start Number in the Topic URL ?

@halilesen · 15 Oct 2024 · 326 views
Post Reply
User avatar
halilesen
#1 ·
Posts: 57
Joined: 24 Mar 2024, 18:09
Full Name: Halil ESEN
Has liked: 12
Been liked: 9
I wanted to do something, but for this I needed to get the value of the start parameter used on the pages after the first page in the topic url. But I couldn't get it by default.

You can get the start number on page viewtopic_body.html of your style with the following method.

Open the viewtopic.php file on phpBB root (not style file).

Find:

Code: Select all

'TOPIC_ID' 		=> $topic_id,
Add after line:

Code: Select all

'START_ID'      => $start,

Save. Now, when you use {START_ID} code on /template/viewtopic_body.html file of the style you use, you will get the start number.

Best.
Post Reply
  • Similar Topics