vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328205

Have Custom BB Code (<H2> tags) display as rendered/styled Headings in WYSIWYG Editor
by rushabh
24 Aug 2020 12:20

1 Attachment(s)
Have searched around but couldn't find a solution to this.


We've added a Custom BBcode via the vBulletin admin, for html <h2> headings.

They work fine and show up perfectly in submitted posts.

However, when viewed in the WYSIWYG editor, they show up as the bbcode without any parsing. eg. they look like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attachment 157715

How can I get the custom bbcode h2 tags to render / convert to HTML in the WYSIWYG editor?

Even pointing me to the right file (vBulletin v3.6.8) would be really helpful, as I've looked through a few but haven't quite had any success.


Thanks,
R

Nas.er 15 Sep 2020 03:12

I had the same issue before and i tried to make it work but no luck. Until i made all my threads h2 tag by "postbit_legacy"

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Which thats improved seo for my website and i put h1 tag on thread name "showthread"

rushabh 15 Sep 2020 18:53

Quote:

Originally Posted by Nas.er (Post 2603974)
I had the same issue before and i tried to make it work but no luck.

Bummer. I'd imagine its a fairly easy change to make -- though I just can't seem to find the right PHP file.


Quote:

Originally Posted by Nas.er (Post 2603974)
Until i made all my threads h2 tag by "postbit_legacy"

Whoa... Interesting to hear that worked well for you.


All times are GMT. The time now is 21:13.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.