Skip to content

Instantly share code, notes, and snippets.

$lang = array_merge($lang, array(
'HIDE_RESULTS' => 'Ergebnis verstecken',
'NEWS_TITLE' => 'NV newspage',
@Un1matr1x
Un1matr1x / kickrejoin.cpp
Created February 17, 2011 18:16
original kickrejoin & 2 versions of it
/*
* Copyright (C) 2004-2010 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* This was originally written by cycomate, one line added by un1matr1x with help of psychon :)
*
* Autorejoin module
[quote="WeTeHa":1uguijq7]Liebe Spieler, im Verlauf des Tages wird es noch ein kleines Update auf die Version 1.5.9 geben, welches jedoch keine Auswirkungen auf das Spielgeschehen hat. Wundert euch an dieser Stelle bitte nicht über einen kurzen Logout aus dem Spiel. Mit freundlichem Gruß Euer OGame.de-Team[/quote:1uguijq7] [size=85:1uguijq7]Quelle: <!-- m --><a class="postlink" href="http://board.ogame.de/index.php/index.php?page=Thread&postID=1884096985#post1884096985">http://board.ogame.de/index.php/index.p ... 1884096985</a><!-- m -->[/size:1uguijq7]
@Un1matr1x
Un1matr1x / f1 gedankenstütze
Created March 17, 2011 08:58
für den fall das header_image & viewtopic gemerged werden
<!-- IF postrow.TIPPER_POINTS --><dd><br/><strong><!-- IF not S_IS_BOT and S_FORMEL1 --><a href="{postrow.U_FORMEL_WEB_TIPP}" class="genmed"><!-- ENDIF -->{L_FORMEL_TITLE}<!-- IF not S_IS_BOT and S_FORMEL1 --></a><!-- ENDIF --><br/>{L_FORMEL_PROFILE_WEBTIPP} : {postrow.TIPPER_POINTS}<br /><!-- IF not S_IS_BOT and S_FORMEL1 --><a href="{postrow.U_FORMEL_STATS}" class="genmed"><!-- ENDIF -->{postrow.TIPPER_RANK}<!-- IF not S_IS_BOT and S_FORMEL1 --></a><!-- ENDIF --></strong><br />({postrow.RACE_DONE})</dd><!-- ENDIF -->
function censor_text($text)
{
static $censors;
// 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
@Un1matr1x
Un1matr1x / functions.php
Created March 29, 2011 12:21
replace the exiting files with this ones
<?php
/**
*
* @package - Board3portal
* @version $Id: functions.php 668 2010-08-19 21:16:29Z marc1706 $
* @copyright (c) kevin / saint ( www.board3.de/ ), (c) Ice, (c) nickvergessen ( www.flying-bits.org/ ), (c) redbull254 ( www.digitalfotografie-foren.de ), (c) Christian_N ( www.phpbb-projekt.de )
* @based on: phpBB3 Portal by Sevdin Filiz, www.phpbb3portal.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Sonntag, 5. Juni 2011
*****Lade Daten ...*****
*****Lade UI ...*****
*****Lade Einstellungen...*****
*****Starte UI ...*****
*****Falsche Zeitformatierung erwarte: ddd, dd MMM yyyy HH:mm:ss zzz*****
@Un1matr1x
Un1matr1x / gist:1046703
Created June 25, 2011 17:44
submitpost
generate_text_for_storage($title, $uid, $bitfield, $options, false, false, false);
generate_text_for_storage($inhalt, $uid, $bitfield, $options, true, true, false);
$data['topic_title'] = $title;
$data['message'] = $inhalt;
$data['message_md5'] = md5($inhalt);
$data['bbcode_bitfield'] = $bitfield;
$data['bbcode_uid'] = $uid;
@Un1matr1x
Un1matr1x / ogame_scanpattern.php
Created August 17, 2011 18:08
Fix für die Aktivitätsanzeige
<?php
/**
*
* groups [German]
*
* @package - OGame-Mod
* @copyright (c) Un1matr1x ( http://un1matr1x.de/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@Un1matr1x
Un1matr1x / newspage_body.html
Created October 27, 2012 09:57
News in mehreren Spalten
<!-- INCLUDE overall_header.html -->
<div style="float: {S_CONTENT_FLOW_END}; width: 20%;">
<h2>{L_NEWS_ARCHIVE}</h2>
<!-- IF .cat_block -->
<div class="panel archive"><span class="corners-top"><span></span></span>
<div class="archive_block">{L_FORUM_CAT}</div>
<!-- BEGIN cat_block -->
<div class="<!-- IF cat_block.S_LAST_ROW -->archive_row-last<!-- ELSE -->archive_row<!-- ENDIF -->"><strong><a class="left news-archive" href="{cat_block.U_NEWS_CAT}">{cat_block.NEWS_CAT}</a> ({cat_block.NEWS_COUNT})</strong></div>
<!-- END cat_block -->
<span class="corners-bottom"><span></span></span></div><br />