Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Announcement Center

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
MikeB.Lynn Posted - 09 March 2009 : 22:53:01
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" />
15   L A T E S T    R E P L I E S    (Newest First)
Etymon Posted - 25 March 2009 : 16:55:11
Good deal! I'm glad it worked out!
MikeB.Lynn Posted - 25 March 2009 : 16:19:25
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.
Etymon Posted - 25 March 2009 : 16:15:37
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>');
MikeB.Lynn Posted - 25 March 2009 : 15:51:04
Carefree,
Thanks. That was the file that made it the original...

I re-bundled it and replaced the zip.
Etymon- I appreciate all you've done but look at it now.
The announce3 file clears all the errors that you mentioned
Etymon Posted - 25 March 2009 : 13:59:34
That change is in your inc_announce.asp within your .zip file.

Look for the code that has the anchor tag such as <a href=""""> & rsAnnounce("A_SUBJECT") & </a>.

I'm looking at your code and the line I am talking about is commented out. The line you appear to be using for your announcements to display is line 82:

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>');

I'm not sure how <View_announcements.asp> works within your code. Did you mean to put an anchor there instead to make it look like this:

document.write('<Div align="center"><a href="view_announcements.asp"><strong><%= rsAnnounce("A_SUBJECT") %></strong></a></font><br><br><view_announcements.asp><%= rsAnnounce("A_message") %><br></div><br>');

The change I offered would make the code look like this:

document.write('<Div align="center"><a href="view_announcements.asp"><strong><%= replace(formatstr(rsAnnounce("A_SUBJECT")),"'","#39;") %></strong></a></font><br><br><view_announcements.asp><%= rsAnnounce("A_message") %><br></div><br>');

I looked in my other files. I found an inc_announce2.asp file but not an inc_announce3.asp file.


Carefree Posted - 25 March 2009 : 13:59:17
inc_announce3.asp
MikeB.Lynn Posted - 25 March 2009 : 05:42:30
etymon,

was that for me?
If so what file was that change in.

Also the original mod had a file in it called:
inc_announce3.asp

anyone have that floating around?
Etymon Posted - 25 March 2009 : 00:38:17
If I remember right ... when I remodded the MOD there was a problem when the subject line of the topic contained an apostrophe. It broke the scroller. I replaced this code:

rsAnnounce("A_SUBJECT")


with this code:


replace(formatstr(rsAnnounce("A_SUBJECT")),"'","#39;")

MikeB.Lynn Posted - 24 March 2009 : 22:07:51
I thank everyone (specially HuwR)
I took the files he put together and re-compiled the mod as best as I remembered it.
At least it looks and works like the mod I lost.
If anyone is interested it can be downloaded here
Etymon Posted - 24 March 2009 : 15:28:57
Hey Mike,

I looked around and couldn't find Jeff's MOD. At the time I needed a scroller I went with a customization I did on Huw's MOD, but that was for a client, so I'm not able to .zip it up for you. From what I remember, Jeff's was useful for those who used it. Sorry man.
Etymon Posted - 24 March 2009 : 14:57:43
Ah, well, Jeff is a regular here. Try emailing him to see if he has it. If he has it, he may have updated it since then and just hasn't offered it again. I think I have it, but it may not be as fresh as what he has in his inventory. Give him a shout. If he doesn't have it, post again or contact me. I'll see what I can come up with then.
MikeB.Lynn Posted - 24 March 2009 : 13:07:10
If it helps. this is the mod I'm looking for:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63446&SearchTerms=news,scroller
HuwR Posted - 11 March 2009 : 14:38:08
you will need to make some changes for the include files most likely, but just ask here and we should be able to point you in the right direction
MikeB.Lynn Posted - 11 March 2009 : 13:58:25
HuwR,
Thank you.
That's what I was looking for.

HuwR Posted - 11 March 2009 : 13:33:26
ok, I have extracted a copy of Richards mod from an old backup of my portal mod, it will need some tweaking as some of the include files have changed names, but it is the best I can come up with.

download link

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07