The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I add the [noparse] BBCode to the post editor?
|
|
#2
|
||||
|
||||
|
create a new bbcode
title no parse bbcode tag name noparse save. If you want an image for it, just add one to :images/editor/noparse.gif create icon 16px x 16px in photoshop and save as noparse.gif That should work. --------------- Added [DATE]1267047285[/DATE] at [TIME]1267047285[/TIME] --------------- Ahh alternatively. goto template editor_toolbar_on find: <vb:if condition="!$show['basicbbcodeonly']"> <ul> Add after: <img src="images/buttons/noparse.gif" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_noparse" width="20" height="20" alt="Insert No Parse Tags" /> <vb:if condition="$show['basic_bbcode']"> |
|
#3
|
|||
|
|||
|
What's the HTML replacement for the code?
EDIT: Nevermind, the code is a default code that comes with vB. Basically I just have to add the icon as you suggested in your post edit.
|
|
#4
|
||||
|
||||
|
Your Welcome !
|
|
#5
|
|||
|
|||
|
Necroing this thread because I have the same question -- I want to add a button to my text editor toolbar that will wrap [noparse][/noparse] tags -- but the solution in post #2 above isn't working for me.
When I go to Admin CP > Styles & Templates > Search in Templates, I can't find a template called editor_toolbar_on, and I can't find code in any template that reads: <vb:if condition="!$show['basicbbcodeonly']"> <ul> Am I looking in the wrong place? |
|
#6
|
||||
|
||||
|
That is because you are looking at directions to a older version of vB than you have. This is why we tell people to start their own threads, instead of bringing up old ones.
![]() So do as was first suggested. create a new bbcode title no parse bbcode tag name noparse save. If you want an image for it, just add one to :images/editor/noparse.gif create icon 16px x 16px in photoshop and save as noparse.gif That should work. |
|
#7
|
|||
|
|||
|
No, I have vB 4, and this is the vB 4 discussion forum. Sorry for necroing a thread; just trying to be polite. Next time I'll start a new thread.
And, like, I said in my post, the directions in post #2 are not working for me. I tried both options. I tried creating a new BB code, but it won't let me save it unless I insert something in the HTML field. I cannot for the life of me find the proper HTML command for noparse. |
|
#8
|
||||
|
||||
|
It does not matter if this in the vB4 section, this was before the ckeditor which you are using.
Anyway, use this as the replacement. Code:
<noparse>{param}</noparse>
|
|
#10
|
||||
|
||||
|
What I posted above seems to work Kevin.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|