The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Gazette (http://www.thevbgeek.com/forumdisplay.php?f=56)
-   -   Text Colors and Introduction Timestamp (http://www.thevbgeek.com/showthread.php?t=4964)

BuckGB 01-27-2009 07:28 AM

Text Colors and Introduction Timestamp
 
I just sent out my first newsletter, but for whatever reason the text links are using the default blue/purple colors rather than what I have in my CSS. The newsletter looks fine when previewed, but the text link colors don't carry over to the actual HTML email. Any idea how I can avoid this issue in the future?

Also, you'll notice my newsletter introduction has a timestamp of 12-31-1969 rather than the current date. How can I ensure that the correct time is used in the next newsletter I send out?

Thanks for the help!

Morgan 01-29-2009 05:09 PM

Look at the HTML source for the email and see if the CSS for the links is there or has been stripped out or overridden by the email reader. For the date, what modules/setup are you using for the 'Newsletter Introduction' section?

BuckGB 01-29-2009 05:14 PM

I'm using the Info Block with "Use Issue Text" set to Yes. It looks like all of the necessary CSS elements are there when I look at the newsletter's source HTML. I can forward you the emailed version, if that helps.

Morgan 01-29-2009 05:40 PM

Go to the ACP -> GAZ -> Issues -> click the issue with the bad date -> set Refresh Layout to yes -> click the Save button and then do a preview. Is the date correct? For the CSS in the email, I'll need to see the HTML source. View the HTML source, copy-paste, and save to a text file, and then email the text file to the address in the PM sent to you. Do not forward the email to me; I need to see the HTML source.

BuckGB 01-29-2009 08:35 PM

Even after refreshing the layout, the date is wrong in the preview. The source has been emailed to you.

Morgan 02-02-2009 01:38 AM

The links appear tan, and when hovered over appear yellow, in the text file you sent. What do you see when you save the text file you sent to your local machine, to a file named newslettersource.html and view it with your browser?

For the date, what do you get when you run this query:
Code:

# add your vB table prefix to the gaz_data table name if you use a prefix
SELECT postdate, displaydate, frequency FROM gaz_data WHERE id = 9;


BuckGB 02-02-2009 06:44 PM

The CSS works when I save the text to an HTML file and view it locally. However, it isn't working when viewed in Outlook or any other email client that I have access to. After sending out the newsletter, I received a lot of replies from people claiming that they could barely see the blue links on a dark background, so it's obviously an issue for some (if not most or all) of the recipients.

Running that SQL query returns zeroes and a frequency of 1233032400.

Morgan 02-05-2009 05:33 PM

It could be the email reader that overrides the CSS you are applying to the links. What happens if you look at the email using a different email reader?

For the date, what frequency are you using? With that the date can be set via a query: TIMENOW - frequency = 1233032400.

BuckGB 02-05-2009 08:09 PM

The only email clients I've tried are Outlook 2007 and a couple of web-based ones (such as mail2web). The CSS does not work in anything I've tried so far. Do you have any recommendations for another client I can check it in? If it doesn't work in Outlook, though, that's a big problem.

I turned off auto-generation of issues so I could manually send them out. With that said, the frequency is set to "Yearly", even though it's not active.

Morgan 02-10-2009 04:14 PM

Try using the 'email to friend' option on the main newsletter.php page and send me a copy to the email address in that PM and I can see how it looks in my email reader. For the date, try running the following query:
Code:

# add your vB table prefix to the gaz_data table name if you use a prefix
UPDATE gaz_data SET postdate = 1233032400, displaydate = 1233032400 WHERE id = 9;

Afterward go to the ACP -> GAZ -> Issues -> click the issue with the bad date -> set Refresh Layout to yes -> click the Save button and then do a preview. Is the date correct?


All times are GMT. The time now is 02:24 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.