Search found 58 matches

by DarrenSW
Tue Jul 17, 2007 9:02 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

And since I'm used to type the code tag above and under the code (and not in the same line), then I will have to correct it all the time. :/ Blah. I see, you are thinking of rows directly after and before [/code ] tags. I'll take a look on that. [quote="d4rk^"]And speaking of which, did you see wha...
by DarrenSW
Mon Jul 16, 2007 10:50 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

First of all, would it be possible to add an "Expand/Contract" option? Just like the Select Expand BBcodes MOD has. I'll take a look on that. Secondly, when you turn on the line numbers, an additional new line appears at the bottom Should be fixed in latest (0.7.0) version. And for the spaces on th...
by DarrenSW
Sat Jul 14, 2007 5:59 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

expx wrote:oh ok
so it's exactly the same only everything prosilver in the install file I change to subsilver2?
There is some minor differences when you edit bbcode.html and stylesheet- files. Otherwise it's the same.
by DarrenSW
Sat Jul 14, 2007 5:15 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

New version is finished, see first topic.
expx wrote:please can you do this for subSilver2 as well? I was going to install it but then I realised that only proSilver is in the install file :(
Procedure is the same but I'll try to fix this soon.
by DarrenSW
Fri Jul 13, 2007 2:14 pm
Forum: [3.0.x] Support Forum
Topic: Custom pages and breadcrumbs
Replies: 6
Views: 257

Re: Custom pages and breadcrumbs

Cool thanks, I just tried it and it looks fine for the first layer. I just need to alter it a little and implement it further. It should work on as many layers as you send to it in the $pages array. Or do you mean something else? Also, in your code you have a slight type. You have put "generate_pag...
by DarrenSW
Fri Jul 13, 2007 1:00 pm
Forum: [3.0.x] Support Forum
Topic: Custom pages and breadcrumbs
Replies: 6
Views: 257

Re: Custom pages and breadcrumbs

Quick fix: --------- OPEN ----------------------------- phpbb_root_path/includes/functions_display.php --------- FIND PHP CLOSING TAG ----------------------------- ?> --------- BEFORE ADD ----------------------------- function generate_pages_nav($pages){ global $db, $user, $template, $auth; global $...
by DarrenSW
Thu Jul 12, 2007 8:31 pm
Forum: [3.0.x] Abandoned MODs
Topic: [DISC] GeSHi Code Syntax Highlighting 0.1.4
Replies: 70
Views: 15028

Re: [BETA] GeSHi Code Syntax Highlighting 0.1.4

I think that mod is better. Sorry. I offer you to discontinue this mod.. And help making DarrenSW his mod. I think that would be best solution. Why should he do that? mBack did release his mod before my self and should continue to develop it. Let users choose which one they want to use. He could ha...
by DarrenSW
Thu Jul 12, 2007 8:15 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

That's something that needs to be fixed in the css-file for your style.

Add this to yours stylesheet.css file.

Code: Select all

.codebox ol {
margin-left: 30px;
}
by DarrenSW
Wed Jul 11, 2007 3:19 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

When entering code: [code=mirc]on *:text:*:#:{ if $istok(!mods !modlist !admins,$1,32) { if (!$2) { mod_list } else { mod_nick $2 } } } [/code] i got error:... Quick fix: ------ OPEN ------------------------------------ includes/geshi/mirc.php ------ FIND ------------------------------------ 6 => '...
by DarrenSW
Wed Jul 11, 2007 2:58 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

Demo: http://stotis.net/siukslynas-f6/bbgeshi-a-better-syntax-highlighter-t1014.html Thanks cillinz. :) When entering code: [code=mirc]on *:text:*:#:{ if $istok(!mods !modlist !admins,$1,32) { if (!$2) { mod_list } else { mod_nick $2 } } } [/code] i got error:... Hmmm, a core GeSHi bug it seams. I'...
by DarrenSW
Wed Jul 11, 2007 2:47 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

TRICHES.FR wrote:Can you put a demo so we can see "how much better it is" ;)
Much, much better. :lol: Than phpBB own highlighter of course.

Sorry, my 2.x isn't yet converted online, just localy on my development computer. Feel free to visit cillinz board and this topic for a small preview.
by DarrenSW
Wed Jul 11, 2007 12:50 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

http://stotis.net/pamokeles-f64/robots-txt-pamokele-t1013.html Ahhh, that one. That's not a bug but GeSHi feature called fancy line numbers. :D Quick fix: --------- OPEN ------------- includes/geshi.php --------- FIND ------------- var $line_style1 = 'font-family: \'Courier New\', Courier, monospac...
by DarrenSW
Wed Jul 11, 2007 12:40 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

cillinz wrote:I found a little bug. When line number is even number it colors all line in grey, but not only line number.
You have an example I can look at because I don't have that bug.
by DarrenSW
Wed Jul 11, 2007 12:11 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

But i can see if it is default it doesn't show line numbers. It will show line numbers for the default syntax. How can i enable line numbers for default syntax? Just write your code in the code-tag like this: [code]<html> <head> <title></title> </head> <body> </body> </html> [/code] Topics without ...
by DarrenSW
Wed Jul 11, 2007 12:00 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] bbGeSHi - a better syntax highlighter
Replies: 142
Views: 26424

Re: [DEV] bbGeSHi - a better syntax highlighter

cillinz wrote:And how to set default syntax ? :)
Default syntax, if none given, is plain text and it's set in the core code.

Go to advanced search