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)

eliteevil 04-17-2009 09:34 AM

Great Stuff

ti07shadow 09-27-2009 08:43 PM

this mod doesnt display the [ correctly in the highlight, it displays [ ; instead of the actual symbol.

I placed a space before the ; due to it displaying it :p


the fix above didnt work for me

Meestor_X 12-20-2009 10:29 PM

What's happened to qbnz.com?

*Edit*
The site is back, but if it disappears again, there's still the software here:
http://sourceforge.net/projects/geshi/

Meestor_X 12-20-2009 10:34 PM

Waiting with baited breath to see this mod in vb4! :)

smirnoff 12-23-2009 05:25 PM

i've just install it on 3.8.4 and work perfectly, better than all the other i've tested! amazing :D

artvs 12-27-2009 10:07 AM

I'd successfully adapt this hack for VB4. Not sure can I share my efforts with everyone?

simunaqv 12-27-2009 10:08 AM

Oh please do..

artvs 12-27-2009 10:54 AM

What to do:
1) download and import product from attachment.
2) find file /admincp/misc.php and make a backup copy of it
3)in this file find
Code:

WHERE title IN ('bbcode_quote', 'bbcode_php', 'bbcode_code', 'bbcode_html', 'bbcode_video')
replace it with
Code:

WHERE title IN ('bbcode_quote', 'bbcode_php', 'bbcode_code', 'bbcode_html', 'bbcode_video', 'bbcode_highlight')
4) find
Code:

          'bbcode_video' =>& $bbcodelist["$tlist[bbcode_video]"],
add afrer
Code:

            'bbcode_highlight' =>& $bbcodelist["$tlist[bbcode_highlight]"],
5) find
Code:

            'bbcode_video' => intval($tlist['bbcode_video_styleid']),
add after
Code:

            'bbcode_highlight' => intval($tlist['bbcode_highlight']),
5) upload this file to ftp
6) go to admin panel and rebuild post cache

Hack usage:
[ syntax = cpp ] or [ highlight = cpp ] or [ code = cpp ] (without spaces)


I also would reccomend to obtain latest version of geshi.

b6gm6n 01-26-2010 05:27 AM

fixed my no-color problem, paths were out...great mod thanks

EDAInsight 01-29-2010 01:10 PM

Can this mod be used in VB 4.x ?


All times are GMT. The time now is 05:09 PM.

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.01417 seconds
  • Memory Usage 1,733KB
  • 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
  • (6)bbcode_code_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