Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Display for Game Replay
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #1
Display for Game Replay
This is my first xthread mod tutorial. (please do not judge so severe) Biggrin

Here there is a display of game replay (Command and Conquer Generals Zero Hour)

INFO: My Forum is in german language.

1. Buttonbox for Spielvariante:
    Create a Custom Thread Fields with this settings:
      Title: Spielvariante
      Key: repzhsv
      Applicable Forums: select forum you just added in the step above
      Input Field Type: Option Buttons
      Values List:
      1vs1
      2vs2
      3vs3
      Editable by / Required Field?: Everyone (required)
      Display Order: 1

2. Textbox for Team 1:
   Create a Custom Thread Fields with this settings:
Title: Team 1
Key: repzht1
Applicable Forums: select forum you just added in the step above
Input Field Type: Textbox
Editable by / Required Field?: Everyone (required)
Display Order: 2


3. List for Fraktion (1vs1):
Create a Custom Thread Fields with this settings:
Title: Deine Fraktion (1vs1)
Key: repzha1
Description: Wähle Deine Armee --> für 1vs1
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 3


4. List for Fraktion (2vs2):
Create a Custom Thread Fields with this settings:
Title: Deine/Eure Fraktion (2vs2)
Key: repzha2
Description: Wähle Deine/Eure Armee --> für 2vs2
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 4


5. List for Fraktion (3vs3):
Create a Custom Thread Fields with this settings:
Title: Deine/Eure Fraktion (3vs3)
Key: repzha3
Description: Wähle Deine/Eure Armee --> für 3vs3
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 5


6. Textbox for Team 2:
   Create a Custom Thread Fields with this settings:
Title: Team 2
Key: repzht2
Applicable Forums: select forum you just added in the step above
Input Field Type: Textbox
Editable by / Required Field?: Everyone (required)
Display Order: 6


7. List for VS Player Fraktion (1vs1):
Create a Custom Thread Fields with this settings:
Title: Fraktion vom Gegner (1vs1)
Key: repzha4
Description: Wähle die Armee des Gegners --> für 1vs1
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 7


8. List for VS Player Fraktion (2vs2):
Create a Custom Thread Fields with this settings:
Title: Fraktion vom Gegner (2vs2)
Key: repzha5
Description: Wähle die Armee des Gegners --> für 2vs2
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 8


9. List for VS Player Fraktion (3vs3):
Create a Custom Thread Fields with this settings:
Title: Fraktion vom Gegner (3vs3)
Key: repzha6
Description: Wähle die Armee des Gegners --> für 3vs3
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
-
[usa]
[china]
[airforce]
[superweapon]
[laser]
[china]
[tank]
[infantry]
[nuke]
[gba]
[toxin]
[stealth]
[demolition]
Editable by / Required Field?: Everyone (required)
Display Order: 9


10. Listbox for Mapname:
Create a Custom Thread Fields with this settings:
Title : Mapname
Key: repzhmap
Description: Wähle die gespielte Map (nur offizielle Maps)
Applicable Forums: select forum you just added in the step above
Input Field Type: Listbox
Field Input Height: 1
Values List:
Alpine Assault (2 Player Map)
Barren Badlands (2 Player Map)
Bitter Winter (2 Player Map)
Bombardment Beach (2 Player Map)
Desert Fury (2 Player Map)
Dust Devil (2 Player Map)
Final Crusade (2 Player Map)
Flash Fire (2 Player Map)
Forgotten Forest ZH (2 Player Map)
Heartland Shield (2 Player Map)
Killing Fields (2 Player Map)
Leipzig Lowlands (2 Player Map)
North America (2 Player Map)
Sand Serpent (2 Player Map)
Seaside Mutiny (2 Player Map)
Silent River (2 Player Map)
The Frontline (2 Player Map)
Tournament Desert (2 Player Map)
Tournament Plains (2 Player Map)
Wasteland Warlords (2 Player Map)
Winding River (2 Player Map)
Winter Wolf (2 Player Map)
Cairo Commandos (3 Player Map)
Flash Effect (3 Player Map)
Bear Town Beatdown (4 Player Map)
Dark Mountain (4 Player Map)
Dark Night (4 Player Map)
Dogs Of War (4 Player Map)
Eastern Everglades (4 Player Map)
El Scorcho (4 Player Map)
Fallen Empire (4 Player Map)
Flooded Plains (4 Player Map)
Golden Oasis (4 Player Map)
Homeland Alliance (4 Player Map)
Lights Out (4 Player Map)
Lone Eagle (4 Player Map)
Manic Aggression (4 Player Map)
Mountain Fox (4 Player Map)
Overland Offensive (4 Player Map)
Rocky Rampage (4 Player Map)
Rogue Agent (4 Player Map)
Tournament A (4 Player Map)
Tournament B (4 Player Map)
Tournament Continent (4 Player Map)
Tournament Island (4 Player Map)
Tournament Lake (4 Player Map)
Tournament Tundra (4 Player Map)
Tournament Urban (4 Player Map)
Victory Valley (4 Player Map)
Mountain Guns (5 Player Map)
Defcon 6 (6 Player Map)
Free Fire Zone (6 Player Map)
Green Pastures (6 Player Map)
Hostile Dawn (6 Player Map)
Red Rock (6 Player Map)
Tournament City (6 Player Map)
Death Valley (8 Player Map)
Destruction Station (8 Player Map)
Fortress Avalanche (8 Player Map)
Iron Dragon (8 Player Map)
Twilight Flame (8 Player Map)
Whiteout (8 Player Map)
Editable by / Required Field?: Everyone (required)
Display Order: 10


11. Pic List for Maps:
Create a Custom Thread Fields with this settings:
Title: mapbild
Key: repzhmappic
Applicable Forums: select forum you just added in the step above
Input Field Type: File
Input Field Type: gif|png|jpg|jpeg
Maximum File Size: enter your value for the size of
Editable by / Required Field?: Everyone
Display Order: 11
Only Accept Image Files: YES
Minimum Image Dimensions: 90x60
Maximum Image Dimensions: 190x160
Image Thumbnail Generation: 90x60|190x160
Display Format:

PHP Code:
<img src="images/maps{repzhmap}" alt="{$thread['subject']}" title="{$GLOBALS['threadfields']['repzhmap']}" style="border: 2px solid #000000; padding: 3px; margin: 3px;" />

Hide Input Field: YES


Create New Templates:
Admin CP -> Templates & Style -> Templates -> Global Templates -> Add Templates

1. repzh_forumdisplay_sticky_sep

PHP Code:
1
2
3
4
5
6
7
8
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" align="center">
			<div><strong>wichtiger Hinweis</strong></div>
		</td>
	</tr>
</table>
<br />



2. repzh_forumdisplay_thread

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		<td>
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
				<tr>
					<td class="thead" align="left" colspan="{$colspan}">
						<div><strong style="color:#000;font-size:18px;"><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">Zu den Details =>=> {$thread['subject']}</a></strong></div>
					</td>
				</tr>
				<tr>
					
					<td class="bg_pic1" width="100%">
						<table border="0" width="100%">
							<tr>
								<td valign="top" width="220">Spielvariante</td>
								<td width="1" valign="top">:</td>
								<td valign="top">{$GLOBALS['threadfields']['repzhsv']}</td>
							</tr>
								<tr>
									<td valign="top" style="color:green;">Team 1</td>
									<td width="1" valign="top">:</td>
									<td valign="top" style="color:green;">{$GLOBALS['threadfields']['repzht1']}</td>
								</tr>							
								<tr>
									<td valign="top" style="color:red;">Team 2</td>
									<td width="1" valign="top">:</td>
									<td valign="top" style="color:red;">{$GLOBALS['threadfields']['repzht2']}</td>
								</tr>
							{$rating}
							<tr>
								<td valign="top">{$lang->author}</td>
								<td width="1" valign="top">:</td>
								<td valign="top">{$thread['profilelink']}</td>
							</tr>
							<tr>
								<td valign="top">{$lang->views}</td>
								<td width="1" valign="top">:</td>
								<td valign="top">{$thread['views']}</td>
							</tr>
							<tr>
								<td valign="top">{$lang->replies}</td>
								<td width="1" valign="top">:</td>
								<td valign="top"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
							</tr>
<tr><td></td><td></td>
					<td valign="top">
                                                        <span class="float_right smalltext">
							<img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" />
							{$icon}{$prefix}{$gotounread}
						        </span>

						<br class="clear" />
						<span class="float_right smalltext">
							<em><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>:
							{$lastposterlink}, {$lastpostdate} {$lastposttime}</em>
						</span>
						<br class="clear" />
						
					</td>
				</tr>
						</table>
					</td>
					{$modbit}
				</tr>
			</table>
		</td>		
	</tr>
</table>
<br />



3. repzh_forumdisplay_threadlist

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<br />
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" colspan="{$colspan}">
			<div align="left">
				<strong style="color:#fff;font-size:24px;">{$foruminfo['name']}</strong>
<span class="float_right"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong>{$inlinemodcol}</span>
			</div>
		</td>
	</tr>
</table>
<br class="clear" />
{$threads}{$nullthreads}
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>

<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder_" style="clear: both;">
	<tr>
		<td class="tcat" colspan="{$colspan}">
			<span class="float_right">
				<form action="forumdisplay.php" method="get">
					<input type="hidden" name="fid" value="{$fid}" />
					<select name="sortby">
						<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
						<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
						<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
						<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
						{$ratingsort}
						<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
						<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
					</select>
					<select name="order">
						<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
						<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
					</select>
					<select name="datecut">
						<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
						<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
						<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
						<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
						<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
						<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
						<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
						<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
						<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
					</select>
					{$gobutton}
				</form>
			</span>
			<span class="float_right">
				{$forumjump}
			</span>
		</td>
	</tr>	
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="text-align: right;">
	{$searchforum}
	{$inlinemod}
</div>
<div class="tfoot" align="center" colspan="{$colspan}" style="clear: both">
<strong><a href="http://mybbhacks.zingaburga.com">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a></strong>
</div>
<br style="clear: both" />
{$inline_edit_js}



4. repzh_forumdisplay_threadlist_rating

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
<a href="{$sorturl}&amp;sortby=rating&amp;order=desc">| {$lang->rating}</a> {$orderarrow['rating']}
<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
<script type="text/javascript">
<!--
	lang.stars = new Array();
	lang.stars[1] = "{$lang->one_star}";
	lang.stars[2] = "{$lang->two_stars}";
	lang.stars[3] = "{$lang->three_stars}";
	lang.stars[4] = "{$lang->four_stars}";
	lang.stars[5] = "{$lang->five_stars}";
// -->
</script>



5. repzh_forumdisplay_threads_sep

PHP Code:
1
2
3
4
5
6
7
8
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" align="center">
			<div><strong>----</strong></div>
		</td>
	</tr>
</table>
<br />



6. repzh_forumdisplay_thread_rating

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<tr>
	<td>Durchschnittliche Bewertung</td>
	<td>:</td>
	<td>
		<div class="float_left" id="rating_table_{$thread['tid']}">
			<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
				<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
			</ul>
			<script type="text/javascript">
			<!--
				Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' });
			// -->
			</script>
		</div>
	</td>
</tr>
<tr>
	<td>gesamte Stimmen</td>
	<td>:</td>
	<td>
		{$thread['numratings']}
	</td>
</tr>



7. repzh_postbit

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{$ignore_bit}<br />
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
                    <td class="tcat"><strong style="color:#fff;">Kommentare</strong> 
                      <tr>
                        <td class="trow1">
				<div class="float_left smalltext">
					{$post['onlinestatus']}
                                       <br /><strong><span class="smalltext">{$post['profilelink']}</span></strong> -
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}"></span>
				</div>
				{$post['posturl']}
			</td></td>
		</tr>

		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>
	</tbody>
</table>



8. repzh_postbit_first

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}background:#e6e6e6;padding-left:10px;border-right:1px solid #000;"><div align="center">Gespielte Map</div>
						<img src="images/maps/{$GLOBALS['threadfields']['repzhmap']}" alt="" title="{$GLOBALS['threadfields']['repzhmap']}" style="border: 2px solid #000000; padding: 3px; margin: 3px;" />   
                                                </td>
						<td class="post_author" style="padding-left:5px;">
							<table border="0" width="60%" class="smalltext" valign="middle">
								<tr>
									<td valign="top">Spielvariante</td>
									<td width="1" valign="top">:</td>
									<td valign="top">{$GLOBALS['threadfields']['repzhsv']}</td>
								</tr>
								<tr>
									<td valign="top" style="color:green;">Team 1</td>
									<td width="1" valign="top">:</td>
									<td valign="top" style="color:green;">{$GLOBALS['threadfields']['repzht1']}</td>
								</tr>
								<tr>
									<td valign="middle" style="color:green;">Armee</td>
									<td width="1" valign="middle">:</td>
									<td valign="top"><img src="images/armee_icons/{$GLOBALS['threadfields']['repzha1']}" alt="" title="{$GLOBALS['threadfields']['repzha1']}" style="padding: 3px; margin: 3px;" />  <img src="images/armee_icons/{$GLOBALS['threadfields']['repzha2']}" alt="" title="{$GLOBALS['threadfields']['repzha2']}" style="padding: 3px; margin: 3px;" /></a>  <img src="images/armee_icons/{$GLOBALS['threadfields']['repzha3']}" alt="" title="{$GLOBALS['threadfields']['pffrak3']}" style="padding: 3px; margin: 3px;" /></td>
								</tr>
								<tr>
									<td valign="top" style="color:red;">Team 2</td>
									<td width="1" valign="top">:</td>
									<td valign="top" style="color:red;">{$GLOBALS['threadfields']['repzht2']}</td>
								</tr>								
                                                                <tr>
									<td valign="middle" style="color:red;">Armee</td>
									<td width="1" valign="middle">:</td>
									<td valign="top"><img src="images/armee_icons/{$GLOBALS['threadfields']['repzha4']}" alt="" title="{$GLOBALS['threadfields']['repzha4']}" style="padding: 3px; margin: 3px;" />  <img src="images/armee_icons/{$GLOBALS['threadfields']['repzha5']}" alt="" title="{$GLOBALS['threadfields']['repzha5']}" style="padding: 3px; margin: 3px;" />  <img src="images/armee_icons/{$GLOBALS['threadfields']['repzha6']}" alt="" title="{$GLOBALS['threadfields']['repzha6']}" style="padding: 3px; margin: 3px;" /></td>
								</tr>
                                                               &nbsp;<tr>
									<td valign="top">Mapname</td>
									<td width="1" valign="top">:</td>
									<td valign="top">{$GLOBALS['threadfields']['repzhmap']}</td>
								</tr>							
								<tr>
									<td valign="top">Beitragsersteller</td>
									<td width="1" valign="top">:</td>
									<td valign="top">{$post['profilelink']}</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
				<div class="largetext" align="center" style="border-bottom:1px solid #000;"><strong>Thema : {$post['subject']}</strong></div>

				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_left">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
				</div>
				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>
	</tbody>
</table>



9. repzh_showthread

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
<style type="text/css">
<!--
a:hover {
	color: #FFFFFF;
}
body,td,th {
	font-size: 12px;
}
-->
</style>
</head>
<body>
{$header}
{$pollbox}
<div class="float_right">
	{$newreply}
</div><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="clear: both; border-bottom-width: 0;">
	<tr>
		<td width="60%" valign="top">
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
				<tr>
					<td class="thead" colspan="2">
						<div style="float: right;">
							<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
						</div>
						<div>
							<strong>Übersicht des {$GLOBALS['threadfields']['repzhsv']} Spieles</strong>
						</div>
                                        </td>
				</tr>
				{$classic_header}
			</table>
{$ratethread}
                        <div>
				{$first_post}
			</div>
			<div align="center">
				<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
			</div>

			<div><strong>Kommentare</strong></div>
			<div id="posts">
				{$posts}
			</div>
			<div>
				{$multipage}
			</div>
		</td>		
	</tr>
</table>
<div class="float_right">
	{$newreply}
</div><br />
<br style="clear: both;" />
{$threadexbox}
{$similarthreads}
{$quickreply}
<br />
<div class="float_left">
	<ul class="thread_tools">
		<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
		<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
		<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
	</ul>
</div>
<div class="float_right" style="text-align: right;">
	{$moderationoptions}
	{$forumjump}
</div>
<br style="clear: both;" />
{$footer}
</body>
</html>



10. repzh_showthread_ratethread

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead">
			<div><strong>Bewerte das {$GLOBALS['threadfields']['repzhsv']} Spiel</strong></div>
		</td>
	</tr>
	<tr>
		<td class="trow1" align="left">
			<table width="100%" border="0">
				<tr>
					<td width="220">Durchschnittliche Bewertung</td>
					<td width="1">:</td>
					<td>
						<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
						<div class="inline_rating">
							<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
								<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
								<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}">1</a></li>
								<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}">2</a></li>
								<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}">3</a></li>
								<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}">4</a></li>
								<li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}">5</a></li>
							</ul>
						</div>
					</td>
				</tr>
				<tr>
					<td>gesamte Stimmen</td>
					<td width="1">:</td>
					<td>{$thread['numratings']}</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br class="clear" />



11. repzh_showthread_search

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<br class="clear" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead">
			<div><strong>Suchen</strong></div>
		</td>
	</tr>
	<tr>
		<td class="trow1" align="center">
			<form action="search.php" method="post">
				<input type="hidden" name="action" value="thread" />
				<input type="hidden" name="tid" value="{$thread['tid']}" />
				<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
				<input type="submit" class="button" value="{$lang->search_thread}" />
			</form>
		</td>
	</tr>
</table>



The Prefix for the Forum: repzh_
Show first post on every showthread page: YES
Enable XThreads' Inline Forum Search: YES
Override Posts Per Page: 5




Result: View Attachment


Thanks



Attached File(s) Thumbnail(s)
           
06-09-2012 10:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Display for Game Replay - MrBrechreiz - 06-09-2012 10:26 AM
RE: Display for Game Replay - RateU - 06-10-2012, 06:57 AM
RE: Display for Game Replay - MrBrechreiz - 06-10-2012, 07:16 AM
RE: Display for Game Replay - RateU - 06-10-2012, 07:33 AM
RE: Display for Game Replay - XPMai - 06-14-2015, 02:17 AM
RE: Display for Game Replay - MrBrechreiz - 09-24-2015, 03:44 PM

 Standard Tools
Forum Jump: