#1
|
||||
|
||||
Colored LISP in forum
well.. just a try.. but the single quotes (forward-only) are mixing up the PHP highlighter.
PHP Code:
What's the way such a higlighter is defined in our forum software? I'm a little bit familiar with generating highlighter files for different (freeware) editors. There does my interest come from.. |
#2
|
||||
|
||||
Re: Colored LISP in forum
Quote:
I don't know of any way to do this with the standard vBulletin software, but since it is delivered as PHP source code the hacking possibilities are unlimited. There is an entire website devoted to vBulletin hacking which includes many tested and published customizations at www.vbulletin.org. You might be able to find what you are looking for there. I prefer to avoid hacking the PHP code since it makes upgrading difficult, but if it is fairly simple I would be willing to consider it. We do have a few simple hacks applied to this forum already.
__________________
John Scheffel |
#3
|
||||
|
||||
Re: Colored LISP in forum
oh I used the PHP several times before (for 2..3 lines only).. but this time it was a test how far it is working.
Well, I already was looking into those support pages for vBulletin software. But since everything of vBulletin software behind the UI of my browser is new for me it will take a while. But I assume there are some ASCII files arround which define a) which vB code are allowed and b) how they will format the included text. So I think it's a more kind of advanced customization than a hack. --- or would you call it a hack of OSDM when editing sd_customize file But it will take a while... but winter is in front of us, with long dark nights. |
#4
|
||||
|
||||
Re: Colored LISP in forum
Quote:
Stuff that can be done from the Admin Control panel, such as modifying the templates that define the page appearance, I would call customization. It can still be a pain to maintain if the original templates are modified, but there are some tools to help and this happens less often. We have some of these as well. The Admin panel does have options for adding and managing custom BB codes, but I have never played with it. It is documented in the vbulletin manual at: http://www.vbulletin.com/docs/html/ If you have anything you would like to try, let me know. I searched vbulletin.org for "lisp" and "code AND color" but could not find any examples of how to create color highlighted program code.
__________________
John Scheffel |
#5
|
||||
|
||||
Re: Colored LISP in forum
Thanks for finding out some more information, too.
That documentation decribes only how to add SIMPLE vb_tags which can be converted to HTML by just replacing the opening vb_code with it's HTML tags and same for the closing one. For the existing PHP and HTML vb_codes the text written between opening and closing vb_tag is parsed (word by word etc.) and depending on some rules the color coding is done. This is really different from the simple vb_codes. - So some more time needed for investigation. - I hesitate to set up a complete webserver for my own incl. PHP and vBulletin stuff. |
#6
|
||||
|
||||
Re: Colored LISP in forum
Just would like to see how PHP does lool like here in our forum:
PHP Code:
|
#7
|
||||
|
||||
Re: Colored LISP in forum
[highlight=HTML]
<title>ueberschrift</title> <body> <p>bla bla bla <b>bold</b> </p> [/highlight] ----------------------------- [highlight=php]<?php echo '[b]test'; ?>[/highlight] ----------------------------- caused on the discussions on future of this forum.... I have been searching for vBulletin information once more and stumbled about:
__________________
Last edited by Wolfgang; 07-03-2008 at 02:52 PM. Reason: double post and some BBcode issues.. |
#8
|
||||
|
||||
Re: Colored LISP in forum
The post and response about how CoCreate LISP compares to AutoLISP has been moved to a new thread in the Customization forum.
Comparison of CoCreate LISP and AutoLISP
__________________
John Scheffel |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|