Author |
Topic |
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 11 March 2009 : 13:14:56
|
I've looked through all my archived stuff and I have probaly got a copy of every other mod but this one sorry |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 11 March 2009 : 13:20:04
|
MikeB,
Do you need the database stuff for the mod or just the asp files ? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 11 March 2009 : 13:27:58
|
In both "admin_add_announce.asp" and "admin_edit_announce.asp", delete the lines which say <!--#INCLUDE FILE="inc_code.asp" -->
. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
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 |
|
|
MikeB.Lynn
New Member
54 Posts |
Posted - 11 March 2009 : 13:58:25
|
HuwR, Thank you. That's what I was looking for.
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
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
New Member
54 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
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. |
|
|
Etymon
Advanced Member
United States
2385 Posts |
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. |
|
|
MikeB.Lynn
New Member
54 Posts |
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 |
Edited by - MikeB.Lynn on 24 March 2009 22:51:31 |
|
|
Etymon
Advanced Member
United States
2385 Posts |
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;")
|
Edited by - Etymon on 25 March 2009 00:39:05 |
|
|
MikeB.Lynn
New Member
54 Posts |
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? |
Edited by - MikeB.Lynn on 25 March 2009 08:00:46 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
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.
|
|
|
MikeB.Lynn
New Member
54 Posts |
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 |
|
|
Topic |
|