Previous Thread
Next Thread
Print Thread
Hop To
#220388 12/20/2008 5:24 AM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
How do I include my board logo to this area?

This is usually a common board link or some common information to be displayed. It can even include a board logo.

This is what I have now, How do I add an image to this area?

background: #666666;
color: #000000;
font-size: 10pt;
padding:4px;
border-bottom: 1px solid #000000;
text-align:center;

DougMM #220393 12/20/2008 8:28 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Likely use of the background tag's options:
background: url('http://www.yoursite.tld/image.type') #666666;
background-repeat: no-repeat;
background-position: center;

http://www.w3schools.com/css/pr_background.asp
http://www.w3schools.com/css/pr_background-repeat.asp
http://www.w3schools.com/css/pr_background-position.asp


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #220479 12/25/2008 3:00 AM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Thank you I will look into this...

DougMM #220502 12/26/2008 1:10 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
that's not gonna be ideal (nor will it work real well), since the css isn't a 1 for 1 as the message gets assembled by the mailer.inc.php class..

i'd suggest checking out the /templates/default/email_html.tpl file..

the philosophy is to be using tables for HTML email as well as inline css, since that's what most email clients will tolerate..

edit that file and you can stick in an additional tr, td, img kinda thingie to get your logo in wink

2c

SD #220585 12/28/2008 9:32 PM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Well I have been working on this for a few nights and have not got it done yet. Thanks eveyone for your help with this. I'm just now trying to use the board to do all of the emails and have not got this working as of yet.

DougMM #220586 12/28/2008 9:34 PM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
I would like all of my emails to look like this...

http://centraltexasstangs.com/decevents.html

I have not found a way to do this as of yet.

DougMM #220587 12/28/2008 9:47 PM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Up until now I have been exporting the list of email address, then breaking them up into groups of less then 100, BCC each member and sending out the emails thru my home ISP. This has taken along time to get done and opens me up to several errors in sending out 10-15 different emails of 100 members from my home ISP. I'm really looking for a way to get this monthy "html" email sent out thru the board and having it look right with out any problems.

DougMM #220598 12/29/2008 11:34 AM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Add the image in the language file.

cp>Languages>Language editor
Search for EMAIL_HEADER_HTML
Insert your image <img src="url">
You still will need to edit the default style for background colors. etc.
Just tried it in 7.4.1 and it works



Blue Man Group
There is no such thing as stupid questions. Just stupid answers
DougMM #220647 12/30/2008 4:14 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by DougMM
I would like all of my emails to look like this...

http://centraltexasstangs.com/decevents.html

I have not found a way to do this as of yet.


shouldn't be too hard to do wink

Ruben #225690 04/13/2009 12:12 AM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Originally Posted by Ruben
Add the image in the language file.

cp>Languages>Language editor
Search for EMAIL_HEADER_HTML
Insert your image <img src="url">
You still will need to edit the default style for background colors. etc.
Just tried it in 7.4.1 and it works

I can't find this file? 7.4

Last edited by DougMM; 04/13/2009 12:16 AM.
DougMM #225693 04/13/2009 7:17 AM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
It is not a file it is the key field. The file is mailer.php


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
DougMM #225924 04/20/2009 6:28 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
EMAIL_HEADER_HTML
Is the name of the field but sometimes it will not find it. I guess it depends on what browser you are using.
The language file is mailer.php.
Find the EMAIL_HEADER_HTML string and add whatever html code you want to it.
So cp>>Languages>Language editor
Choose Specific Language File: Mailer.php
Scroll down till you see EMAIL_HEADER_HTML
Edit the content.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Ruben #225929 04/20/2009 10:53 PM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Thank you so much Ruben, I found the line.

$ubbt_lang['EMAIL_HEADER_HTML'] = "No need to reply to this email.";

What would be the correct way to add this?

<p align="center">
<img border="0" src="http://centraltexasstangs.com/header/ctsbanner.jpg" width="800" height="100"></p>

DougMM #225930 04/20/2009 10:58 PM
Joined: Jan 2008
Posts: 81
D
journeyman
journeyman
D Offline
Joined: Jan 2008
Posts: 81
Never mind thank you again, I got it.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Gizmo), 343 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)