vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Better code syntax highlighting (https://vborg.vbsupport.ru/showthread.php?t=285933)

aminp30 06-03-2014 02:41 AM

it seems geshi support vb codes. but there is no vb tag after installation.
is there any way to solve it?

aminp30 07-22-2014 07:45 AM

Quote:

Originally Posted by TheSupportForum (Post 2371464)
this does nto work for 4.2.0

each time an post is edited the BBCode is removed

Quote:

Originally Posted by Cadellin (Post 2373948)
Similar issue here. When editing the BBcode is removed and replaced with HTML which isn't repostable.

Quote:

Originally Posted by Widey (Post 2404761)
Did anybody get this working in 4.2 in the end or is it still removing the BBCode when a post is edited?

I have this problem too.
is there any solution? :confused:

thetechgenius 09-16-2014 04:55 PM

Is there anyway to add these to a single BB Code? I would like to add all of them to the "Code" BB Code, and have them automatically detect and highlight the correct Code Syntax. I think it will be easier for members, then using Multiple Code BB Codes for different Code Languages.

tbworld 09-16-2014 05:39 PM

Language highlighting is typically determined by the extension used on the file name. Since there is no file name extension given in a vbulletin code box the individual BBCODES are probably necessary. Note - I have not looked at the code to this modification. :)

errorware 11-10-2014 10:00 PM

Any chance to change the colors for a dark theme? Is that to much of a hassle?

Cheers

john7911 11-15-2014 01:14 PM

Need to have BB code for AutoLISP
http://en.wikipedia.org/wiki/AutoLISP
Thank you.

derbi 12-02-2014 07:53 AM

There are a demo?

ozzy47 12-02-2014 09:22 AM

Not that I have seen, best way to demo something is to install it and test it out. :)

Wedframe 07-08-2015 10:59 AM

Hi. Maybe for somebody its steel actual.
To correct the problem with disappearing content after editing the message , it is necessary in the module GeSHi BB Codes, at hook bbcode_create to add the following code:
PHP Code:

if ($this->is_wysiwyg()) 
  { 
    
$this->unparsed_tags[] = 'phps';
    
$this->unparsed_tags[] = 'jss';
    
$this->unparsed_tags[] = 'htmls';
    
$this->unparsed_tags[] = 'mysqls';
    
$this->unparsed_tags[] = 'ahks';
    
$this->unparsed_tags[] = 'au3s';
    
$this->unparsed_tags[] = 'avss';
    
$this->unparsed_tags[] = 'diffs';
    
$this->unparsed_tags[] = 'xmls';
    
$this->unparsed_tags[] = 'bashs';
        
//....and so do this, for all used bbcodes...
  


Hope this will be useful... :)

Raptor 07-18-2015 11:46 PM

Quote:

Originally Posted by Wedframe (Post 2549650)
Hi. Maybe for somebody its steel actual.
To correct the problem with disappearing content after editing the message , it is necessary in the module GeSHi BB Codes, at hook bbcode_create to add the following code:
PHP Code:

if ($this->is_wysiwyg()) 
  { 
    
$this->unparsed_tags[] = 'phps';
    
$this->unparsed_tags[] = 'jss';
    
$this->unparsed_tags[] = 'htmls';
    
$this->unparsed_tags[] = 'mysqls';
    
$this->unparsed_tags[] = 'ahks';
    
$this->unparsed_tags[] = 'au3s';
    
$this->unparsed_tags[] = 'avss';
    
$this->unparsed_tags[] = 'diffs';
    
$this->unparsed_tags[] = 'xmls';
    
$this->unparsed_tags[] = 'bashs';
        
//....and so do this, for all used bbcodes...
  


Hope this will be useful... :)

perfect! thank you very much :)

works in vb 4.2.3


All times are GMT. The time now is 11:34 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.03210 seconds
  • Memory Usage 1,759KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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