Please or Register to create posts and topics.

How to check for current view, current topic id?

I am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu

And neither of them have access to $this->current_view or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.

Thanks in advance.

 

Quote from Apos37  geometry dash lite on November 13, 2024, 5:58 pm

I am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu

And neither of them have access to $this->current_view or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.

Thanks in advance.

I also wonder the same questions.