Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Get forum post id
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / General Chat

2022-11-08 23:13:12
Hi guy, how to get forum post id link?

For example I have a topic with large number of posts on it and need make link on every post so when I need to link it can just make referer to that

Regards


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2022-11-08 23:30:01
is it not in the URL address bar of your browser? Maybe I am misunderstanding
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2022-11-08 23:30:26
2022-11-09 00:53:25
A way to link a new post with use of a ID (linking another post). This is actually quite useful, as you can live-render the linked post and insert it to a preview body on the fly
2022-11-09 09:47:19
It was perhaps a poor explanation on my part
the picture says more than a thousand words
Apologies for my poor explanation guys




www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2022-11-09 14:20:26
like this - im sure this is in v3


if you right click icon you get link
Last edited by M-jay warn on 2022-11-09 14:21:49
2022-11-09 21:37:50
That feature is not in V3 stock forum
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2022-11-10 05:53:04
from what i remember you need a link in forums - example where report button is something like this - you will need to alter link to right address
<a href='<?php echo $site_config['SITEURL']; ?>post?id=<?php echo $topicid; ?>&page=<?php echo $_GET['page'] ?>#post<?php echo $postid; ?>'>Anchor</a>


then just after while or foreach where we print post body add js so we have something to link
print("<a id='post$arr[id]'></a>");


just checked this is in v3 just need to add link
print("<a id='post$postid'></a>");
Last edited by M-jay warn on 2022-11-10 06:00:31
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728