vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Hack for alternate text formatting? TWiki or UBB style? (https://vborg.vbsupport.ru/showthread.php?t=6160)

12-31-2000 10:51 PM

Anyone aware of any hacks to allow an alternate method for text formatting (in addition or instead of vB Codes)?

There are some who favor TWiki's syntax and I'd like to be able to allow that in our vB.

Does this sound like a worthwhile hack? Simple or tough?

If simple, any coding ideas?

Thanks...

01-01-2001 12:01 AM

No hack needed.. You can create custom BBCodes in the Control Panel. Just type in what you want to use and what it should be replaced with.

01-01-2001 07:17 PM

Being unfamiliar with vB's Control Panel (haven't installed vB yet, just researching), I'm not aware of how it works.

When you say "Just type in what you want to use and what it should be replaced with" do you mean replacing one tag with another? As in, [bold] = [dark]?

This would most probably not work for TWiki style text formatting... as shown here: http://micc.vuse.vanderbilt.edu/twik...ormattingRules

any further ideas?

thanks...

01-01-2001 08:45 PM

he means replacing tags that he created (for example big text,medium text) with html tags.

01-01-2001 09:18 PM

Ah, so there is no way to do text formatting without using [] tags? For instance, here are some of TWiki's formatting rules:

CapitalizedWordsStickedTogether? will produce a link automatically.
Blank lines will create new paragraphs.
Words get bold by enclosing them in * asterisks
Words get italic by enclosing them in _ underscores
Words get bold italic by enclosing them in __ double-underscores
Words get shown in fixed font by enclosing them in = equal signs

What would it take to hack this type of functionality into vB? Hacking the parse engine? Coding a new one?


All times are GMT. The time now is 11:54 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.01087 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete