View Full Version : Bbcode problem in admincp
rubicon
11-19-2018, 11:36 AM
Hello,
I have a big problem with bbcode in admincp.
All the bbcodes that I add manually in admincp do not work.
They are displayed in the message editor but do not work.
But the default vbulletin bbcodes work as well as those installed with hacks.
Do you have an idea of my problem?
Thank you for your help.
snakes1100
11-19-2018, 07:20 PM
You would need to post an example if you want help from ppl
rubicon
11-19-2018, 07:29 PM
I send you a test on your PM with a count from my forum
It's a bbcode spoiler
--------------- Added 1542663530 at 1542663530 ---------------
The code for spoiler:
<div class="spoiler_wrapper"><div class="spoiler_button_wrapper"><input type="button" value="Show" class="spoiler_button" title="Reveal Contents" onclick="var el = this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0];if(el.style.visibility == 'hidden')
{el.style.visibility = 'visible'; el.style.maxHeight = 'none'; this.value = 'Hide'; this.title='Conceal Contents';} else {el.style.visibility = 'hidden'; el.style.maxHeight = '0'; this.value='Show'; this.title='Reveal Contents'}"></div><div class="spoiler_text"><div name="spoiler" style="visibility: hidden; overflow: hidden; max-height: 0">{param}</div></div></div>
From the hack MarkFL - Spoiler BBCode v1.5
snakes1100
11-19-2018, 07:45 PM
Explain how its not working on your site.
rubicon
11-19-2018, 07:51 PM
By clicking on show, the text should appear
snakes1100
11-19-2018, 07:55 PM
I just installed his addon on a site with 4.2.5, it works as it should.
My guess at this point is another of your addons is breaking it or code that youve added to a template.
Try disabling any addon you have installed related to posts & see if it works.
rubicon
11-19-2018, 07:55 PM
I tested several bbcode and none work
snakes1100
11-19-2018, 08:03 PM
I believe you broke it with your forced font inherit
The text in red should be last after reveal contents.
snakes1100
11-19-2018, 08:05 PM
I tested several bbcode and none work
It works as it should on a fresh install with 4.2.5
rubicon
11-19-2018, 08:07 PM
I think The script does not work.
What to do to correct?
--------------- Added 1542665550 at 1542665550 ---------------
With a simple bbcode, the problem is the same
snakes1100
11-19-2018, 08:13 PM
The script works just fine, the issue is your site & what i believe is breaking the code, which is a font style inherit call wrapped around the code.
As i already said, start by disabling any addons that relate to posts.
If your forcing a font usage on the site, disable it & use a default style to test its working.
rubicon
11-19-2018, 08:17 PM
I tested without the addons and the same.
I'm testing default style
--------------- Added 1542665940 at 1542665940 ---------------
I test tomorrow because here in Belgium, it's 11:30PM
Sleeping
By and tomorrow and thank you
snakes1100
11-19-2018, 08:29 PM
welcome
rubicon
11-20-2018, 08:25 AM
If your forcing a font usage on the site, disable it & use a default style to test its working.
Hello,
where is this option in vbulletin ?
snakes1100
11-20-2018, 08:10 PM
There isnt a setting, as i said its in your style.
rubicon
11-24-2018, 07:46 PM
Yes thanks but where in the style ?
snakes1100
11-25-2018, 11:42 AM
You have a custom style, you'll need to check your templates.
Enable this in the admincp
Add Template Name in HTML Comments
Then you can do an inspect by right clicking on your page & checking the coding.
rubicon
11-25-2018, 01:49 PM
Hello,
My style is abyss.
I'm in the template but I do not understand what I have to look for
rubicon
11-27-2018, 10:32 AM
The script works just fine, the issue is your site & what i believe is breaking the code, which is a font style inherit call wrapped around the code.
As i already said, start by disabling any addons that relate to posts.
If your forcing a font usage on the site, disable it & use a default style to test its working.
Here font usage on the site: font-family: tahoma,verdana,arial,sans-serif
For information, if I use the style vbulletin, I have the same problem.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.