Autor Beitrag
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 02.11.07 13:43 
Hy,
ich bin schon seit Tagen vergeblich nach einem Highlighter für Delphi, welcher kompatibel mit phpbb 2.0 ist. Ich habe schon Geshi mir runtergeladen. Allerdings scheiter ich schon an der ersten Zeile der ersten Datei, die ich ersetzten soll. Gibt es vielleicht noch andere Lösungen?

MfG
Regan
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 02.11.07 14:33 
Woran scheiterst du da genau?
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 02.11.07 14:44 
Zitat:
COPY page_code.gif TO phpbb_root_path/styles/prosilver/theme/images/page_code.gif

Bei mir gibt es keinen Ordner styles.
Zitat:
----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
'#\[code(?:=([a-z]+))?:$uid\](.*?)\[/code:$uid\]#ise' => "\$this->bbcode_second_pass_code('\$1', '\$2')",
#
#-----[ REPLACE WITH ]------------------------------------------
#
'#\[code(?:=([a-z0-9_]+))?:$uid\](.*?)\[/code:$uid\]#ise' => "\$this->bbcode_second_pass_code('\$1', '\$2')",

Und den Code gibt es auch nicht in meiner bbcode.php
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 02.11.07 15:11 
Hallo Regan,

die Beschreibungen, die du zietiert hast, passen hargenau auf phpBB3 ;). Ich glaube, du bist einfach in der falschen Installationsanweisung ;).

Grüße
Heiko
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 02.11.07 15:14 
Da gibt es aber keine andere. Zumindest wollte ich eine für phpbb2.0, wie es schon im Titel steht :wink: .
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 02.11.07 15:30 
Ich hab gerade mal geguckt,. Bei Geshi finde ich allgemein keine Anleitung dazu ;).

Als alternative kannste dir ja mal "BBcode Highlight Mod v1.2.0" angucken. Der Name klingt zu mindestens danach und das teil ist in der Plus-Version von phpBB2 entahlten ;). Ich habs allerdings nie getestet, weiß darüber also ansonsten nix.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 02.11.07 18:05 
Schau mal, ob Du mit der Anleitung unter sourceforge.net/projects/geshi-phpbb zurecht kommst. Das ist der Original-MOD von Nigel (Autor vom GeSHi) ... Für die ganz aktuellen phpBB-Versionen ist der zwar nicht offiziell gedacht, läuft aber AFAIK...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 02.11.07 21:44 
Hmm.. :gruebel: . Ich habe das ganze jetzt drauf. Aber es geht nicht :cry: und ich weiß nicht warum!?.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 03.11.07 18:30 
Bei so detaillierten Fehler-Beschreibungen kann ich Dir leider auch nicht helfen ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Sa 03.11.07 22:26 
Ich würde dir ja gerne sagen, was der Fehler ist. Es gibt aber keinen Fehler, der angezeigt wird. Ich kann in den Beitrageditor folgendes eingeben:
Zitat:

[syntax=delphi]
var
[/syntax]

Aber es wird nur dieser Code so angezeigt. Es wird nichts formatiert.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 04.11.07 00:16 
Den MOD hast Du vollständig eingebaut gehabt?

Such in der BBcode.php bitte mal die Stelle, wo er das preparse der BBcodes macht. Und sag mir dort mal, ob der Match, den Du für den GeSHi dort hinzufügen solltest, ob er matcht.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Di 06.11.07 13:51 
OK. Dieser Eintrag ist nur zur Vervollständigung da. Es geht jetzt mittlerweile, da mir BenBE geholfen. Vielen, vielen Dank an ihn.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Di 06.11.07 15:17 
Dann schreib bitte noch, woran es gelegen hat, damit das Forum auch was von der "externen" Hilfe hat.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 06.11.07 16:11 
Die MOD-Beschreibung des GeSHi-phpBB-Projekts ist für 2.0.19 gedacht, lässt sich aber mit einer Änderung von zwei regulären Ausdrücken in der bbcode.php zum Parsen bewegen.

Da ich aber die genauen Änderungen der regulären Ausdrücken zu hause hab, kann ich das erst am WE posten ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.