Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Haz Spoiler code
#1
Eine neue Erweiterung wurde veröffentlicht: Haz Spoiler code

Zitat:install: upload the single file to /inc/plugins and activate it in your AdminCP.

Code:
Code:
[spoiler=(title)]content[/spoiler]
After activate this plugin, using above code will help you hiding the content.
this tag is nestable, and is using JQuery to toggle its display style. 
Zitieren
#2
(29.08.2015, 04:25)MyBB.de Bot schrieb: Eine neue Erweiterung wurde veröffentlicht: Haz Spoiler code

Zitat:install: upload the single file to /inc/plugins and activate it in your AdminCP.

Code:
Code:
[spoiler=(title)]content[/spoiler]

After activate this plugin, using above code will help you hiding the content.
this tag is nestable, and is using JQuery to toggle its display style. 


By using äüöÄÜÖ in title this pluging isnt working!!!
Zitieren
#3
Suche in der Plugin Datei nach

PHP-Code:
$pattern = array("#\[spoiler=(?:"|\"|')?([a-zA-Z0-9!:\#\.\? \',\-\(\)]*?)[\"']?(?:"|\"|')?\](.*?)\[\/spoiler\](\r\n?|\n?)#si""#\[spoiler\](.*?)\[\/spoiler\](\r\n?|\n?)#si",); 

ändern zu

PHP-Code:
$pattern = array("#\[spoiler=(?:"|\"|')?([a-zA-Z0-9_äÄöÖüÜß!:\#\.\? \',\-\(\)]*?)[\"']?(?:"|\"|')?\](.*?)\[\/spoiler\](\r\n?|\n?)#si""#\[spoiler\](.*?)\[\/spoiler\](\r\n?|\n?)#si",); 

Hoffe das hilft dir weiter.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Haz Phide code MyBB.de Bot 0 1.086 29.08.2015, 22:50
Letzter Beitrag: MyBB.de Bot
  Spoiler Code MyBB.de Bot 8 4.581 27.05.2010, 10:12
Letzter Beitrag: StefanT