The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
Where are all the build in bb codes specified? In previous version of vbulletin I could edit the functions_bbcodeparse.php so that I could make a copy of a bb code. I want my users to ba able to choose if they want to enter the english version of the bb code, or the version of the bb code in their own language. For example [quote] in english, should work exactly as [citat] in swedish. I tried to search in the class_bbcode but could not find any regular expressions that matches a [quote]. |
#2
|
||||
|
||||
![]()
BB codes are defined in the function fetch_tag_list(). This is located at the end of class_bbcode.php. You can define your own tags by plugging into the hook in the function.
|
#3
|
|||
|
|||
![]()
Thanks. Works perfect!
--------------- Added [DATE]1233046535[/DATE] at [TIME]1233046535[/TIME] --------------- One more question. How do I make it show up in the bb code list? http://www.domain.com/misc.php?do=bbcode |
#4
|
||||
|
||||
![]()
Hook into misc_bbcode_complete and add your BB codes (see the loop on lines 466+ of misc.php - vB 3.8.0).
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|