Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
KiloKilo Posted December 23, 2006 Posted December 23, 2006 We use IPB 2.1.7.I was making the newsletter for our forum and had it all nicely set up.But when testing the newsletter I noticed that all not of the styles (NOT ALL) were not taken care off. For a moment I was puzzled why the IPB Post Office would only allow certain styles and not others. After sending the newsletter again but without HTML support, I saw that IPB altered the document so that all the styles beginning with a point did not work. I tried putting double points with those styles and it worked. IPB only deletes the first point.So short for me a simple adjustment of the styles did the trick;From; <style type="text/css"> body { font-family: Arial, Helvetica, sans-serif; font-size:11px; color:#03182d; } p { font-family: Arial, Helvetica, sans-serif; font-size:11px; color:#03182d; } .meer{ float:right; } .H1 { font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#03182d; background-color:#5da1d7; } .H2 { font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#5da1d7; background-color:#03182d; text-align:center; } </stles> To; <style type="text/css"> body { font-family: Arial, Helvetica, sans-serif; font-size:11px; color:#03182d; } p { font-family: Arial, Helvetica, sans-serif; font-size:11px; color:#03182d; } ..meer{ float:right; } ..H1 { font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#03182d; background-color:#5da1d7; } ..H2 { font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; color:#5da1d7; background-color:#03182d; text-align:center; } </styles>Altough it worked in the end I have the feeling this is small but regretful mistake of the IPB script somewhere. Until the time it is changed I know the double-dot will do the trick.
Si. Posted December 24, 2006 Posted December 24, 2006 Our community chat forum areas are for off-topic discussion only. Please do not post topics about IPS or its products and services here. We provide other forum areas for IPS discussion.Do you need technical support on IPS products or services?You can obtain support via the client area, or you can try to obtain peer-to-peer support at IPS Beyond. :whistle:
KiloKilo Posted December 25, 2006 Posted December 25, 2006 No help needed, just trying to report a semi-bug and a semi-solution. Just posted in the wrong section I guess. Feel free to move the thread.
KiloKilo Posted December 25, 2006 Posted December 25, 2006 ... Just posted in the wrong section I guess. Feel free to move the thread.To MOD: please move
N0valyfe Posted April 3, 2007 Posted April 3, 2007 Caution(Windows only) When PHP is talking to a SMTP server directly, if a full stop is found on the start of a line, it is removed. To counter-act this, replace these occurrences with a double dot.<?php$text = str_replace("\n.", "\n..", $text);?>Quoted from php.net http://uk2.php.net/manual/en/function.mail.php, so it isnt an ipb bug
Recommended Posts
Archived
This topic is now archived and is closed to further replies.