vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Syntax Highlighting - BBCode [highlight] (https://vborg.vbsupport.ru/showthread.php?t=93071)

marc_t 01-17-2006 07:04 AM

No help? No idea? :(

Any hint?

;)

lutek 01-25-2006 08:39 PM

Quote:

Originally Posted by marc_t
No help? No idea? :(

Any hint?

;)

I have the same problem :(

marc_t 01-26-2006 08:52 AM

Would be really great to get any hint where to find the code which replaces the "["...

Thanks very much....

lutek 01-27-2006 08:56 AM

Quote:

Originally Posted by marc_t
Would be really great to get any hint where to find the code which replaces the "["...

Thanks very much....

change in file geshi/actionscript.php line
Code:

        'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
to:
Code:

        'COMMENT_SINGLE' => array(1 => '//'),

kirupa 01-28-2006 09:28 PM

When a post containing some highlighted code is edited, I am not seeing the code back in its normal form with the [highlight=foo] brackets. Instead, I am seeing the actual box with the code inside it similar to a WYSIWYG mode.

Is there a problem with using the highlighter with the full WYSIWYG mode in VB3?

Thanks,
Kirupa

marc_t 01-30-2006 07:59 AM

lutek: Great! Thanks alot!!

shabbirbhimani 02-08-2006 07:08 AM

Quote:

Originally Posted by Alphawolf83
It does not work on v3.0.7, right? ;)
Good Job!

I have made it to work with 3.0.x versions as weel and you can check that at my forums. Link in sig. You can see the running version of the same at one of the thread Query optimization. I am not sure if I can put that here or not but if you need it I can probably give it to you.

Delphiprogrammi 03-04-2006 12:17 PM

this no longer works on 3.5.4 anybody with the same problem ? i upgraded geshi then it started to stop working then downgraded it again but nope ... this just stopped working without a "reason" why

edit

i've fixed it the urls are hyperlinked again in PHP source code i liked that feature so i've played with it and got it back.It wasn't this hack it was geshi itself that changed some stuff anyway if anybody wants it give me a yell

TKlingler 03-29-2006 04:39 AM

Hello, it works great also with the new geshi version,
I have only a littel problem when I use the it so charackters of me script part will displayed wrong. As example the right text is [Setup] with the Highlighter it will dispayed as &#91Setup&#93with geshi and phpbb this works so I think it comes for the xml, but I understand not we becaues I konw nothig about php.

Pleas can anyone say me what I must do ?

northcode 04-01-2006 04:00 AM

I couldn't be bothered to track it down any further than something in the geshi line numbering (too much regex crap) but this will fix the immediate problem.

Open geshi.php and find this line

var $lexic_permissions = array(

Then scroll down a bit and comment or remove this entry from the array (setting it to false may also work, but it felt better to hit the delete key).

'NUMBERS' => true,

Tim Goss
Northcode Inc.


All times are GMT. The time now is 09:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01310 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete