Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: vmgamer - marraskuu 27, 2008, 05:25:23 IP

Otsikko: How to Make links in WAP mode Clickable?
Kirjoitti: vmgamer - marraskuu 27, 2008, 05:25:23 IP
Big problem for me,
some of my visitor came from google, they're visiting wap version,
and
all link isn't clickable, eg:download
how to make the link clickable in wap mode?
Otsikko: Re: How to Make links in WAP mode Clickable?
Kirjoitti: Nathaniel - joulukuu 05, 2008, 04:25:49 AP
Open up your 'Themes/default/wireless.template.php' file.

Replace this code:
// This is a special modification to the post so it will work on phones:
$wireless_message = strip_tags(str_replace(array('<div class="quote">', '<div class="code">', '</div>'), array('', '', '<br />--<br />'), $message['body']), '<br>');


With this code:
// This is a special modification to the post so it will work on phones:
$wireless_message = strip_tags(str_replace(array('<div class="quote">', '<div class="code">', '</div>'), array('', '', '<br />--<br />'), $message['body']), '<br><a>');
Otsikko: Re: How to Make links in WAP mode Clickable?
Kirjoitti: vmgamer - helmikuu 02, 2009, 04:23:44 IP
THANNKXSS :)
Otsikko: Re: How to Make links in WAP mode Clickable?
Kirjoitti: ChrisFBBS - helmikuu 13, 2009, 07:30:29 AP
Thank you for this! It works perfectly. I had to replace 3 different sections of that text though.
Otsikko: Re: How to Make links in WAP mode Clickable?
Kirjoitti: ChrisFBBS - maaliskuu 14, 2009, 10:58:31 AP
Thanks for this post!