-
Notifications
You must be signed in to change notification settings - Fork 10
Default Module Template Variable Information
Mark Vincent edited this page Feb 4, 2017
·
3 revisions
Each module will have access to global variables in their current state. I won't attempt to map those here, nor is this anywhere close to a complete list. The intent here is to list relevant variables to be used for customization.
Relevant globals: $thread
Variable | Type | Description |
---|---|---|
$avatar_width |
string | |
$avatar |
string | image html |
$formatted_name |
string | group-formatted html |
$lastposter_profile_link |
string | html |
$formatted_name_profile_link |
string | html |
$avatar_profile_link |
string | html |
Relevant globals: $post
Variable | Type | Description |
---|---|---|
$rand_post[] |
array | post info |
$plain_text_username |
string | |
$username |
string | group-formatted html |
$author_link |
string | html |
$post_link |
string | html |
$thread_link |
string | html |
$avatar_filename |
string | |
$avatar_alt |
string | |
$read_more |
string | html |
Relevant globals: $post
Variable | Type | Description |
---|---|---|
$post_excerpt |
string | abbreviated and stripped post message |
$post_author |
string | profile link |
$lastposttime |
string | formatted time |
$post_author_name |
string | group-formatted html |
Relevant globals: $user
Variable | Type | Description |
---|---|---|
$staff_avatar_alt |
string | |
$staff_avatar_title |
string | |
$staff_avatar_filename |
string | |
$staff_link_title |
string | |
$staff_username |
string | group-formatted html |
$staff_profile_link |
string | html |
$staff_badge_alt |
string | |
$staff_badge_title |
string | |
$staff_badge_filename |
string | |
$staff_badge |
string | html |
Relevant globals: $user
Variable | Type | Description |
---|---|---|
$top_poster_avatar_src |
string | |
$avatar_width |
string | |
$username |
string | group-formatted html |
$profile_link |
string | html |
$top_poster |
string | group-formatted profile link html |
Variable | Type | Description |
---|---|---|
$avatar_height |
string | |
$avatar_width |
string |