jfh-html-templates [Jcink.com Wiki]

Differences

This shows you the differences between the selected revision and the current version of the page.

jfh-html-templates 2019/01/11 08:39 jfh-html-templates 2019/03/20 11:38 current
Line 11: Line 11:
======  Category Headers ====== ======  Category Headers ======
-{{http://jcink.com/wiki/i/category_header.png?|Forum Rows)}}+{{https://jcink.com/wiki/i/category_header.png?|Forum Rows)}}
^ Variable    ^ Information contained      ^ ^ Variable    ^ Information contained      ^
Line 37: Line 37:
  * **[[jfh-skinning-default-templates#subforum_list_header|Default HTML Template]]**   * **[[jfh-skinning-default-templates#subforum_list_header|Default HTML Template]]**
 +
Line 57: Line 58:
| <code> <!-- |total_posts| --> </code> | Current number of combined topics and replies in the forum  | | <code> <!-- |total_posts| --> </code> | Current number of combined topics and replies in the forum  |
| <code> <!-- |last_post| --> </code> | The last post date in the forum  | | <code> <!-- |last_post| --> </code> | The last post date in the forum  |
-| <code> <!-- |last_topic| --> </code> | The last post title with a link | +| <code> <!-- |last_topic| --> </code> | The last topic title with a link | 
-| <code> <!-- |last_topic_text| --> </code> | The last post title with no link to topic|+| <code> <!-- |last_topic_text| --> </code> | The last topic title (truncated) with no link to topic | 
 +| <code> <!-- |last_topic_fulltext| --> </code> | The last topic title with no link to topic |
| <code> <!-- |last_topic_url| --> </code> | The full link to the topic | | <code> <!-- |last_topic_url| --> </code> | The full link to the topic |
| <code> <!-- |last_topic_id| --> </code> | The topic's numerical ID # in the database | | <code> <!-- |last_topic_id| --> </code> | The topic's numerical ID # in the database |
Line 87: Line 89:
======  Topic List Headers ====== ======  Topic List Headers ======
- {{https://jcink.com/wiki/i/topic_list_header.png?|Forum Rows)}}+{{https://jcink.com/wiki/i/topic_list_header.png?|Forum Rows)}}
Line 179: Line 181:
  * **[[jfh-skinning-default-templates#board_statistics|Default HTML Template]]**   * **[[jfh-skinning-default-templates#board_statistics|Default HTML Template]]**
- 
- 
- 
====== Main Profiles ====== ====== Main Profiles ======
Line 214: Line 213:
| <code> <!-- |awards_total| --> </code> | The profile's total awards. | | <code> <!-- |awards_total| --> </code> | The profile's total awards. |
| <code> <!-- |posts| --> </code> | The profile's total post count. | | <code> <!-- |posts| --> </code> | The profile's total post count. |
-| <code> <!-- |aim| --> </code> | The profile's AIM. | 
-| <code> <!-- |yahoo| --> </code> | The profile's YIM. | 
-| <code> <!-- |gtalk| --> </code> | The profile's GTalk. | 
-| <code> <!-- |msn| --> </code> | The profile's MSN. | 
-| <code> <!-- |skype| --> </code> | The profile's Skype. | 
| <code> <!-- |pm| --> </code> | The full URL to send the member a PM. | | <code> <!-- |pm| --> </code> | The full URL to send the member a PM. |
| <code> <!-- |email| --> </code> | The full URL to send the member an email.  | | <code> <!-- |email| --> </code> | The full URL to send the member an email.  |
Line 245: Line 239:
Some of the variables in the main profile, such as <!-- |comments| --> are not returned as a regular text string or boolean value, but rather a **JavaScript Object Notation** string. For concrete examples of working with JSON variables for the main profiles, please see: [[jfh-main-profile-json|'Main Profile' HTML Templates: JSON Variables]] Some of the variables in the main profile, such as <!-- |comments| --> are not returned as a regular text string or boolean value, but rather a **JavaScript Object Notation** string. For concrete examples of working with JSON variables for the main profiles, please see: [[jfh-main-profile-json|'Main Profile' HTML Templates: JSON Variables]]
 +====== Member List Headers ======
 +
 +{{https://jcink.com/wiki/i/memberlist_header.png?|Member List Headers)}}
 +
 +^ Variable    ^ Information contained      ^
 +| <code> <!-- |search_input| --> </code> | The search input box for names |
 +| <code> <!-- |group_dropdown| --> </code> | The group dropdown selector |
 +| <code> <!-- |sortby_dropdown| --> </code> | The sort key dropdown selector |
 +| <code> <!-- |order_dropdown| --> </code> | The order dropdown selector |
 +| <code> <!-- |max_dropdown| --> </code> | The max members per page dropdown selector |
 +| <code> <!-- |pages| --> </code> | Pagination links (Pages: 1, 2, 3… etc.) |
 +| <code> <!-- |photoonly_checkbox| --> </code> | Checkbox for filtering by photo only |
 +
 +^ Core Variable    ^ Information contained      ^
 +| <code> <% MEMBERLIST_ROWS %> </code> | The member list row set; this is required or no members will display. |
 +
 +  * **[[jfh-skinning-default-templates#member_list_header|Default HTML Template]]**
 +
 +====== Member List Rows ======
 +
 +^ Variable    ^ Information contained      ^
 +| <code> <!-- |id| --> </code> | The listed member's id, as displayed in the URL(/index.php?showuser=x) |
 +| <code> <!-- |parent_id| --> </code> | Displays listed member's parent number |
 +| <code> <!-- |g_id| --> </code> | The profile's group id number |
 +| <code> <!-- |avatar| --> </code> | The listed member's avatar with image tag included. |
 +| <code> <!-- |avatar_url| --> </code> | The listed member's full avatar URL. |
 +| <code> <!-- |name| --> </code> | The profile's user name. |
 +| <code> <!-- |member_name| --> </code> | The listed member's user name in plain text. |
 +| <code> <!-- |group| --> </code> | The profile's group name. (g_title also works) |
 +| <code> <!-- |photo_macro| --> </code> | The member list image macro for photos. |
 +| <code> <!-- |email_macro| --> </code> | The member list image macro for email. |
 +| <code> <!-- |title| --> </code> | The listed member's title - custom or rank based. |
 +| <code> <!-- |location| --> </code> | The listed member's location. |
 +| <code> <!-- |birthday| --> </code> | The listed member's birthday. |
 +| <code> <!-- |age| --> </code> |The listed member's age based on their birthday. |
 +| <code> <!-- |website| --> </code> | The listed member's website link. |
 +| <code> <!-- |interests| --> </code> | The listed member's interests. |
 +| <code> <!-- |joined| --> </code> | The listed member's join date. |
 +| <code> <!-- |last_activity| --> </code> | The listed member's last activity date. |
 +| <code> <!-- |last_post| --> </code> | The listed member's last post date. |
 +| <code> <!-- |posts| --> </code> | The listed member's total post count. |
 +| <code> <!-- |pm| --> </code> | The full URL to send the listed member a PM. |
 +| <code> <!-- |email| --> </code> | The full URL to send the listed member an email.  |
 +| <code> <!-- |signature| --> </code> | The listed member's signature. |
 +
 +  * **[[jfh-skinning-default-templates#member_list_row|Default HTML Template]]**
 +
 +====  Custom Fields ====
 +
 +You can call the custom profile fields in the **Member List Row template** by their corresponding field_# in the Admin CP.
 +
 +^ Variable    ^ Information contained      ^
 +| <code> <!-- |field_#| --> </code> | Returns value of 'field_#' as show in Admin CP |
 +
 +Below is an example, where our field is "FIELD_1":
 +
 +^ Example Variable    ^ Example Information contained      ^
 +| <code> <!-- |field_1| --> </code> | Returns value of 'field_1' as show in Admin CP |
Line 264: Line 316:
| <code> <!-- |age| --> </code> | Displays author age (if available) | | <code> <!-- |age| --> </code> | Displays author age (if available) |
| <code> <!-- |member_joined| --> </code> | Displays author join date | | <code> <!-- |member_joined| --> </code> | Displays author join date |
-| <code> <!-- |aim_name| --> </code> | Displays author AIM name | 
-| <code> <!-- |icq_number| --> </code> | Displays author ICQ number | 
-| <code> <!-- |yahoo| --> </code> | Displays author Yahoo! name | 
-| <code> <!-- |msnname| --> </code> | Displays author MSN name | 
| <code> <!-- |website| --> </code> | Displays author website link | | <code> <!-- |website| --> </code> | Displays author website link |
| <code> <!-- |email| --> </code> | Displays author email | | <code> <!-- |email| --> </code> | Displays author email |
Line 310: Line 358:
====== Post Rows ====== ====== Post Rows ======
-{{http://jcink.com/wiki/i/post_row.png?|Post Row)}}+{{https://jcink.com/wiki/i/post_row.png?|Post Row)}}
^ Variable    ^ Information contained      ^ ^ Variable    ^ Information contained      ^
Line 333: Line 381:
| <code> <!-- |edit_button| --> </code>  | The post's edit button (if permitted) | | <code> <!-- |edit_button| --> </code>  | The post's edit button (if permitted) |
| <code> <!-- |quote_button| --> </code>  | The post's quote button  | | <code> <!-- |quote_button| --> </code>  | The post's quote button  |
-| <code> <!-- |aim| --> </code> | The author's AIM button. | 
-| <code> <!-- |yahoo| --> </code> | The author's YIM button. | 
-| <code> <!-- |gtalk| --> </code> | The author's GTalk button. | 
-| <code> <!-- |msn| --> </code> | The author's MSN button. | 
| <code> <!-- |pm| --> </code> | The author's PM button | | <code> <!-- |pm| --> </code> | The author's PM button |
| <code> <!-- |email| --> </code> | The author's email button  | | <code> <!-- |email| --> </code> | The author's email button  |
 
jfh-html-templates.1547213999.txt.gz · Last modified: 2019/01/11 08:39 by jcink