Warning: The author of this contribution does not provide support for it anymore.

Codebox Plus

[FIXED] Version for phpBB 3.2.2 - Codebox Plus

[FIXED] Version for phpBB 3.2.2

by Raheem » Sat Jul 14, 2018 3:57 am

Hello, I think this extension important but it's author no longer active.

I tried to make this work with phpBB 3.2.2.

- The changes i did:

1. Fix the two lines issue based on this discussion: https://github.com/o0johntam0o/phpBB-Ex ... /issues/15

2. Fixed the "SELECT ALL" it was throign error in Chrome and Mozilla. Just removed this in (ext\o0johntam0o\codeboxplus\styles\all\template\script.js):
  • Code: Select all

    		// Safari
    		if (s.setBaseAndExtent)
    		{
    			s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
    		}
3. Added scroll bar which discussed here: https://www.phpbb.com/customise/db/mod/ ... pic/107503

4. I customize this for mine usage, so i removed many languages. Current languages:
  1. PAWN - AMXX
  2. C
  3. C++
  4. C#
  5. Email
  6. INI
  7. JAVA
  8. MySQL
5. Edited the copyright line to: GeSHi © Syntax Highlighter

** I only updated the english language as it's which i use, you can update the rest or the one you using.

- Screenshots:
  • 0. Select.png
    1. Not Expanded.png
    1. Not Expanded.png (10.86 KiB) Viewed 140 times
    2. Expanded.png
    3. Select.png
- Download:
Raheem
Registered User
Posts: 84
Joined: Thu Feb 09, 2017 7:02 pm
Location: Egypt
Contact:

Re: [FIXED] Version for phpBB 3.2.2

by Carles » Wed Sep 19, 2018 4:10 pm

Hi Rahemm,

Working perfectly ! thanks :-)

But only one question. Can you make option expand/collapse/expand all ?

I'm thinking that sometimes is the best option can see all code


Thanks for all.
Carles.
Carles
Registered User
Posts: 12
Joined: Thu May 21, 2015 6:41 pm
Contact:

Re: [FIXED] Version for phpBB 3.2.2

by ttnnkkrr@gmail.com » Sun Oct 28, 2018 4:22 am

Copied the files purged cache and enabled the plugin but nothing changed no highlighting at all
ttnnkkrr@gmail.com
Registered User
Posts: 1
Joined: Sun Oct 28, 2018 4:20 am
Contact: