TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,055
  • Total Topics: 21,337
  • Online today: 572
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Guest Exclusion from Articles

Started by Maddog452, December 08, 2007, 10:30:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jacortina

Yes, there IS no '<' on line 1 of the code I posted.

Note that you DO NOT start a php block/article with "<? php" or end it with "?>". If you have those, take them out and use JUST the code provided.

Maddog452

I am literally using the script that you included above.

<p align="center"><font size="3"><strong>Association Newsletters<br />
</strong></font></p>
<p align="left"><font size="2">Every Three months, the committee will release a newsletter to all members via email.  Once released, the newsletters are available to all members on this site.<br />
<br />
If you have an article that you would like included in the Newsletter, please send an email to the editor of the newsletter by clicking on this </font><a href="mailto:graeme.andrews@defence.gov.au?subject=Article%20for%20Newsletter"><font size="2">link</font></a><font size="2">.<br />
<br />
global $$context;
if ($context['user']['is_guest']) {
Echo ' Newspapers are posted quaterly for members';
}
else {
Echo ' A list ot the past newsletters is detailed below:<br />
<br />
Volume 1<br />
  <a href="http://theblackhand.asn.au/forum/tp-images/Image/Newsletter_Vol_1_Iss_1_Mar_07.doc">Edition 1 - Mar 07</a><br />
  <a href="http://theblackhand.asn.au/forum/tp-images/Image/Newsletter_Vol_1_Iss_2_Jun_07.doc">Edition 2 - Jun 07</a><br />
  <a href="http://theblackhand.asn.au/forum/tp-images/Image/Newsletter Vol 1 Iss 3 Oct 07.pdf">Edition 3 - Oct 07</a></font><font size="2"><br />
Volume 2<br />
  Edition 1 - Feb 08<br />
  Edition 2 - May 08<br />
  Edition 3 - Aug 08<br />
  Edition 4 - Nov 08 </font></p>';
}


I'm not really smart enough to change things that people give me.

Dog

jacortina

No. That's just the script that YOU originally posted.  ;)

Mine is included in http://www.tinyportal.net/index.php?topic=20576.msg168996#msg168996

The first line of it is
echo '

Maddog452

Ok

My Bad. I still get an error.

[EDIT] - No I don't.  I hadn't hit save.  Thanks JAC.

Cheers
Dog

Zetan

Can we mark this topic Solved Dog?

Maddog452

YEs Thanks Z.  Chalk it up to gross stupidity and failure to follow instructions completely on my behalf!

Thanks for the support all!
Dog

This website is proudly hosted on Crocweb Cloud Website Hosting.