613 questions
-1
votes
0
answers
37
views
Collapsible problem , wont work when published (toyhouse) [closed]
for some reason the code works perfectly fine in source code / preview mode, but once i publish it the collapsible completely breaks or refuses to open properly.
i think the issue might be because i ...
0
votes
0
answers
43
views
Using preg_replace for bbcodes to convert texts
I'm in the process of upgrading my site's engine. The new version does not support bbcodes, and all my forum posts and articles are created using it.
I want to make a script to convert all text with ...
0
votes
1
answer
86
views
Issue with BBCode image tag on React
I have such component which renders the BBCode image tag on my website on React:
Code:
BBCodeComponent.tsx:
import React from "react";
import ReactDOMServer from "react-dom/server";...
1
vote
1
answer
392
views
MemoQ regex tagger issue with [xxx]yyy[/xxx] (SOLVED IN COMMENTS)
I have been banging my head with this for the last hour and a half and cannot make it work. I am trying to create a regular expression for MemoQ's Regex tagger.
I have a series of these:
zzz [xxx]yyy[/...
0
votes
2
answers
1k
views
Godot 4: How to enter unicode character into RichTextLabel via character code?
I'm using a RichTextLabel in Godot 4 and I'm trying to insert a special unicode character into it (I'm using fontawesome). I know the unicode index of said character. How do I add it to the label via ...
1
vote
1
answer
122
views
Custom Pandoc Writer/Filter: Output BulletList as BBCode
I'd like to convert this markdown list (list.md):
- Europe
- Germany
- Berlin
- Hamburg
To the following output (BBCode):
[list]
[*]Europe
[list]
[*]Germany
[list]
...
0
votes
0
answers
23
views
Best solution implementing "basic" bbcode with php [duplicate]
I'm writing a board software which have basic styling such as bold, italic, underline, strikethrough. I use the bbcode syntax for them. For full bbcode support/compatible, I will need regex, but for ...
1
vote
2
answers
300
views
Is it possible to use HTML markup, to "force" BBCode to imbed images with specific dimensions?
I spend quite a bit of time asking questions and answering questions in allot of education/learning oriented communities. More recent forums use Markdown but there are still quite allot of forums ...
0
votes
1
answer
69
views
Replacing BB Code table tag using preg_replace
i have the below string.
$string="My Table
[table][tr][th]No.[/th][th]Content[/th][/tr][tr][td]1[/td][td]First[/td][/tr][tr][td]2[/td][td]Second[/td][/tr][tr][td]3[/td][td]Third[/td][/tr][/table]...
0
votes
1
answer
487
views
Godot how do i erase characters using backspace
I'm trying to program a textbox that I can write in using the keyboard; but the backspace key doesn't erase text, nothing happens when I press it.
extends Node2D
onready var Text = $Panel/...
0
votes
1
answer
588
views
BBCode parser to HTML
I use the BBCode Library to format some bbcode texts.
I write the next code :
import bbcode
import re
# Installing simple formatters.
parser = bbcode.Parser()
parser.add_simple_formatter('p', '<p&...
2
votes
0
answers
185
views
How to change the output type in ckeditor 5 from bbcode to html
I downloaded ckeditor and used it without any changes in the project, but when sending to the backend, it displays bbcode instead of html tags.
This problem was easily solved in version 4, but I could ...
0
votes
0
answers
32
views
Declaration of class_bbcode
Hi Guys I run an old php board and I've a warning:
<Declaration of class_bbcode::convert_emoticon($matches = Array) should be compatible with class_bbcode_core::convert_emoticon($code = '', $image ...
0
votes
1
answer
215
views
YouTube embedded video issue
I want to embed the YouTube video on my website. The problem is with timeline and origin link properties. For example, I have some text and 2 bbCode video tags, one with timeline and 2nd without ...
0
votes
1
answer
105
views
Trying to get `sed `to fix a phpBB board - but I cannot get my regexp to work
I have an ancient phpBB3 board which has gone through several updates over its 15+ years of existence. Sometimes, in the distant past, such updates would partially fail, leaving all sorts of 'garbage' ...