bluescorpion
New Member
Hello, I am sure that this one has a simple answer, I just don't happen to know it and hope some one here does.
I am trying to display copyright statement in the vboptions. Staight HTML works no problem but if I want the current year to display automagically, it does not work no matter what I put in the line of code.
In php that code that displays correctly is:
echo '<br><br><div style="color: #FF00FF; text-align: center; "><b>Copyright © 1996-'.date('Y').', SomeDomainName - All rights reserved. </b></div><br><br></div>';
The line I have added in the copyright text box is the same without the echo and single quotes, btw.
Of course vBulletin displays the date('Y') instead of the year? I think I am missing some basic step or understanding of the vb code. Any ideas?
TIA,
bs
I am trying to display copyright statement in the vboptions. Staight HTML works no problem but if I want the current year to display automagically, it does not work no matter what I put in the line of code.
In php that code that displays correctly is:
echo '<br><br><div style="color: #FF00FF; text-align: center; "><b>Copyright © 1996-'.date('Y').', SomeDomainName - All rights reserved. </b></div><br><br></div>';
The line I have added in the copyright text box is the same without the echo and single quotes, btw.
Of course vBulletin displays the date('Y') instead of the year? I think I am missing some basic step or understanding of the vb code. Any ideas?
TIA,
bs