Surftips
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 www.example.com, you should send e-mail to "webmaster@example.com".

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.

Note:

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 centos.org 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 www.example.com, you would find the owner of the example.com domain at the following WHOIS server:

http://www.internic.net/whois.html

IonCube Encoder


COMBRIX - Content Management System - Diskussionsforum
Benutzername
Passwort

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

 
Autor Zusätzliche BBCodes   1  # 2  top
Meldric
Amateur


User Avatar



Beiträge: 73

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

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:
[smurfy]http://mwo.smurfy-net.de/mechlab#i=286&l=ca23b6c0ab275a896049a1def94f2d435e40208c[/smurfy]

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="http://mwo.smurfy-net.de/tools/mechtooltip?i=297&l=fc277c03ce85c4e23384ed447ddecec970144649" 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!

EDIT:
Sowas wie hier:
http://www.clanwolf.net/forum/viewthread.php?thread_id=3725&pid=37750#post_37750

EDIT 3:
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
http://www.clanwolf.net
Autor RE: Zusätzliche BBCodes   2  # 2  top
Meldric
Amateur


User Avatar


Themenstarter

Beiträge: 73

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

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

Code:

// START: Replace smurfy links with the tooltip iframe code
preg_match_all("~(\[smurfy\]https?:\/\/mwo\.smurfy-net.de\/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=\"http://mwo.smurfy-net.de/tools/mechtooltip?i={$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
http://www.clanwolf.net
 
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
URL:
BB-Code:
HTML:
1,062,897 eindeutige Besuche
© COMBRIX CMS Software v1.01.5 based on PHP-Fusion v6. Thanks to the founder Nick Jones | Theme Echelon


render time: 0.54 sec.