06-09-2012, 10:26 AM
This is my first xthread mod tutorial. (please do not judge so severe)
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:
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:
|
Hide Input Field: YES
Create New Templates:
Admin CP -> Templates & Style -> Templates -> Global Templates -> Add Templates
1. repzh_forumdisplay_sticky_sep
PHP Code:
|
2. repzh_forumdisplay_thread
PHP Code:
|
3. repzh_forumdisplay_threadlist
PHP Code:
|
4. repzh_forumdisplay_threadlist_rating
PHP Code:
|
5. repzh_forumdisplay_threads_sep
PHP Code:
|
6. repzh_forumdisplay_thread_rating
PHP Code:
|
7. repzh_postbit
PHP Code:
|
8. repzh_postbit_first
PHP Code:
|
9. repzh_showthread
PHP Code:
|
10. repzh_showthread_ratethread
PHP Code:
|
11. repzh_showthread_search
PHP Code:
|
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