Search found 516 matches

by UseLess
Wed May 05, 2010 10:45 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, Have you tried using: [syntax=java]code[/syntax] because unless you've altered the class to override the code tag using the code tag will only work with the 'code=php' option. And the '=java' is stripped out anyway, well it is on my 3.0.7 installation. If the option to add the languages a...
by UseLess
Sat Mar 20, 2010 3:05 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, The 'if' clause I'm referring to starts on line 420 and ends on line 446, to change the default behaviour to always show line numbers change the 'else' part like so: Option 1 normal line numbers: else { // Make line type not empty as a syntax is specified $line_type = 'not empty'; $geshi-...
by UseLess
Fri Mar 19, 2010 3:54 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, 1. The latter. 2. Select will include the line numbers, if shown, which is why, in the version I use, I removed the 'select' option and left the 'download' option so the code can be downloaded with the layout intact with no line numbers or anything else included. It's also handier if you ...
by UseLess
Fri Mar 19, 2010 1:18 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, 1. No. 2. No sure I follow you here. The select option works but it will also select all the numbers and header/footer text. It's easier to use the 'download' option to download the contents of the syntax block. 3. [syntax lang="cpp" lines="f"] < cpp code in here >[/syntax] will work... 4...
by UseLess
Sun Mar 14, 2010 3:41 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,

After having read the changes to the mod validation requirements I have decided not to update this mod.

Support will be provided for the last release version which is 1.0.12 but 1.0.14 will not be released and will not be submitted for validation by the phpBB MOD Team.
by UseLess
Fri Mar 12, 2010 5:05 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, There's a new version available here: http://www.phpbbstyles.co.uk/info/viewtopic.php?f=16&t=86 for testing before it gets submitted for validation. If you find any issues with it then either register/post on my forum or if you don't wish to register then use this: http://www.phpbbstyles....
by UseLess
Thu Mar 11, 2010 10:16 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, # #-----[ OPEN ]------------------------------------------------------- # classes/scripts/select_expand_bbcodes.js # #-----[ FIND ]------------------------------------------------------- # this.size = this.min = 70; // --- Adjust MINIMUM_BLOCK_HEIGHT here :-) # #-----[ IN-LINE FIND ]-----...
by UseLess
Wed Sep 23, 2009 1:04 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,

For some very, very strange reason the layout is only broken with the CA Gen 2 style, as on my local test forum I'm using ProSilver and it works as it should.
by UseLess
Fri Sep 04, 2009 12:41 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,

Make sure you clear the cache and refresh the templates/theme after you've uploaded the files.

Also the [php] tag won't work by default unless you've also made the changes detailed in the 'contrib/lang_as_bbcode_tag.txt' file.
by UseLess
Mon Aug 17, 2009 2:24 am
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, Try the following changes: # #-----[ OPEN ]------------------------------------------------------- # styles/subsilver2/theme/ul_syntax_highlighter.css # #-----[ FIND ]------------------------------------------------------- # .postbody .syntax { # #-----[ AFTER, ADD ]----------------------...
by UseLess
Thu Aug 13, 2009 11:24 am
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,

The problem is more likely to be the version of GeSHi your using.
by UseLess
Wed Aug 12, 2009 11:58 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, To resolve that problem move the language entry from 'language/en/mods/useless_xs_bbcode.php' to 'language/en/common.php' and put it with the other Syntax related entries at the bottom of the file. The problem was resolved in 1.0.13 (I think) but since it's been held back for other things...
by UseLess
Wed Aug 12, 2009 9:15 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings, If your using the board bbcodes mod then have you added the changes in: contrib/boardbbcodes_changes.txt ? To fix the version tag problem: open: includes/geshi.php find: function version() replace with: function get_version() If you cannot find 'function version()' then your not using the...
by UseLess
Wed Aug 12, 2009 2:18 am
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,

Have you tried using: [syntax lang=bash] instead of [bash] and what is the problem with the post?

If there are no errors then a screen shot may help.
by UseLess
Tue Aug 11, 2009 9:23 pm
Forum: [3.0.x] MOD Database Releases
Topic: Syntax Highlighter
Replies: 95
Views: 24384

Re: Syntax Highlighter

Greetings,
gongadze wrote:How can I gain some debug info?
Enable the debug options in 'config.php' in the root of your forum.
Fire-Fox wrote:How do i add various bbcode buttons, to the posting page? like the code tag?
You'd need to edit the posting_buttons.html file to add whatever buttons you want.

Go to advanced search