The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forum ft. requests
#6
Nice, thanks for the fast implementation. Does this website actually run on GetSimple?? If so we could use I18N search Big Grin, which is pretty good imho. For syntax highlighting I know highlight.js is pretty good, and also provides a wide array of themes. A while ago I made a Codehighlight bookmarklet using this lib that highlights all <pre> tags (which unfortunately does not work here because code blocks are simple <div>s.

Anyhow, the lib automatically detects the code language, so no need for separate [php] & [code] blocks, all fully front-end.
Including it would be as simple as doing:
Code:
hljs.configure({useBR: true});
$('div.codeblock code').each(function(i, block) {
 hljs.highlightBlock(block);
});
 
I know of one issue with the lib: sometimes it doesn't highlight correctly when multiple languages are in one snippet (eg JS <script> tags), but I'd need to test that more rigorously. 

(2015-04-30, 10:54:47)shawn_a Wrote: You want to volunteer to figure this shit out ?
Better search, mybb codes  etc

If you mean simply providing feedback & suggestions on the forum, yes, but afaik I can't 'copy' this website to test it locally (for search algorythms & bb codes).. 
Btw I just noticed something: when someone edits a previous post in a thread, the 'latest reply author' of the thread is set to this person (while no new reply has been posted). If this is intentional; ignore Smile
Reply


Messages In This Thread
Forum ft. requests - by Tyblitz - 2015-04-30, 05:42:23
RE: Forum ft. requests - by shawn_a - 2015-04-30, 06:40:32
RE: Forum ft. requests - by Tyblitz - 2015-04-30, 09:45:11
RE: Forum ft. requests - by datiswous - 2015-05-01, 05:24:18
RE: Forum ft. requests - by Tyblitz - 2015-05-01, 10:56:54
RE: Forum ft. requests - by shawn_a - 2015-04-30, 10:51:06
RE: Forum ft. requests - by shawn_a - 2015-04-30, 10:54:47
RE: Forum ft. requests - by Tyblitz - 2015-04-30, 19:14:32
RE: Forum ft. requests - by shawn_a - 2015-04-30, 22:20:02
RE: Forum ft. requests - by Tyblitz - 2015-05-21, 12:00:58
RE: Forum ft. requests - by Tyblitz - 2015-05-28, 11:04:47
RE: Forum ft. requests - by shawn_a - 2015-05-28, 11:19:18
RE: Forum ft. requests - by Tyblitz - 2015-05-28, 20:26:08
RE: Forum ft. requests - by shawn_a - 2015-05-29, 01:21:06
RE: Forum ft. requests - by Tyblitz - 2015-06-05, 03:29:06
RE: Forum ft. requests - by shawn_a - 2015-06-05, 03:47:22
RE: Forum ft. requests - by Artur - 2015-06-05, 05:33:39
RE: Forum ft. requests - by Tyblitz - 2015-06-12, 21:59:56
RE: Forum ft. requests - by shawn_a - 2015-06-12, 23:03:01
RE: Forum ft. requests - by shawn_a - 2015-06-13, 00:31:15
RE: Forum ft. requests - by Tyblitz - 2015-06-13, 02:44:27
RE: Forum ft. requests - by shawn_a - 2015-06-13, 02:59:33
RE: Forum ft. requests - by datiswous - 2015-06-13, 06:38:18



Users browsing this thread: 5 Guest(s)