RSS Feed/News Using Thread ID in message_macro

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,823
Points
823

Reputation:

I'm trying to pull the current thread ID for a thread to use to create a link in the message_macro template so that the user can click the generated link to see all of their posts in that thread. This is what I was using, which works... but only if you are looking at the newest thread. I've figured out that $__globals.forum.last_thread_id isn't the variable that I needed since it points to another thread. Any ideas?

Code:

<a href="{{ link('search/search', null, {'c[users]': $user.username...

Read more

Continue reading...
 
Status
Not open for further replies.
Top