phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Smilies in topic title


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
Chapter 24
Board Member



Joined: 30 Dec 2008

Posts: 36



PostPosted: Sat Mar 14, 2009 5:19 pm 
Post subject: Smilies in topic title

Can anyone suggest the best MOD that allows smilies in topic titles?
If possible, I would like to be able to set it up so these smilies could only be used in certain areas such as the Lounge/Off-topic forum and in private message titles.
Thanks
Back to top
Red Dog
Board Member



Joined: 06 Mar 2009

Posts: 41


flag
PostPosted: Mon Mar 16, 2009 8:21 pm 
Post subject: Re: Smilies in topic title

This is for adding smilies to topic titles:
Code:
OPEN
viewtopic.php

FIND
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

AFTER, ADD
$topic_title = smilies_pass($topic_title);

OPEN
viewforum.php

FIND
include($phpbb_root_path . 'common.'.$phpEx);

AFTER, ADD
include($phpbb_root_path . 'includes/bbcode.' .$phpEx);

FIND
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];

AFTER, ADD
$topic_title = smilies_pass($topic_title);
Back to top
Chapter 24
Board Member



Joined: 30 Dec 2008

Posts: 36



PostPosted: Tue Mar 17, 2009 3:21 pm 
Post subject: Re: Smilies in topic title

I will try that out. Thank you! icon_arrow.gif icon_smile.gif
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0177 seconds using 15 queries. (SQL 0.0025 Parse 0.0005 Other 0.0146)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo