![]() |
How do you edit default bbcode?
How do you edit default bbcode? I forgot how to do this :(
|
If it's quote/code tags - look in the related template.
My forum has some SQL errors so I can't look for the other ones, sorry! |
it's the [img] bbcode I'm trying to edit.
--------------- Added [DATE]1248497420[/DATE] at [TIME]1248497420[/TIME] --------------- no one knows??? Woooooooooooooooooooooooooooow :-( |
Modify the BB code handler for the IMG tag, then you can do whatever the hell you want in processing the tag.
|
yes but where I need to go to do it?
|
I believe you would need to change the function handle_bbcode_img() in includes/class_bbcode.php.
|
kh99, is that the same place you'd go to change the alt text that appears for the default Insert Image button in forum posts, etc? doing a search for insertimage.gif and "Insert Image" doesn't uncover anything in that php document.
|
That php file is only where bbcodes are processed. Using "search in phrases" I find a phrase with text "Insert Image", so that may be it (although I haven't tried it). Try adding a translation for that phrase.
|
Thanks for that sugg.
FYI. It seems that if you want to override the default behavior you just add a new custom bb code with the same name as a default one. ie to override the IMG tag, just create a new custom tag and name it IMG with whatever properties you want. Fun stuff! |
Quote:
|
All times are GMT. The time now is 04:04 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:
|