phd_angel Posted June 22, 2021 Share Posted June 22, 2021 When I need to see whether a player has a second nationality (that would meet registration requirements), I need to search under information. It would be a time saver to have second nationality visible in the front page of the player's profile. Thanks. Link to post Share on other sites More sharing options...
Tyburn Posted July 2, 2021 Share Posted July 2, 2021 (edited) @phd_angel You can add the following code to "player personal details panel" found in "your skin"/panels/player (or anywhere in a custom skin on the player screen that may have this widget): Spoiler <!-- Nationality --> <!--Second Nationality --> <container> <layout class="fit_children_attachment" alignment="vertical" offset="0" /> <layout class="arrange_horizontal_attachment" alignment="left,extend" offset="0" gap="2" /> <layout class="stick_to_sides_attachment" alignment="top" apply_to_children="true" inset="0" /> <widget class="editable_client_object_property_panel" id="intc" auto_size="all"> <record id="widget_info" class="nation_button" icon_enabled="false" auto_size="all" size="10" style="bold"/> <record id="widget_properties" auto_size="all" /> <record id="object_property" dont_set_hint="true" get_property="PNat"> <list id="get_properties"> <record> <integer id="get_property" value="objt" /> <integer id="set_property" value="Pers" /> </record> </list> </record> </widget> <widget class="text" auto_size="all" size="small" text="/" > <record id="object_property" set_property="Shwn" get_property="PHsn" /> </widget> <widget class="editable_client_object_property_panel" id="insc" auto_size="all"> <record id="widget_info" class="nation_button" icon_enabled="false" auto_size="all" size="10" style="bold" /> <record id="widget_properties" auto_size="all" /> <record id="object_property" dont_set_hint="true" get_property="Psnt"> <list id="get_properties"> <record> <integer id="get_property" value="objt" /> <integer id="set_property" value="Pers" /> </record> </list> </record> </widget> <widget class="text" auto_size="all" size="small" text="-" > <record id="object_property" set_property="Shwn" get_property="PHsn" /> </widget> <!--Born in location--> <widget class="client_object_label" id="cits" size="small" auto_size="all" colour="text" style="italic" > <layout class="stick_to_sides_attachment" alignment="top" inset="1"/> <layout class="stick_to_sides_attachment" alignment="right" inset="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" /> <record id="object_property"> <list id="get_properties"> <record> <integer id="get_property" value="Pcob" /> </record> </list> </record> </widget> </container> Remove the <!-- Nationality --> container already in there and put the above code in it's place. As an extra bonus you get the player's birthplace too. Edited July 5, 2021 by Tyburn 1 Link to post Share on other sites More sharing options...
phd_angel Posted July 2, 2021 Author Share Posted July 2, 2021 Thanks for your suggestion, but I'd much rather the SI development team could code this patch into the game... Link to post Share on other sites More sharing options...
SI Staff Abdullah Patel Posted July 16, 2021 SI Staff Share Posted July 16, 2021 we've reviewed and locked your request. Thank you for taking the time to input it Link to post Share on other sites More sharing options...
Recommended Posts