![]() |
html to bbcode addon in making..
most of my member they use html is there post (( <a href= , </a> ))
so i decided to make an add-on for this but i real dont know where shod i be looking i need to know what hook name do i use? and what php code do i run in post before its saves the post? PHP Code:
|
You could maybe use the hook 'bbcode_parse_start', and then the text would be in the variable $parsedtext (see includes/class_bbcode.php around line 360). There's also a variable $dohtml that says whether or not html is enabled in a specific area, so you could do this:
Code:
if (!$dohtml) { (BTW, I haven't tried this) |
All times are GMT. The time now is 09:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|