Forum:LastActiveThread.AuthorID

Version: - string  

Summary

Returns ID of author of last active thread.   

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:LastActiveThread.AuthorID")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:LastActiveThread.AuthorID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastActiveThread.AuthorID"); }

Outputting the template tag

<!--@Forum:LastActiveThread.AuthorID-->

Check if string has a value

<!--@If Defined(@Forum:LastActiveThread.AuthorID)--> Let's output this tag here: <strong><!--@Forum:LastActiveThread.AuthorID--></strong> <!--@EndIf(@Forum:LastActiveThread.AuthorID)-->