This repository was archived by the owner on Jan 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_ogame_mod.xml
More file actions
637 lines (619 loc) · 32.8 KB
/
install_ogame_mod.xml
File metadata and controls
637 lines (619 loc) · 32.8 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
<header>
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
<title lang="en"><![CDATA[OGame-Mod]]></title>
<description lang="en"><![CDATA[Adds some features for player of OGame.
Features:
• connect Userprofile with GameForge-Portal
• connect Userprofile with CR-Hosting-Portal
• prettify CR-Hosting-Links
• prettify espionage reports ([based on ScannBB] working for ogame <dot> ar|br|cz|de|dk|es|fi|fr|hr|hr|hu|it|lt|lv|mx|nl|no|org|pt|ro|sk|se]]></description>
<description lang="de"><![CDATA[Ergänzt das Forum mit einigen Features für OGame-Spieler.
Features:
• Benutzerprofil mit dem GameForge-Portal verbinden
• Benutzerprofil mit KB-Hosting verbinden
• KB-Hosting-Link verschönert eingebunden
• Spionageberichte verschönert eingebunden]]></description>
<author-notes lang="en"><![CDATA[ScannBB developer / maintainer: eXochron (aka skYforge) & Pionier]]></author-notes>
<author-group>
<author>
<realname><![CDATA[Falk Seidel]]></realname>
<username><![CDATA[Unimatrix_0]]></username>
<homepage><![CDATA[http://un1matr1x.de]]></homepage>
<email><![CDATA[admin@un1matr1x.de]]></email>
</author>
</author-group>
<mod-version>1.1.3</mod-version>
<installation>
<level>intermediate</level>
<time>1800</time>
<target-version>3.0.8</target-version>
</installation>
<history>
<entry>
<date>2011-01-09</date>
<rev-version>0.0.1 -dev</rev-version>
<changelog lang="en">
<change><![CDATA[First release]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[Erstes Release]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-12</date>
<rev-version>0.0.2 -dev</rev-version>
<changelog lang="en">
<change><![CDATA[add G-Card-support]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[G-Card-Support hinzugefügt]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-15</date>
<rev-version>0.0.3 -dev</rev-version>
<changelog lang="en">
<change><![CDATA[ACP-Module added]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[Administrationsmodul hinzugefügt]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-16</date>
<rev-version>0.1.0</rev-version>
<changelog lang="en">
<change><![CDATA[prettify CR-Hosting-Links]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[KB-Hosting-Link verschönert eingebunden]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-21</date>
<rev-version>0.2.0</rev-version>
<changelog lang="en">
<change><![CDATA[prettify espionage reports (based on ScannBB)]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[Spionageberichte verschönert eingebunden (basiert auf ScannBB)]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-22</date>
<rev-version>0.2.1</rev-version>
<changelog lang="en">
<change><![CDATA[more ACP-Settings added]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[weitere administrative Optionen hinzugefügt]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-23</date>
<rev-version>0.2.2</rev-version>
<changelog lang="en">
<change><![CDATA[Support for espionage reports raised]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[Support für Spionageberichte erhöht]]></change>
</changelog>
</entry>
<entry>
<date>2011-01-30</date>
<rev-version>0.2.3</rev-version>
<changelog lang="en">
<change><![CDATA[more ACP-Settings added]]></change>
</changelog>
<changelog lang="de">
<change><![CDATA[weitere administrative Optionen hinzugefügt]]></change>
</changelog>
</entry>
<entry>
<date>2011-02-03</date>
<rev-version>1.0.0</rev-version>
<changelog lang="en">
<change><![CDATA[validate MOD for phpBB3 Database (tested with MPV)]]></change>
</changelog>
</entry>
<entry>
<date>2011-02-11</date>
<rev-version>1.1.0</rev-version>
<changelog lang="en">
<change><![CDATA[SubSilver2 added]]></change>
</changelog>
</entry>
<entry>
<date>2011-03-01</date>
<rev-version>1.1.1</rev-version>
<changelog lang="en">
<change><![CDATA[validate MOD for phpBB3 Database (tested with MPV)]]></change>
</changelog>
</entry>
<entry>
<date>2011-03-25</date>
<rev-version>1.1.2</rev-version>
<changelog lang="en">
<change><![CDATA[more validate MOD for phpBB3 Database (tested with MPV)]]></change>
</changelog>
</entry>
<entry>
<date>2011-04-07</date>
<rev-version>1.1.3</rev-version>
<changelog lang="en">
<change><![CDATA[another try to make it a more validate MOD for phpBB3 Database (tested with MPV)]]></change>
</changelog>
</entry>
<entry>
<date>2011-05-15</date>
<rev-version>1.1.4</rev-version>
<changelog lang="en">
<change><![CDATA[bugfixing for mdb]]></change>
</changelog>
</entry>
</history>
<link-group>
<link type="language" href="contrib/de.xml" lang="en">Manual for German Language-set</link>
<link type="template" href="contrib/subsilver2.xml" lang="en">Manual for subsilver2 Style</link>
<link type="template" href="contrib/Flow.xml" lang="en">Manual for Flow Style</link>
<link type="contrib" href="contrib/MoreEspionage.xml" lang="en">Support more languages for prettify espionage reports</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/cr_image.php" to="cr_image.php"/>
<file from="root/adm/mods/ogame_mod_version.php" to="adm/mods/ogame_mod_version.php"/>
<file from="root/adm/style/acp_ogame.html" to="adm/style/acp_ogame.html"/>
<file from="root/images/ogame/cr.png" to="images/ogame/cr.png"/>
<file from="root/images/ogame/cr_no_gd.png" to="images/ogame/cr_no_gd.png"/>
<file from="root/images/ogame/liberationsans-bold.ttf" to="images/ogame/liberationsans-bold.ttf"/>
<file from="root/includes/functions_ogame.php" to="includes/functions_ogame.php"/>
<file from="root/includes/acp/acp_ogame.php" to="includes/acp/acp_ogame.php"/>
<file from="root/includes/acp/info/acp_ogame.php" to="includes/acp/info/acp_ogame.php"/>
<file from="root/install/index.php" to="install/index.php"/>
<file from="root/language/en/mods/info_acp_ogame.php" to="language/en/mods/info_acp_ogame.php"/>
<file from="root/language/en/mods/ogame_scanpattern.php" to="language/en/mods/ogame_scanpattern.php"/>
<file from="root/styles/prosilver/imageset/icon_contact_mmogame.gif" to="styles/prosilver/imageset/icon_contact_mmogame.gif"/>
<file from="root/styles/prosilver/imageset/icon_contact_cr_hosting.gif" to="styles/prosilver/imageset/icon_contact_cr_hosting.gif"/>
<file from="root/styles/prosilver/theme/ogame.css" to="styles/prosilver/theme/ogame.css"/>
<file from="root/umil/*.*" to="umil/*.*"/>
</copy>
<open src="memberlist.php">
<edit>
<find><![CDATA[// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup(array('memberlist', 'groups'));]]></find>
<action type="after-add"><![CDATA[// Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'MMOGAME_IMG' => (isset($config['ogm_version']) && ($config['ogame_mmogame_show']) ? $user->img('icon_contact_mmogame', 'MMOGAME') : ''),
'CR_HOSTING_IMG' => (isset($config['ogm_version']) && ($config['ogame_cr_hosting_show']) ? $user->img('icon_contact_cr_hosting', 'CR_HOSTING') : ''),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'JABBER' => $jabber,]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'MMOGAME' => $mmogame,
'CR_HOSTING' => $cr_hosting,
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'MMOGAME' => (isset($config['ogm_version']) && ($row['user_mmogame'] && $config['ogame_mmogame_show']) ? 'http://gameforge.com/clickGCard/' . $row['user_mmogame'] : ''),
'MMOGAME_CARD' => (isset($config['ogm_version']) && ($row['user_mmogame'] && $config['ogame_mmogame_show']) ? '<img alt="" ismap="ismap" src="http://gameforge.com/GCard/' . (($config['ogame_mmogame_card_style']) ? '1' : '2') . '/' . $row['user_mmogame'] . '.png" />' : ''),
'CR_HOSTING' => (isset($config['ogm_version']) && ($row['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? 'http://kb.un1matr1x.de/memberlist.php?mode=viewprofile&u=' . $row['user_cr_hosting'] : ''),
'CR_HOSTING_SIGI' => (isset($config['ogm_version']) && ($row['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? '<img alt="" src="http://kb.un1matr1x.de/images/banner/banner.' . $row['user_cr_hosting'] . '.en.gif" />' : ''),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'USER_ICQ' => $data['user_icq'],]]></find>
<action type="before-add"><![CDATA[ // Begin OGame-Mod
'U_MMOGAME' => (isset($config['ogm_version']) && ($data['user_mmogame'] && $config['ogame_mmogame_show']) ? 'http://gameforge.com/clickGCard/' . urlencode($data['user_mmogame']) : ''),
'U_MMOGAME_CARD' => (isset($config['ogm_version']) && ($data['user_mmogame'] && $config['ogame_mmogame_show'] && $config['ogame_mmogame_card_profile_show']) ? '<img alt="" ismap="ismap" src="http://gameforge.com/GCard/' . (($config['ogame_mmogame_card_style']) ? '1' : '2') . '/' . urlencode($data['user_mmogame']) . '.png" />' : ''),
'U_MMOGAME_STYLE' => (isset($config['ogm_version']) && ($config['ogame_mmogame_card_style']) ? true : false),
'U_CR_HOSTING' => (isset($config['ogm_version']) && ($data['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? 'http://kb.un1matr1x.de/memberlist.php?mode=viewprofile&u=' . urlencode($data['user_cr_hosting']) : ''),
'U_CR_HOSTING_SIGI' => (isset($config['ogm_version']) && ($data['user_cr_hosting'] && $config['ogame_cr_hosting_show'] && $config['ogame_cr_hosting_card_profile_show']) ? '<img alt="" src="http://kb.un1matr1x.de/images/banner/banner.' . urlencode($data['user_cr_hosting']) . '.en.gif" />' : ''),
// End OGame-Mod]]></action>
</edit>
</open>
<open src="viewtopic.php">
<edit>
<find><![CDATA[// Start session management
$user->session_begin();
$auth->acl($user->data);]]></find>
<action type="after-add"><![CDATA[// Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'JABBER_IMG' => $user->img('icon_contact_jabber', 'JABBER') ,]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'MMOGAME_IMG' => (isset($config['ogm_version']) && ($config['ogame_mmogame_show']) ? $user->img('icon_contact_mmogame', 'MMOGAME') : ''),
'CR_HOSTING_IMG' => (isset($config['ogm_version']) && ($config['ogame_cr_hosting_show']) ? $user->img('icon_contact_cr_hosting', 'CR_HOSTING') : ''),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'yim' => '',
'jabber' => '',]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => '',
'mmogame_card' => '',
'cr_hosting' => '',
'cr_hosting_sigi' => '',
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '',]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => (isset($config['ogm_version']) && ($row['user_mmogame'] && $config['ogame_mmogame_show']) ? 'http://gameforge.com/clickGCard/' . $row['user_mmogame'] : ''),
'mmogame_card' => (isset($config['ogm_version']) && ($row['user_mmogame'] && $config['ogame_mmogame_show']) ? '<img alt="" ismap="ismap" src="http://gameforge.com/GCard/' . (($config['ogame_mmogame_card_style']) ? '1' : '2') . '/' . $row['user_mmogame'] . '.png" />' : ''),
'cr_hosting' => (isset($config['ogm_version']) && ($row['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? 'http://kb.un1matr1x.de/memberlist.php?mode=viewprofile&u=' . $row['user_cr_hosting'] : ''),
'cr_hosting_sigi' => (isset($config['ogm_version']) && ($row['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? '<img alt="" src="http://kb.un1matr1x.de/images/banner/banner.' . $row['user_cr_hosting'] . '.en.gif" />' : ''),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'U_JABBER' => $user_cache[$poster_id]['jabber'],]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'U_MMOGAME' => (isset($config['ogm_version'])) ? ($user_cache[$poster_id]['mmogame']) : '',
'U_MMOGAME_CARD' => (isset($config['ogm_version'])) ? ($user_cache[$poster_id]['mmogame_card']) : '',
'U_MMOGAME_STYLE' => (isset($config['ogm_version'])) ? (($config['ogame_mmogame_card_style']) ? true : false) : '',
'U_MMOGAME_MOUSEOVER_SHOW' => (isset($config['ogm_version'])) ? (($config['ogame_mmogame_card_mouseover_show']) ? true : false) : '',
'U_CR_HOSTING' => (isset($config['ogm_version'])) ? ($user_cache[$poster_id]['cr_hosting']) : '',
'U_CR_HOSTING_SIGI' => (isset($config['ogm_version'])) ? ($user_cache[$poster_id]['cr_hosting_sigi']) : '',
'CR_HOSTING_MOUSEOVER_SHOW' => (isset($config['ogm_version'])) ? (($config['ogame_cr_hosting_card_mouseover_show']) ? true : false) : '',
// End OGame-Mod]]></action>
</edit>
</open>
<open src="adm/style/acp_users_profile.html">
<edit>
<find><![CDATA[ <dl>
<dt><label for="website">{L_WEBSITE}:</label></dt>
<dd><input type="text" id="website" name="website" value="{WEBSITE}" /></dd>
</dl>]]></find>
<action type="after-add"><![CDATA[ <!-- OGame-Mod B -->
<dl>
<dt><label for="mmogame">{L_MMOGAME}:</label></dt>
<dd><input type="text" id="mmogame" name="mmogame" value="{MMOGAME}" /></dd>
</dl>
<dl>
<dt><label for="cr_hosting">{L_CR_HOSTING}:</label></dt>
<dd><input type="text" id="cr_hosting" name="cr_hosting" value="{CR_HOSTING}" /></dd>
</dl>
<!-- OGame-Mod E -->]]></action>
</edit>
</open>
<open src="includes/functions_content.php">
<edit>
<find><![CDATA[ // set last_char to empty here, so the variable can be used later to
// check whether a character was removed
default:
$last_char = '';
break;
}
$short_url = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;]]></find>
<inline-edit>
<inline-find><![CDATA[ $short_url = (strlen($url) > 55]]></inline-find>
<inline-action type="after-add"><![CDATA[ && (substr($url,0,30) != 'http://kb.un1matr1x.de/kb.php?')]]></inline-action>
</inline-edit>
</edit>
<edit>
<find><![CDATA[/**
* Censoring
*/
function censor_text($text)
{
static $censors;]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
global $config, $phpbb_root_path, $phpEx;
if (isset($config['ogm_version']))
{
include($phpbb_root_path . 'includes/functions_ogame.' . $phpEx);
}
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ // We moved the word censor checks in here because we call this function quite often - and then only need to do the check once
if (!isset($censors) || !is_array($censors))
{
global $config, $user, $auth, $cache;]]></find>
<inline-edit>
<inline-find><![CDATA[global $config,]]></inline-find>
<inline-remove><![CDATA[ $config,]]></inline-remove>
</inline-edit>
</edit>
</open>
<open src="includes/acp/acp_language.php">
<edit>
<find><![CDATA[ $valid_localized = array(
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',]]></find>
<inline-edit>
<inline-find><![CDATA['icon_back_top',]]></inline-find>
<inline-action type="after-add"><![CDATA['icon_contact_mmogame', 'icon_contact_cr_hosting', ]]></inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/acp/acp_styles.php">
<edit>
<find><![CDATA[ $user->add_lang('acp/styles');]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'buttons' => array(
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',]]></find>
<inline-edit>
<inline-find><![CDATA['icon_back_top',]]></inline-find>
<inline-action type="after-add"><![CDATA[ 'icon_contact_mmogame', 'icon_contact_cr_hosting',]]></inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/acp/acp_users.php">
<edit>
<find><![CDATA[ $user->add_lang(array('posting', 'ucp', 'acp/users'));]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'jabber' => utf8_normalize_nfc(request_var('jabber', $user_row['user_jabber'], true)),]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => request_var('mmogame', $user_row['user_mmogame']),
'cr_hosting' => request_var('cr_hosting', $user_row['user_cr_hosting']),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ if ($submit)
{
$error = validate_data($data, array(]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => array(
array('string', true, 1, 20),
array('match', true, '#^[0-9]+$#i')),
'cr_hosting' => array(
array('string', true, 1, 20),
array('match', true, '#^[0-9]+$#i')),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'user_yim' => $data['yim'],]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'user_mmogame' => $data['mmogame'],
'user_cr_hosting' => $data['cr_hosting'],
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ $template->assign_vars(array(
'ICQ' => $data['icq'],]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'MMOGAME' => $data['mmogame'],
'CR_HOSTING' => $data['cr_hosting'],
// End OGame-Mod]]></action>
</edit>
</open>
<open src="includes/ucp/ucp_pm_viewmessage.php">
<edit>
<find><![CDATA[ $user->add_lang(array('viewtopic', 'memberlist'));]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ 'U_JABBER' => ($user_info['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $author_id) : '',]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'U_MMOGAME' => (isset($config['ogm_version']) && ($user_info['user_mmogame'] && $config['ogame_mmogame_show']) ? 'http://gameforge.com/clickGCard/' . urlencode($user_info['user_mmogame']) : ''),
'U_MMOGAME_CARD' => (isset($config['ogm_version']) && ($user_info['user_mmogame'] && $config['ogame_mmogame_show']) ? '<img alt="" ismap="ismap" src="http://gameforge.com/GCard/' . (($config['ogame_mmogame_card_style']) ? '1' : '2') . '/' . urlencode($user_info['user_mmogame']) . '.png" />' : ''),
'U_MMOGAME_STYLE' => (isset($config['ogm_version']) && ($config['ogame_mmogame_card_style']) ? true : false),
'U_MMOGAME_MOUSEOVER_SHOW' => (isset($config['ogm_version']) && ($config['ogame_mmogame_card_mouseover_show']) ? true : false),
'U_CR_HOSTING' => (isset($config['ogm_version']) && ($user_info['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? 'http://kb.un1matr1x.de/memberlist.php?mode=viewprofile&u=' . urlencode($user_info['user_cr_hosting']) : ''),
'U_CR_HOSTING_SIGI' => (isset($config['ogm_version']) && ($user_info['user_cr_hosting'] && $config['ogame_cr_hosting_show']) ? '<img alt="" src="http://kb.un1matr1x.de/images/banner/banner.' . urlencode($user_info['user_cr_hosting']) . '.en.gif" />' : ''),
'CR_HOSTING_MOUSEOVER_SHOW' => (isset($config['ogm_version']) && ($config['ogame_cr_hosting_card_mouseover_show']) ? true : false),
// End OGame-Mod]]></action>
</edit>
</open>
<open src="includes/ucp/ucp_profile.php">
<edit>
<find><![CDATA[ $user->add_lang('posting');]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
$user->add_lang('mods/info_acp_ogame');
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ $data = array(
'icq' => request_var('icq', $user->data['user_icq']),]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => (isset($config['ogm_version'])) ? (request_var('mmogame', $user->data['user_mmogame'])) : '',
'cr_hosting' => (isset($config['ogm_version'])) ? (request_var('cr_hosting', $user->data['user_cr_hosting'])) : '',
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ if ($submit)
{
$validate_array = array(]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'mmogame' => array(
array('string', true, 1, 20),
array('match', true, '#^[0-9]+$#i')),
'cr_hosting' => array(
array('string', true, 1, 20),
array('match', true, '#^[0-9]+$#i')),
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ $sql_ary = array(
'user_icq' => $data['icq'],]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'user_mmogame' => $data['mmogame'],
'user_cr_hosting' => $data['cr_hosting'],
// End OGame-Mod]]></action>
</edit>
<edit>
<find><![CDATA[ $template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'ICQ' => $data['icq'],]]></find>
<action type="after-add"><![CDATA[ // Begin OGame-Mod
'SHOW_MMOGAME' => (isset($config['ogm_version'])) ? ($config['ogame_mmogame_show']) : '',
'MMOGAME' => (isset($config['ogm_version'])) ? ($data['mmogame']) : '',
'SHOW_CR_HOSTING' => (isset($config['ogm_version'])) ? ($config['ogame_cr_hosting_show']) : '',
'CR_HOSTING' => (isset($config['ogm_version'])) ? ($data['cr_hosting']) : '',
// End OGame-Mod]]></action>
</edit>
</open>
<open src="styles/prosilver/imageset/imageset.cfg">
<edit>
<find><![CDATA[img_icon_contact_www = icon_contact_www.gif*20*20]]></find>
<action type="before-add"><![CDATA[# Begin OGame-Mod
img_icon_contact_cr_hosting = icon_contact_cr_hosting.gif*20*20
img_icon_contact_mmogame = icon_contact_mmogame.gif*20*20
# End OGame-Mod]]></action>
</edit>
</open>
<open src="styles/prosilver/template/memberlist_view.html">
<edit>
<find><![CDATA[ <!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}:</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}:</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[ <!-- OGame-Mod B -->
<!-- IF U_MMOGAME or USER_MMOGAME --><dt>{L_MMOGAME}:</dt> <dd><a href="{U_MMOGAME}">{L_VIEW_MMOGAME}</a></dd><!-- ENDIF -->
<!-- IF U_CR_HOSTING or USER_CR_HOSTING --><dt>{L_CR_HOSTING}:</dt> <dd><a href="{U_CR_HOSTING}">{L_VIEW_CR_HOSTING}</a></dd><!-- ENDIF -->
<!-- OGame-Mod E -->]]></action>
</edit>
<edit>
<find><![CDATA[<!-- IF SIGNATURE -->
<div class="panel bg1">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_SIGNATURE}</h3>
<div class="postbody"><div class="signature" style="border-top:none; margin-top: 0;">{SIGNATURE}</div></div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[<!-- OGame-Mod B -->
<!-- IF U_MMOGAME_CARD or U_CR_HOSTING_SIGI -->
<div class="panel bg<!-- IF SIGNATURE -->2<!-- ELSE -->1<!-- ENDIF -->">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- IF U_MMOGAME_CARD -->
<div class="column1">
<h3>{L_MMOGAME}</h3>
<a href="{U_MMOGAME}" title="{L_MMOGAME}">{U_MMOGAME_CARD}</a>
</div>
<!-- ENDIF -->
<!-- IF U_CR_HOSTING_SIGI -->
<div class="column<!-- IF U_MMOGAME_CARD -->2<!-- ELSE -->1<!-- ENDIF -->">
<h3>{L_CR_HOSTING}</h3>
<a href="{U_CR_HOSTING}" title="{L_CR_HOSTING}">{U_CR_HOSTING_SIGI}</a>
</div>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- OGame-Mod E -->]]></action>
</edit>
</open>
<open src="styles/prosilver/template/ucp_pm_viewmessage.html">
<edit>
<find><![CDATA[ <!-- IF AUTHOR_JOINED --><dd><strong>{L_JOINED}:</strong> {AUTHOR_JOINED}</dd><!-- ENDIF -->
<!-- IF AUTHOR_FROM --><dd><strong>{L_LOCATION}:</strong> {AUTHOR_FROM}</dd><!-- ENDIF -->
<!-- IF U_PM or U_EMAIL or U_WWW or U_MSN or U_ICQ or U_YIM or U_AIM or U_JABBER -->]]></find>
<inline-edit>
<inline-find><![CDATA[ <!-- IF U_PM or U_EMAIL or U_WWW or ]]></inline-find>
<inline-action type="after-add"><![CDATA[U_MMOGAME or U_CR_HOSTING or ]]></inline-action>
</inline-edit>
</edit>
<edit>
<find><![CDATA[ <dd>
<ul class="profile-icons">
<!-- IF U_PM --><li class="pm-icon"><a href="{U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
<!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}"><span>{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</span></a></li><!-- ENDIF -->
<!-- IF U_WWW --><li class="web-icon"><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->]]></find>
<comment lang="en"><![CDATA[If you want it to show at another place move this lines betwenn:
<ul class="profile-icons">
</ul>]]></comment>
<action type="after-add"><![CDATA[ <!-- OGame-Mod B -->
<!-- IF U_MMOGAME --><li class="mmogame-icon"><a href="{U_MMOGAME}" title="{L_MMOGAME}"<!-- IF U_MMOGAME_MOUSEOVER_SHOW --> class="mmogame-span<!-- IF not U_MMOGAME_STYLE --> just_move<!-- ENDIF -->"<!-- ENDIF -->><span><!-- IF U_MMOGAME_MOUSEOVER_SHOW -->{U_MMOGAME_CARD}<!-- ELSE -->{L_MMOGAME}<!-- ENDIF --></span></a></li><!-- ENDIF -->
<!-- IF U_CR_HOSTING --><li class="cr_hosting-icon"><a href="{U_CR_HOSTING}" title="{L_CR_HOSTING}"<!-- IF CR_HOSTING_MOUSEOVER_SHOW --> class="cr-hosting-span"<!-- ENDIF -->><span><!-- IF CR_HOSTING_MOUSEOVER_SHOW -->{U_CR_HOSTING_SIGI}<!-- ELSE -->{L_CR_HOSTING}<!-- ENDIF --></span></a></li><!-- ENDIF -->
<!-- OGame-Mod E -->]]></action>
</edit>
</open>
<open src="styles/prosilver/template/ucp_profile_profile_info.html">
<edit>
<find><![CDATA[ <dl>
<dt><label for="jabber">{L_UCP_JABBER}:</label></dt>
<dd><input type="text" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
</dl>
<dl>
<dt><label for="website">{L_WEBSITE}:</label></dt>
<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
</dl>]]></find>
<action type="after-add"><![CDATA[ <!-- OGame-Mod B -->
<!-- IF SHOW_MMOGAME -->
<dl>
<dt><label for="mmogame">{L_UCP_MMOGAME}:</label><br /><span>{L_MMOGAME_EXPLAIN}</span></dt>
<dd><input type="text" name="mmogame" id="mmogame" maxlength="15" value="{MMOGAME}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
<!-- IF SHOW_CR_HOSTING -->
<dl>
<dt><label for="cr_hosting">{L_UCP_CR_HOSTING}:</label><br /><span>{L_CR_HOSTING_EXPLAIN}</span></dt>
<dd><input type="text" name="cr_hosting" id="cr_hosting" maxlength="15" value="{CR_HOSTING}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
<!-- OGame-Mod E -->]]></action>
</edit>
</open>
<open src="styles/prosilver/template/viewtopic_body.html">
<edit>
<find><![CDATA[ <!-- BEGIN custom_fields -->
<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- END custom_fields -->
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->]]></find>
<inline-edit>
<inline-find><![CDATA[<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or ]]></inline-find>
<inline-action type="after-add"><![CDATA[postrow.U_MMOGAME or postrow.U_CR_HOSTING or ]]></inline-action>
</inline-edit>
</edit>
<edit>
<find><![CDATA[ <dd>
<ul class="profile-icons">
<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->]]></find>
<comment lang="en"><![CDATA[If you want it to show at another place move this lines betwenn:
<ul class="profile-icons">
</ul>]]></comment>
<action type="after-add"><![CDATA[ <!-- OGame-Mod B -->
<!-- IF postrow.U_MMOGAME --><li class="mmogame-icon"><a href="{postrow.U_MMOGAME}" title="{L_MMOGAME}"<!-- IF postrow.U_MMOGAME_MOUSEOVER_SHOW --> class="mmogame-span<!-- IF not postrow.U_MMOGAME_STYLE --> just_move<!-- ENDIF -->"<!-- ENDIF -->><span><!-- IF postrow.U_MMOGAME_MOUSEOVER_SHOW -->{postrow.U_MMOGAME_CARD}<!-- ELSE -->{L_MMOGAME}<!-- ENDIF --></span></a></li><!-- ENDIF -->
<!-- IF postrow.U_CR_HOSTING --><li class="cr_hosting-icon"><a href="{postrow.U_CR_HOSTING}" title="{L_CR_HOSTING}"<!-- IF postrow.CR_HOSTING_MOUSEOVER_SHOW --> class="cr-hosting-span"<!-- ENDIF -->><span><!-- IF postrow.CR_HOSTING_MOUSEOVER_SHOW -->{postrow.U_CR_HOSTING_SIGI}<!-- ELSE -->{L_CR_HOSTING}<!-- ENDIF --></span></a></li><!-- ENDIF -->
<!-- OGame-Mod E -->]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/stylesheet.css">
<edit>
<find><![CDATA[@import url("colours.css");]]></find>
<action type="after-add"><![CDATA[@import url("ogame.css");]]></action>
</edit>
</open>
<php-installer><![CDATA[install/index.php]]></php-installer>
<diy-instructions lang="en"><![CDATA[If you want to support more than only english espionage reports copy the whole language-folder in the phpBB3-root.
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
Refresh your Styles:
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"]]></diy-instructions>
<diy-instructions lang="de"><![CDATA[Wenn mehr als nur englische Spionagereports unterstützt werden sollen kopiere den ganzen language-Ordner in das phpBB3-root Verzeichniss.
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"]]></diy-instructions>
</action-group>
</mod>