[countdown='2024-12-24','red']Bis Heiligabend[/countdown]
[countdown='2025-01-01',' blue']Bis zum neuen Jahr 2025[/countdown]
[countdown='2024-11-30',' #6d02cb']Bis zum neuen Job[/countdown]
[countdown='2024-12-24','red']Bis Heiligabend[/countdown]
[countdown='2025-01-01',' blue']Bis zum neuen Jahr 2025[/countdown]
[countdown='2024-11-30',' #6d02cb']Bis zum neuen Job[/countdown]
Hallo mipu.
Erstmal vielen Dank für den Countdown.
Wie wird er denn richtig eingestellt? Wenn ich ihn über den Editor mit Klick auf die Uhr erstelle, ist er ja noch leer.
Wenn ich dann countdown='2024-12-24','red']Bis Heiligabend[/countdown einfüge, steht nur Bis Heiligabend da
Du musst ihn schon so eingeben
[countdown='2024-11-25','red']Test[/countdown]
[countdown='2024-11-25','red']Test[/countdown]
Ohne Titel
[countdown='2024-11-25','red'][/countdown]
[countdown='2024-11-25','red'][/countdown]
Bitte danach die Seite aktualieren.
so sieht das bei mir aus
Hast du die Seite aktualisiert.
Bitte Link zur Live Ansicht.
Oh....
Ich duck mich jetzt unauffällig weg.
Ich musste das Absenden. Vorher hatte ich nur in der Vorschau geguckt.
Kann ich den Text und das Datum anpassen?
Hab mir die Frage selbst beantwortet. Suuuuuper
![]()
Kann ich den Text und das Datum anpassen?
Sicher doch.
Das
[countdown=2025-03-24,#cb02c5]Angepasst[/countdown]
ergibt das
[countdown='2025-03-24','#cb02c5']Angepasst[/countdown]
Text kannst du auch weglassen.
Ein absolutes Träumchen. Er lässt sich aber nicht zentriert darstellen- aber das ist ok so. Danke
Na dann warte ich einfach ![]()
Werde die Tage ein Update bringen, dort kann man dann einstellen wie der Countdown angezeigt werden soll.
Cool. Vielleicht auch noch die deutsche Schreibweise Zeiten?
In Verbindung mit dem Plugin kommt ne Fehlermeldung
Sun, 24 Nov 2024 19:22:38 +0000
Message: wcf\system\bbcode\CountdownBBCode::getParsedTag(): Return value must be of type string, none returned
PHP version: 8.2.25
WoltLab Suite version: 6.0.19
Request URI: POST /index.php?ajax-proxy/&t=ddf988174c0432446215f7f612c90e34506b49ed9acbce2d9e63cf88a41725b1-kivbAYr+UGP2l9jCJj2Z3A==
Referrer: https://borderline-forum.eu/forum/unread-thread-list/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Peak Memory Usage: 10774512/536870912
======
Error Class: TypeError
Error Message: wcf\system\bbcode\CountdownBBCode::getParsedTag(): Return value must be of type string, none returned
Error Code: 0
File: /usr/www/users/borderc/borderline-forum.eu/lib/system/bbcode/CountdownBBCode.class.php (33)
Extra Information: YToxOntpOjA7YToyOntpOjA7czoxNjoiVGVtcGxhdGUgQ29udGV4dCI7aToxO3M6MTMyOiIgfSA/PgoJCQk8L3VsPgoJCTw/cGhwIH0gPz4KCQkKPT09PT4gCQk8ZGl2IGNsYXNzPSJjb250YWluZXJDb250ZW50Ij48Pz0kdGhpcy0+dlsncG9zdCddLT5nZXRFeGNlcnB0KCk7Pz48L2Rpdj4KCQkKCQkKCTwvZGl2Pgo8L2Rpdj4iO319
Stack Trace: [{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/bbcode\/HtmlBBCodeParser.class.php","line":337,"function":"getParsedTag","class":"wcf\\system\\bbcode\\CountdownBBCode","type":"->","args":[{"attributes":"[redacted]","name":"[redacted]"},"<!-- META_CODE_INNER_CONTENT -->",{"name":"[redacted]","__parents":"[redacted]"},"wcf\\system\\bbcode\\HtmlBBCodeParser"]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/html\/output\/node\/HtmlOutputNodeWoltlabMetacode.class.php","line":52,"function":"getHtmlOutput","class":"wcf\\system\\bbcode\\HtmlBBCodeParser","type":"->","args":["countdown",[],"DOMElement"]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/html\/node\/AbstractHtmlNodeProcessor.class.php","line":120,"function":"replaceTag","class":"wcf\\system\\html\\output\\node\\HtmlOutputNodeWoltlabMetacode","type":"->","args":[{"name":"[redacted]","attributes":"[redacted]","element":"[redacted]"}]},{"function":"wcf\\system\\html\\node\\{closure}","class":"wcf\\system\\html\\node\\AbstractHtmlNodeProcessor","type":"::","args":["[error_during_sanitization]"],"file":"[internal function]","line":"?"},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/html\/node\/AbstractHtmlNodeProcessor.class.php","line":115,"function":"preg_replace_callback","args":["~<wcfNode-f9d91be8dc327d340ed721c5ccfe8592>(?P<content>[\\s\\S]*)<\/wcfNode-f9d91be8dc327d340ed721c5ccfe8592>~","Closure","Bis Weihnachten <wcfNode-f9d91be8dc327d340ed721c5ccfe8592>2024-12-24<\/wcfNode-f9d91be8dc327d340ed721c5ccfe8592> "],"class":"","type":""},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/html\/output\/node\/HtmlOutputNodeProcessor.class.php","line":199,"function":"getHtml","class":"wcf\\system\\html\\node\\AbstractHtmlNodeProcessor","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/html\/output\/HtmlOutputProcessor.class.php","line":103,"function":"getHtml","class":"wcf\\system\\html\\output\\node\\HtmlOutputNodeProcessor","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/forum\/lib\/data\/post\/Post.class.php","line":124,"function":"getHtml","class":"wcf\\system\\html\\output\\HtmlOutputProcessor","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/forum\/lib\/data\/post\/Post.class.php","line":173,"function":"getSimplifiedFormattedMessage","class":"wbb\\data\\post\\Post","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/data\/DatabaseObjectDecorator.class.php","line":95,"function":"getExcerpt","class":"wbb\\data\\post\\Post","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/templates\/compiled\/0_wbb_1_postPreview.php","line":43,"function":"__call","class":"wcf\\data\\DatabaseObjectDecorator","type":"->","args":["getExcerpt",[]]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/template\/TemplateEngine.class.php","line":340,"args":["\/usr\/www\/users\/borderc\/borderline-forum.eu\/templates\/compiled\/0_wbb_1_postPreview.php"],"function":"include","class":"","type":""},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/template\/TemplateEngine.class.php","line":581,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["postPreview","wbb",false]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/forum\/lib\/data\/thread\/ThreadAction.class.php","line":831,"function":"fetch","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["postPreview","wbb",{"post":"[redacted]"}]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":215,"function":"getPopover","class":"wbb\\data\\thread\\ThreadAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/action\/AJAXProxyAction.class.php","line":92,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/action\/AJAXInvokeAction.class.php","line":110,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/action\/AbstractAction.class.php","line":56,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/action\/AJAXInvokeAction.class.php","line":64,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"\/usr\/www\/users\/borderc\/borderline-forum.eu\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
Alles anzeigen
Danke für die Info schaue ich mir an.
Okay danke
[countdown=' 2025-03-24','#cb02c5'][/countdown]
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!