Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Syntax Highlighting - BBCode [highlight] Details »»
Advanced Syntax Highlighting - BBCode [highlight]
Version: 1.00, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 07-27-2005 Last Update: Never Installs: 143
Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Advanced Syntax Highlighting
This Hack provides a [highlight] BBCode to highlight a wide range of Languages such as XML, HTML, Java, Javascript, SQL and so on.
It uses GeSHi, which is included in this ZIP.

Details
1 Product XML with 2 Plugins and 2 Templates

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-17-2006, 07:04 AM
marc_t marc_t is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No help? No idea?

Any hint?

Reply With Quote
  #53  
Old 01-25-2006, 08:39 PM
lutek lutek is offline
 
Join Date: Jan 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Any hint?

I have the same problem
Reply With Quote
  #54  
Old 01-26-2006, 08:52 AM
marc_t marc_t is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks very much....
Reply With Quote
  #55  
Old 01-27-2006, 08:56 AM
lutek lutek is offline
 
Join Date: Jan 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 => '//'),
Reply With Quote
  #56  
Old 01-28-2006, 09:28 PM
kirupa kirupa is offline
 
Join Date: Dec 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #57  
Old 01-30-2006, 07:59 AM
marc_t marc_t is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lutek: Great! Thanks alot!!
Reply With Quote
  #58  
Old 02-08-2006, 07:08 AM
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 03-04-2006, 12:17 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #60  
Old 03-29-2006, 04:39 AM
TKlingler TKlingler is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #61  
Old 04-01-2006, 04:00 AM
northcode northcode is offline
 
Join Date: Nov 2001
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05489 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete