vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   I can't find it... (https://vborg.vbsupport.ru/showthread.php?t=192)

04-27-2000 05:41 PM

I'm having a problem finding the code that changes HTML (that has been defined as a vB code) back into vB code when the post is edited, am I missing something obvious?

And if you're wondering why I'm not just using the new vB code function, it's a complicated code... With attributes. :)

04-27-2000 08:22 PM

There is a control panel area where you can define your own - it is under custom BB codes in the left hand bar. The actual code that does the parseing is in global.php - parsebbcode I think.

John

04-28-2000 02:11 AM

Quote:

There is a control panel area where you can define your own - it is under custom BB codes in the left hand bar.
Yeah, I knew about that, but the code that I'm adding is too complicated for it (it's [swf width=x height=x]url[/swf]). :)

Quote:

The actual code that does the parseing is in global.php - parsebbcode I think.
That's part where I added my initial code, but it didn't look like it was going to change it back from html to vB code when people edit their posts. Does bbcodeparse take care of new posts and edits?

Thanks for your help! :)

04-28-2000 06:45 AM

Yup - just add your code into parsebbcode.

04-28-2000 06:48 AM

Great, thanks! That makes it even easier! :D


All times are GMT. The time now is 02:33 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.02391 seconds
  • Memory Usage 1,710KB
  • 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_quote_printable
  • (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