Apache HTTP Server Test Page powered by CentOS

Apache 2 Test Page
powered by CentOS

This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page it means that the Apache HTTP server installed at this site is working properly.

If you are a member of the general public:

The fact that you are seeing this page indicates that the website you just visited is either experiencing problems or is undergoing routine maintenance.

If you would like to let the administrators of this website know that you've seen this page instead of the page you expected, you should send them e-mail. In general, mail sent to the name "webmaster" and directed to the website's domain should reach the appropriate person.

For example, if you experienced problems while visiting, you should send e-mail to "".

If you are the website administrator:

You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.

You are free to use the images below on Apache and CentOS Linux powered HTTP servers. Thanks for using Apache and CentOS!

[ Powered by Apache ] [ Powered by CentOS Linux ]

About CentOS:

The Community ENTerprise Operating System (CentOS) Linux is a community-supported enterprise distribution derived from sources freely provided to the public by Red Hat. As such, CentOS Linux aims to be functionally compatible with Red Hat Enterprise Linux. The CentOS Project is the organization that builds CentOS. We mainly change packages to remove upstream vendor branding and artwork.

For information on CentOS please visit the CentOS website.


CentOS is an Operating System and it is used to power this website; however, the webserver is owned by the domain owner and not the CentOS Project. If you have issues with the content of this site, contact the owner of the domain, not the CentOS Project.

Unless this server is on the domain, the CentOS Project doesn't have anything to do with the content on this webserver or any e-mails that directed you to this site.

For example, if this website is, you would find the owner of the domain at the following WHOIS server:

IonCube Encoder

COMBRIX - Content Management System - Diskussionsforum

Thema ansehen
COMBRIX - Content Management System > COMBRIX
->> Integrierte Module & AddOns
Vorheriges Thema Nächstes Thema

Autor Zusätzliche BBCodes   1  # 2  top

User Avatar

Beiträge: 73

Eingetreten: 01.02.11
Status: Offline
Eingetragen am 16.08.2016 00:22

Ich würde gerne Smurfy Mechlinks (EDIT2: in Forenbeiträgen automatisch) in einen iFrame umwandeln. Ich habe die regex dafür, das Linkformat wäre irgendwas in der Art:

Was rauskommen soll (nach dem Speichern), wäre sowas:

<div style="width: 100%; height: 250px; zoom: 0.75; -moz-transform: scale(0.75); -moz-transform-origin: 0 0; -o-transform: scale(0.75); -o-transform-origin: 0 0; -webkit-transform: scale(0.75); -webkit-transform-origin: 0 0;"><iframe src="" width="130%" height="360px" style="border: 0px;" border="0"></iframe></div>

Ich brauche keinen BBCode Button, nur das Einfügen des Links in einen Post soll reichen.

Nun die Frage:
Wo könnte ich das einbinden? Es ist nur ein regex Aufruf auf den String, der für einen Post in die DB geschrieben wird...
Danke für die Hilfe!

Sowas wie hier:

Nochmal ein wenig anders formuliert:
Ich möchte im Forum bei einem Beitrag direkt vor dem Speichern in die DB einen String durch einen anderen ersetzen.

[ Clan | Kodax | Touman ]

Bearbeitet von Meldric am 16.08.2016 08:56
Autor RE: Zusätzliche BBCodes   2  # 2  top

User Avatar


Beiträge: 73

Eingetreten: 01.02.11
Status: Offline
Eingetragen am 17.08.2016 22:58
Habs jetzt so gemacht:

- postreply.php
- postedit.php
- postnewthread.php
- viewthread.php (Quick reply)


// START: Replace smurfy links with the tooltip iframe code
preg_match_all("~(\[smurfy\]https?:\/\/mwo\\/mechlab#i=(\d+)&l=(.*?)\/?\[\/smurfy\])~", $message, $matches);
foreach ($matches[1] as $key => $match) {
$iframe = "<div style=\"width: 100%; height: 250px; zoom: 0.75; -moz-transform: scale(0.75); -moz-transform-origin: 0 0;-o-transform: scale(0.75); -o-transform-origin: 0 0; -webkit-transform: scale(0.75); -webkit-transform-origin:0 0;\"><iframe src=\"{$matches[2][$key]}&l={$matches[3][$key]}\" width=\"130%\" height=\"360px\" style=\"border: 0px;\" border=\"0\"></iframe></div>";
$message = str_replace($match, $iframe, $message);
// END: Replace smurfy links with the tooltip iframe code

[ Clan | Kodax | Touman ]

Bearbeitet von Meldric am 17.08.2016 22:58
Springe zu Forum:
Ähnliche Themen wie "Zusätzliche BBCodes" [1]
Thema Forum Antworten Letzter Beitrag
zusätzliche Metaangaben Integrierte Module & AddOns 1 20.05.2012 01:32 von Janilein
Thema verlinken
1,062,916 eindeutige Besuche
© COMBRIX CMS Software v1.01.5 based on PHP-Fusion v6. Thanks to the founder Nick Jones | Theme Echelon

render time: 0.545 sec.