|
Joined: Jun 2015
Posts: 4
Lurker
|
Lurker
Joined: Jun 2015
Posts: 4 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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.
|
|
|
|
Joined: Jun 2015
Posts: 4
Lurker
|
Lurker
Joined: Jun 2015
Posts: 4 |
|
|
|
|
Joined: Jun 2015
Posts: 4
Lurker
|
Lurker
Joined: Jun 2015
Posts: 4 |
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;
|
|
|
|
Joined: Jun 2015
Posts: 4
Lurker
|
Lurker
Joined: Jun 2015
Posts: 4 |
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
So, then place: <!--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. /* BODY HERE */ $body = <<<EOF EOF;
|
|
|
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.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|