View Single Post
  #1  
Old 5th January 2014, 23:17
Titya Titya is offline
Banned
 
Join Date: Dec 2010
Belgium
Posts: 30
Default strikethrough text
Help do you ask, how can I display the message board of the "crossed-out text"? [s] xxxxxx [/ s] TS5.6


solved: open include/ ts_custom_bbcode.php

look for this: $text = preg_replace("/\[blink\]((\s|.)+?)\[\/blink\]/", "<blink>\\1</blink>", $text);

Put this under your: $text = preg_replace("/\[s\]((\s|.)+?)\[\/s\]/", "<s>\\1</s>", $text);

and save.


open include/globalfunctions.php


look for this: '#\\[size=(xx-small|x-small|small|medium|large|x-large|xx-large)\\](.*?)\\[/size\\]#si',


Put this under your: '#\\[s= strike\\](.*?)\[/s\\]#si',

and save.

Last edited by Titya; 6th January 2014 at 10:22.
Reply With Quote
The Following User Says Thank You to Titya For This Useful Post:
Tankcsapda (6th January 2014)