Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Sat Aug 13, 2005 8:05 am Reply with quote

Using the 'Fancy' template, the sponsor banners appear in the newsletter set up screen (you select which one by selecting a radio button).
When you then go to preview - there is no banner appearing, not even an red X ?
Weird.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sat Aug 13, 2005 9:08 am Reply with quote

Guardian,

I will check again under the base Nuke product to make sure it is working there. Is this occurring on your NukeRoyal based nuke? (I am assuming so.)

I have never touched that part of the code and may have to revisit it. Will take a look at it this weekend.

Regards,
montego

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sat Aug 13, 2005 2:47 pm Reply with quote

Guardian,

I have looked at the Fancy_Content template.php script and sure enough it does not have the {BANNER} tag. In thinking back how this template came about in the first place (my own personal family web site long back when 1.1 was really just my personal customization job), I did not want a sponsor link, so I did not include it.

You may place it anywhere you wish in the template.php script between the following two lines:

After:

Code:

$emailfile = <<< EOD


and before:

Code:

EOD;


I tested it by adding it here like this (see the line with the {BANNER} tag):

Code:

  <br>
  <center>{BANNER}</center>
   <div id="unsub">You received this email because you are a registered user of {SITENAME}, if you dont want to receive mail from {SITENAME}, please let us know by following this <a href="mailto:{ADMINEMAIL}?subject=Newsletter">link</a>.</div>
   <br>
   <div class="bar"></div>
   <div align="center">
      <img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!">
      <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!">
   </div>

</body>
</html>
EOD;


Thank you for pointing this out. I will have to add that back in for the next version.

Regards,
montego

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Sat Aug 13, 2005 7:36 pm Reply with quote

Thank you, yes, that sorted it out.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch