vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How Can I Make BBC Codes?? (https://vborg.vbsupport.ru/showthread.php?t=155176)

Khalid-B 08-14-2007 05:41 AM

How Can I Make BBC Codes??
 
Hello,

Wanna information about BBC Codes ,

How can i make BBC Codes ?
How can i learn about this ?

Please provide some information.
Thanks

Eikinskjaldi 08-14-2007 06:09 AM

in the acp is an option for admins to make "simple" bbcodes. If you want something more interesting, such as a database call or php code to replace the tag with some text, you will have to muck around with class_bbcode.php, or write a plugin therefore.

Khalid-B 08-14-2007 06:26 AM

Quote:

Originally Posted by Eikinskjaldi (Post 1317060)
. If you want something more interesting, such as a database call or php code to replace the tag with some text, you will have to muck around with class_bbcode.php, or write a plugin therefore.


where can i learn about this ?

Thanks a lot for information .

Eikinskjaldi 08-14-2007 07:40 AM

Quote:

Originally Posted by nosherwan9 (Post 1317066)
where can i learn about this ?

Thanks a lot for information .

Beats me mate. I just read the file and started editing it.

Marco van Herwaarden 08-14-2007 08:54 AM

In the vBulletin manual: Custom BB Codes

Eikinskjaldi 08-14-2007 09:07 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1317132)
In the vBulletin manual: Custom BB Codes

He asked for something more complex than the simple option offered in the acp. I assume there are hooks that would allow new bbcode as plugins? (for those not Real Man(tm) enough to edit the code)

Marco van Herwaarden 08-14-2007 09:12 AM

Where did he ask for anything more advanced then the buildin BB-Codes options??

PS Maybe he should go to www.bbc.co.uk for BBC Codes ;)

Eikinskjaldi 08-14-2007 10:31 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1317161)
Where did he ask for anything more advanced then the buildin BB-Codes options??

PS Maybe he should go to www.bbc.co.uk for BBC Codes ;)

Check his quote of my post in post 3 "If you want something more interesting...."


co-ordinator made a funny.

Marco van Herwaarden 08-14-2007 11:30 AM

Ahh you are correct. Missed that he partially quoted your first reply.

In that case there might be Articles available explaing a how to do this.


All times are GMT. The time now is 02:03 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.01303 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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