MyXoops Forum

Re: extgal hack install - help [Module für Bildergalerien, Downloads und Faq] - myXOOPS German Support

Muki

Co-Administrator
Gepostet am:21.07.2008 18:44
Muki
Muki Offline (Show more)
Co-Administrator
Posts: 1903
Since: 18.04.2006
#2

Re: extgal hack install - help

Zitat:

BlackJoker schrieb:
heißt das das ich das was dort steht im theme.html von meinem Design nach dem <head> einfügen soll???

Ja

Zitat:
3- You must hack the XOOPS textsanitizer (www.monsite.com/class/module.textsanitizer.php).
- Find the xoopsCodeDecode methode (around the line 146)
- Goes to the end of the methode and add the content of the "xoopsCodeDecode.txt" file just before :

$text = preg_replace($patterns, $replacements, $text);
return $text;


Das heißt, Du sollst eine Datei verändern, die dem Xoops-Core gehört, das nennt man einen "hack".
Die Datei "www.deineSeite.tld/class/module.textsanitizer.php" sollst Du ab ca. Zeile 146 in der die xoopsCodeDecode Methode programmier ist am ende durch folgenden Code ergänzen:

$text = preg_replace($patterns, $replacements, $text);
return $text;

Ich selbst rate von solchen Veränderungen ab wenn man deren sinn nicht versteht oder vom programmieren keine Ahnung hat.
Mit sowas kann man seine Seite auch lahm legen, oder noch schlimmer die komplette Funktionsweise stören.

Muki
Es gibt keine dummen Fragen, nur dumme Antworten (Ausnahmen bestätigen die Regel).

BlackJoker

"myXOOPs"-Neuling
Gepostet am:21.07.2008 17:06
BlackJoker
BlackJoker Offline (Show more)
"myXOOPs"-Neuling
Posts: 92
Since: 31.03.2008
#1

extgal hack install - help

Hi,
im Read me steht folgendes:

Zitat:
3- You must hack the XOOPS textsanitizer (www.monsite.com/class/module.textsanitizer.php).
- Find the xoopsCodeDecode methode (around the line 146)
- Goes to the end of the methode and add the content of the "xoopsCodeDecode.txt" file just before :

$text = preg_replace($patterns, $replacements, $text);
return $text;


leider ist mein englisch nicht so gut und ich hab kP was ich da machen soll... kann mir jemand helfen?


Und dann gleich noch zu schritt 4 eine frage zur sicherheit:
Zitat:
4- You have to add script to your theme.
- Open your theme.html on your running theme
- Add these 4 lines on the head part of your theme

<link rel="stylesheet" href="<{$xoops_url}>/include/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="<{$xoops_url}>/include/prototype.js"></script>
<script type="text/javascript" src="<{$xoops_url}>/include/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="<{$xoops_url}>/include/lightbox.php?dirname=<{$xoops_dirname}>"></script>


heißt das das ich das was dort steht im theme.html von meinem Design nach dem <head> einfügen soll???
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5314 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1806 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag