Forums

Identifying post numbers in script

Sort:
val08

Hi, chess.com staff. My suggestion should take you guys only a couple of minutes to implement. My buddies and I often link to topics around chess.com but it would be much simpler if we could bring the user to the exact post in that topic (for example, post #7).

 

In forums, this line of code shows the topic number:

::::<div class="forumposttopright">#7</div>

#7 is the text, but I'm sure you have a hidden variable holding the post-count

 

It's been a while since I coded something but I think something simply like this may work:

[unmodified]

<a name="
[php] echo $post_count_variable; [/php]
"></a>
<div class="forumposttopright">#7</div>

[unmodified]

 

I'm sure the scripters know what I'm talking about. This should be VERY simple to do. Thanks for you time.

TheGrobe

Yes please!

artfizz

Super idea!