MyBB Hacks

Full Version: Cool Codes (Syntax Highlighter)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
(11-19-2010 04:22 AM)1master1 Wrote: [ -> ]installed, preparser cache and coolcode plugins. but it isn't highlighing. coolcode is theme dependant? i'm using different theme than mybb default.

Did you try with PHP code, not only Code code?
yes, i tried all. but no numbering and no highlighting too
You'll need to give more info, eg how to replicate on a clean forum + what theme you're using.
the forum is clean and i'm using mynx theme.
Can't find any theme named "mynx"...
Link?
So it's MyNic, thanks.

But it works fine here: http://mybbhacks.zingaburga.com/testforu...http://mybbhacks.zingaburga.com/testforum/showthread
Didn't do anything special.
This plugin is nice!

Thanks!
Updated to v1.22, bug fixed in the highlight algorithm, thanks to RateU for finding Smile
Thanks for the update, Yumi Smile
Ahh, the server is finally up again.

I want to report an issue with this plugin, it seems to appear in 1.6.1 only though since I've started to receive error messages today only after I had upgraded.

It seems the ob_end_flush function here is the problem:

PHP Code:
$GLOBALS['plugins']->add_hook('archive_thread_end', 'ob_end_flush');


The error is on line 101, inc/class_plugins.php:

PHP Code:
$returnargs = call_user_func_array($hook['function'], array(&$arguments));


Error:

Code:
Wrong parameter count for ob_end_flush()

Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's