Previous Thread
Next Thread
Print Thread
Rate Thread
Trying to put a banner ad on email template #323057
05/14/2018 9:57 AM
05/14/2018 9:57 AM
Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
S
sundance Offline OP
Lurker
sundance  Offline OP
Lurker
S

Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
Hello,

I am trying to put a banner ad on email template. I have done this before, but since the upgrade I have not. What I would like is the name of the template or whatever it is for the email notifications and put a banner on the bottom of the email.

Please help! Mike

Sponsored Links
Re: Trying to put a banner ad on email template [Re: sundance] #323058
05/14/2018 11:17 AM
05/14/2018 11:17 AM
Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
Gizmo Offline

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Offline

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
Note that modifications to the stock package are not supported by UBBCentral.

You'd be looking at email_text.tpl and email_html.tpl, which cover HTML and text emails. Be sure to use a full URL to any images that you include in any of the templates (as a relative URL doesn't include your domain name).

While I was talking with Isaac, he had mentioned that you could try editing one of the language strings to display an image, if that worked with the layout you were planning.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: Trying to put a banner ad on email template [Re: sundance] #323059
05/14/2018 1:11 PM
05/14/2018 1:11 PM
Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
S
sundance Offline OP
Lurker
sundance  Offline OP
Lurker
S

Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
OK, thank you!

Re: Trying to put a banner ad on email template [Re: sundance] #323060
05/14/2018 1:21 PM
05/14/2018 1:21 PM
Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
S
sundance Offline OP
Lurker
sundance  Offline OP
Lurker
S

Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
I tried it and I dont think I am doing it correctly.

This is the code in that template,
{*
Version: 7.6.0
Purpose:
Future:
*}
{if $header}
{$header}
{/if}
{if $salute}{$salute}{/if}
{$content}
{if $posts}
{section name=ind loop=$posts}
{$posts[ind].subject}
{$posts[ind].body}
{/section}
{/if}
{if $footer}
---------------------------------------------------------------------------------
{$footer}
{/if}

This is the code I am trying to add,
/* BODY HERE */
$body = <<<EOF
<!--Begin ClixTrac.com Banner Code -->
<a href="http://www.clixtrac.com/banner/click.php?banner=177513" target="_blank">
<img src="http://www.clixtrac.com/banner/177513.png" alt="FREE DESI Labeling Software - Click Here!" title="FREE DESI Labeling Software - Click Here!" border="0" /></a>
<!--End ClixTrac.com Banner Code -->
EOF;

Re: Trying to put a banner ad on email template [Re: sundance] #323061
05/15/2018 2:09 PM
05/15/2018 2:09 PM
Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
S
sundance Offline OP
Lurker
sundance  Offline OP
Lurker
S

Joined: Jun 2015
Posts: 4
Simi Valley, CA. 93063
Any advise?

Sponsored Links
Re: Trying to put a banner ad on email template [Re: sundance] #323062
05/17/2018 12:03 PM
05/17/2018 12:03 PM
Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
Gizmo Offline

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Offline

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
So, then place:
Code
<!--Begin ClixTrac.com Banner Code -->
<a href="http://www.clixtrac.com/banner/click.php?banner=177513" target="_blank">
<img src="http://www.clixtrac.com/banner/177513.png" alt="FREE DESI Labeling Software - Click Here!" title="FREE DESI Labeling Software - Click Here!" border="0" /></a>
<!--End ClixTrac.com Banner Code -->


Within the file where you'd like it to display. The below bits are only used within your Content Islands.
Code
/* BODY HERE */
$body = <<<EOF
EOF;


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps

Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 931
Joined: July 2001
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,474
Posts293,545
Members13,807
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 21,084
JoshPet 10,370
LK 7,395
Lord Dexter 6,709
Gizmo 5,773
Greg Hard 4,625
Top Posters(30 Days)
isaac 19
Zarzal 3
Today's Statistics
Currently Online 898
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 15
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190212.dev)
PHP: 5.4.45 Page Time: 0.035s Queries: 15 (0.011s) Memory: 3.2094 MB (Peak: 3.6018 MB) Data Comp: Zlib Server Time: 2019-02-16 05:12:50 UTC