For private messages. Seems to work for me. Running phpBB 2.0.19, though it does have about 200 mods already...
Thanks for a really neat mod
Code: Select all
OPEN privmsg.php
FIND
$post_subject = $privmsg['privmsgs_subject'];
AFTER, ADD
// SMILIES IN TOPIC TITLE
$post_subject = smilies_pass($post_subject);
// END SMILIES IN TOPIC TITLE
FIND
$msg_subject = $row['privmsgs_subject'];
AFTER, ADD
// SMILIES IN TOPIC TITLE
$msg_subject = smilies_pass($msg_subject);
// END SMILIES IN TOPIC TITLE
Is there any way I can use a wildcard to exclude groups of smilies rather than individually?
ie
Code: Select all
$topic_title = str_replace("[i*]","",$$topic_title);
rather than
Code: Select all
$topic_title = str_replace("[i24]","",$$topic_title);
$topic_title = str_replace("[i25]","",$$topic_title);
$topic_title = str_replace("[i26]","",$$topic_title);