Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advanced Syntax Highlighting - BBCode [highlight] Details »
Advanced Syntax Highlighting - BBCode [highlight]
Mod Version: 1.00, by Andreas (Coder) Andreas is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 RC1 Rating: (10 votes - 4.50 average) Installs: 144
Released: 28 Jul 2005 Last Update: Never Downloads: 1241
Not Supported Uses Plugins Template Edits Additional Files Is in Beta Stage  

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!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Highlight BBCode Patria vBulletin 3.6 Add-ons 19 21 Jan 2010 23:39

  #16  
Old 29 Jul 2005, 10:40
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by KirbyDE
Well, just & is invalid XML
I guess GeSHIi doesn't like that too much.

I don't think there is any way to detect such things ...
I guess that's one way to learn valid xml coding, huh?

Is there any way to keep the spacing at the beginning of each line so it looks like the code we enter instead of lining it all up the the left? The indents were there before I posted the code for highlighting.
Reply With Quote
  #17  
Old 30 Aug 2005, 00:01
Disi Disi is offline
 
Join Date: Aug 2005
Hi, is this hack compatible to older versions, maybee the 3.0.8 Board, or what do i have to modify to make it work?

regards

Disi
Reply With Quote
  #18  
Old 30 Aug 2005, 00:06
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
No, it's not compatible.
Feel free to backport it, I won't do so
Reply With Quote
  #19  
Old 30 Aug 2005, 18:23
Disi Disi is offline
 
Join Date: Aug 2005
Well i've made a 3.5rc2 Test installation on my pc and i don't now why but it doesn't work, its not parsing the code.

example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

will be posted see the attachment
Attached Images
File Type: jpg screen.jpg (5.7 KB, 148 views)
Reply With Quote
  #20  
Old 30 Aug 2005, 18:48
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Well, it's [highlight] not [hightlight]
Reply With Quote
  #21  
Old 30 Aug 2005, 19:49
Disi Disi is offline
 
Join Date: Aug 2005
Originally Posted by KirbyDE
Well, it's [highlight] not [hightlight]
Oh man this is not my day

Big thx!

Works great now!
Reply With Quote
  #22  
Old 30 Aug 2005, 19:56
wilky49 wilky49 is offline
 
Join Date: Apr 2005
KirbyDE,

Thanks for the mod, I have been looking for something to do this.

I added my own format called webfocus (yes its a report language) and it works great.

-Wilky49
Reply With Quote
  #23  
Old 30 Aug 2005, 20:06
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
BEAUTIFUL!!!

Great addon
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #24  
Old 30 Aug 2005, 22:00
Disi Disi is offline
 
Join Date: Aug 2005
Well last question How do i make a Button (for example html) which adds the tags automaticly?

thx in advice

Disi
Reply With Quote
  #25  
Old 31 Aug 2005, 00:36
wilky49 wilky49 is offline
 
Join Date: Apr 2005
That would be a cool addition to the hack.

KirbyDE ... Hint Hint.

-Wilky49
Reply With Quote
  #26  
Old 31 Aug 2005, 23:10
Disi Disi is offline
 
Join Date: Aug 2005
Yeah would be nice if we get some hints

mfg

Disi
Reply With Quote
  #27  
Old 02 Sep 2005, 14:27
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
If somebody can make a nice Button Image that fi's with the Default Style i'll make it so it does automatically show up.
And an explanation on how to use this (for the Users) at misc.php?do=bbcode is also missing.
Reply With Quote
  #28  
Old 02 Sep 2005, 15:20
Disi Disi is offline
 
Join Date: Aug 2005
WEll maybe a button is not the best solution, whats about a Listbox?

remove the php tag and replace it with a Lisbox, nice to have is something in the ACP where you can select included languages or something?!

What do you think Kirby?
Reply With Quote
  #29  
Old 04 Sep 2005, 10:21
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Wouldn't it be better to make it a tag that isn't already in use by default with vBulletin (or maybe it was be design since it requires a parameter)?
Reply With Quote
  #30  
Old 04 Sep 2005, 12:20
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
@digitalpoint
Well, it highlights Text so I thought that highlight would be best, and it also doesn't conflict as the default [hjighlight] does not have paramaters.
Anyway, you can easily change the Tag by editing the Plugin - should be obvious what to do.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:21.

Layout Options | Width: Wide Color: