inherit
248306
0
Aug 31, 2024 5:08:24 GMT -8
aastinky
46
August 2017
40oz
|
Post by aastinky on Jul 28, 2024 5:26:17 GMT -8
I have a custom page on my forum made out of HTML boxes that links to some important threads. I wanted to indicate the number of replies currently in the thread. Is there a variable I can use for that?
|
|
#eb7100
1480
0
1
Nov 27, 2024 6:25:30 GMT -8
Craig
209,200
September 2001
cmdynasty
|
Post by Craig on Jul 28, 2024 12:44:39 GMT -8
Hi aastinky I am not sure that is possible, i'm afraid. With that said, are these links to threads you have added manually? If we could take a look, we may be able to provide some ideas
|
|
inherit
248306
0
Aug 31, 2024 5:08:24 GMT -8
aastinky
46
August 2017
40oz
|
Post by aastinky on Jul 31, 2024 18:51:42 GMT -8
Here's a link to my custom page. If you hover over the cards, the top right corner shows a speech bubble with a number below it. I've been entering this numbers manually but I would prefer to have a dynamic variable that counts the number of replies in the thread. The forum board can count the number of replies. What is the math equation for that? doomer.boards.net/page/dbp
|
|
#eb7100
1480
0
1
Nov 27, 2024 6:25:30 GMT -8
Craig
209,200
September 2001
cmdynasty
|
Post by Craig on Aug 1, 2024 2:21:09 GMT -8
There isn't a calculation, per se. The number of replies is stored in the database on the server and sent to the screen when the page is requested. Unfortunately, the custom pages don't have an option to access that specific information in the database.
|
|
inherit
29252
0
Sept 6, 2012 15:46:49 GMT -8
Derek‽
28,705
August 2004
kajiaisu
|
Post by Derek‽ on Aug 2, 2024 15:58:35 GMT -8
If you're married to the idea of displaying the number of replies, there is a workaround that doesn't involve using a custom page. Since the cards link to threads, you could move the threads into their own board, then use templates + CSS to alter the thread listing for only that board and restyle it as card tiles. This would give you access to the variable for the number of replies.
|
|