Announcement Center - Posted (3510 Views)
New Member
MikeB.Lynn
Posts: 54
54
There was a mod called "Announcement Center"
Does anyone know where I can find it? I need to re-install it on my forum

Thanks in advance

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" />
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Etymon
Posts: 2396
2396
Thanks Mike. I see now.
What I was referring to is the apostrophe breaks the code when using javascript to write to the browswer in your inc_announce.asp file. Since the javascript has a beginning and an ending apostrophe, an additional apostrophe in the subject of the topic or the message would stop the javascript by not allowing the code to finish completely. That's the reason I mentioned it. Look below for the apostrophes in the code (in red) and the beginning and the end of the command in blue:

document.write('<Div align="center"><View_announcements.asp><strong><%= rsAnnounce("A_SUBJECT") %></strong></font><br><br><view_announcements.asp><%= rsAnnounce("A_message") %><br></div><br>'); document.write('</font>');
Posted
New Member
MikeB.Lynn
Posts: 54
54
Etymon-
Yea I noticed that happened. Lucky for us carefree had the original inc_announce3.asp file hahahaha
That file cleared the apostrophe issue as well as the same issue if you tried to insert a small graphic in the message body. I leave it to you people that know code to look over and improve if possible. Thanks again to everyone that came to my assistance on this.
Posted
Advanced Member
Etymon
Posts: 2396
2396
Good deal! I'm glad it worked out! smile
You Must enter a message