1 skinnybloke Jun 01, 2005 19:19
3 skinnybloke Jun 02, 2005 12:45
Hi this is the code in the display page which I have modifed to suit my needs:
<?php // ------------------------------------ START OF POSTS ---------------------- ?>
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() )
{
/* $MainList->date_if_changed(); */
?>
<div class="bPost" lang="<?php $Item->lang() ?>">
<?php
locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
$Item->anchor(); // Anchor for permalinks to refer to
?>
</div>
<h2><?php $Item->issue_date('d.m.Y'); ?> - <?php $Item->title(); ?></h2>
<div class="bText">
<?php $Item->content(); ?>
<?php link_pages() ?>
</div>
<?php } // ---------------------------------- END OF POSTS -------------------------- ?>
The url the problem can be seen on is:
4 skinnybloke Jun 02, 2005 13:18
oops - slightly wrong there - tere should not be a php tag terminator "?>" on the "Start of posts" comment line.
5 personman Jun 02, 2005 14:15
I see what's happening. The :p in mailto:paul. . . is getting turned into a smilie. Try posting with smilies turned off.
6 skinnybloke Jun 02, 2005 14:59
hi - the smilies box on my admin screen is ticked and greyed out so I cannot change it. Can this be done in one of the plugin/config files?
7 personman Jun 02, 2005 15:06
Yes, that's right. Go to plugins/renderers/_smilies.renderer.php and set it to
var apply_when = 'opt-out';
8 skinnybloke Jun 02, 2005 15:15
Hi - that works fine and will do me. I have set it to opt-in as I doubt if smilies will ever be used on this site. Thanks for your help.
p.s. is this a bug?
9 isaac Jun 10, 2005 00:49
I would call this a bug. The smilies plugin should detect whether or not a : P or : D or whatever is a part of a tag.
I've had problems with D&D (as in dungeons and dragons) getting turned into D&D and then into D& :D, but just never bothered to fix it since you can work around it pretty easily.
10 rachelworth Jun 30, 2005 04:47
Thanks, guys, for asking and answering this question. I've been so frustrated with this problem today and now it's fine.
Rachel
skinnybloke wrote:
Hi - that works fine and will do me. I have set it to opt-in as I doubt if smilies will ever be used on this site. Thanks for your help.
p.s. is this a bug?
can you provide a link to the page where this is happening?