https://www.icyphoenix.com/viewtopic.php?f=35&t=5711
-----------------------------------
wachowski
Sun 12 Apr, 2009 15:39

Removing Unnecessary BBcodes
-----------------------------------
IP Version: 1.2.0.27c
PHPBB: 2.0.23
 
Well my problem that I don't know how to modify the bbcodes I want to be shown when posting.

In the image beneath you can see what I mean
[img]http://www.icyphoenix.com/files/images/7030/bbcode.gif[/img] 

In my opinion there are too many buttons, so it's hard to some noob users to know wich one he's got to use e.g: just to post an image.
So, can someone tell me not how to delete some of those bbcodes but how can I hide the ones I dont like, please?

Thanks in advance
;)


-----------------------------------
Lopalong
Sun 12 Apr, 2009 16:18

Re: Removing Unnecessary BBcodes
-----------------------------------
bbcb_mg.tpl

You can strip or comment-out the buttons from the editor without having to edit .php files to remove the code also. ;)


-----------------------------------
wachowski
Sun 12 Apr, 2009 18:25

Re: Removing Unnecessary BBcodes
-----------------------------------
Thx for your answer, I stripped the codes didn't like from the file you said and then cleaned the cache, but they still remain ther exactly like in the image above when posting.

What should I do?


Thanks


-----------------------------------
Lopalong
Mon 13 Apr, 2009 00:10

Re: Removing Unnecessary BBcodes
-----------------------------------
You need to remove the codes from the bbcb_mg.tpl file in the template set you are using.

You may need to clean the template cache, and that's about all you should have to do. ')


-----------------------------------
wachowski
Mon 13 Apr, 2009 11:42

Re: Removing Unnecessary BBcodes
-----------------------------------
[quote user="Lopalong" post="38292"]You need to remove the codes from the bbcb_mg.tpl file in the template set you are using.

You may need to clean the template cache, and that's about all you should have to do. ')[/quote]

Oh ok, I didn't notice it was [b].tpl[/b], so I edited the bbcb_mg[b].php[/b] file I thats why it didnt work.
Now it's ok


Thx


-----------------------------------
Lopalong
Mon 13 Apr, 2009 12:24

Re: Removing Unnecessary BBcodes
-----------------------------------
Nothing lost! Look at the benefit of all of the extra stuff you learned by doing it the long way round.  :mricy:


