Author |
Topic |
Danomatic
Starting Member
16 Posts |
Posted - 28 June 2002 : 12:21:29
|
Excellent mod, easy to implement and use.
The only trouble I'm having is that the announcements don't seem to do anything (I assume, erase themselves) when the expiry date passes.
Where should I start looking to fix this?
Note: What's up? Can't write the word A S S U M E ?
Edited by - Danomatic on 28 June 2002 12:25:27 |
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 18 August 2002 : 03:32:09
|
I would like to make a suggestion for an enhancement to this excellent MOD. I currently have it installed and it works great.
Many of my members go directly to the Active.asp page to look for active topics since their last visit. In doing so, they are missing the announcements that are resident within the different ares of the site. Could you suggest some code changes to the active.asp page to include the Announcements for the different forums that have other active topics within one's site?
For example, I have an announcement that is only setup to be present in my General section. If there are active topics in the General section I would like the Announcement for the General section to show too.
I'm not sure if the announcements should show in their respective sections or show in a seperate panel all by themselves. I think the panel would prevent the repetition of an announcement for the differnt sections of the site.
Either way....just a thought. It would really be a home run!
STW. |
Shannon RidingArizona.com |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 18 August 2002 : 04:24:09
|
hi~ stwilson
if you want to show announcement in active.asp page... about line.395 in active.asp if currForum <> Forum_ID then Response.Write " <tr>" & vbNewline & _ :: :: ::: elseif (mLev = 3) then Response.Write " <td align=""center"" bgcolor=""" & strCategoryCellColor & _ """ nowrap valign=""center""> </td>" & vbNewline end if Response.Write " </tr>" & vbNewline %> <!--#INCLUDE FILE="inc_announce.asp" --> <% end if Response.Write " <tr>" & vbNewline Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""center"">"
just simplily add the red three lines. then i think it will work fine in active page too...
but... if you set a cross/multi forum announcement, it will show this message duplicated in different forum section... i have no idea how to fix this problem...
another way... i know the OLD version Announcements MOD v1.0 have a different approach to show announce, it place the inc_announce.asp in default.asp(to show at home page) or inc_top.asp(to show at "every" pages..)..
maybe you can try getting the old Announcement Mod, then do some modification to fit your need... (in fact, i have Both two version installed.. one for Admin, and the other for Moderators... and they all work fine for me... )
|
~......~.~~ |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 18 August 2002 : 05:36:39
|
quote: Originally posted by DoraMoon but... if you set a cross/multi forum announcement, it will show this message duplicated in different forum section... i have no idea how to fix this problem...
i check the inc_announce.asp file again... then found i make a mistake... the multi forum or category announcement should be the next version's function in Funture...(i think so...) in v3.3.2, we only can choose "one forum announce" or "all forums announce"...
and if so, i think the modify will become more easily ~~~
also insert these lines in active.asp too (about line.325)
Response.Write " </tr>" & vbNewline
if trim(Forum_ID) = "" then Forum_ID = 0 %> <!--#INCLUDE FILE="inc_announce.asp" --> <% if rs.EOF or rs.BOF then
and a litte change sql statement in inc_announce.asp chage this strSql = strSql & " AND (A_FORUM_ID = " & Forum_ID strSql = strSql & " OR A_FORUM_ID = 0)"
to this strSql = strSql & " AND (A_FORUM_ID = " & Forum_ID if lcase(right(Request.ServerVariables("SCRIPT_NAME"),10)) <> "active.asp" then strSql = strSql & " OR A_FORUM_ID = 0" end if strSql = strSql & ")"
i test this modification on my forum, it seem work no problem for me.. now it will show the whole board announce at the top, and individual announce at different forum section...
hope this helpful for you ... |
~......~.~~ |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 18 August 2002 : 09:29:34
|
found a lots problems when i recheck my stupid thinking...
first, the view_announcements.asp also need to modify.. in line.49, need remove the red part.. if intForumID = 0 or not(ChkForumAccess(intForumID,MemberID)) then
and in line.84, change this line.. " <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Current Forum: <a href=""view_announcements.asp?FORUM_ID=" & intForumID & """>" & chkString(GetForumName(intForumID),"display") & "</a></font></p>" & vbNewLine & _
to " <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" if intForumID = 0 then response.write "<a href=""view_announcements.asp"">See All Whole Board Announcements</a></font></p>" & vbNewLine & _ else response.write "Current Forum: <a href=""view_announcements.asp?FORUM_ID=" & intForumID & """>" & chkString(GetForumName(intForumID),"display") & "</a></font></p>" & vbNewLine & _ end if
and another Big problem... the announcement won't show if there are NO active topics in this forum........
so i think we'd better waiting someone else's opinion or someone mod developer to implement it...
sorry for my stupid suggest in above posts, please forget it~~
|
~......~.~~ |
Edited by - DoraMoon on 18 August 2002 09:55:27 |
|
|
Gato
New Member
Brazil
92 Posts |
Posted - 18 August 2002 : 12:18:38
|
Just a thing, is there a way to use this MOD to only place annoucnnements in THAT Forum I have choosen??? Sorry I haven't tested and sorry if it is an stupid question.... |
Get the new Gato's MultiLanguage Portal Code with 6 Languages Included and more than 70 MODs & 30 New Features Get more information here |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 18 August 2002 : 12:34:45
|
quote: Originally posted by Gato
Just a thing, is there a way to use this MOD to only place annoucnnements in THAT Forum I have choosen??? Sorry I haven't tested and sorry if it is an stupid question....
YES! i think this just what the Announcement Mod designed! you can assign a announcement message to ONE Specify forum, and you also can assign it to show on ALL forums.... |
|
|
Gato
New Member
Brazil
92 Posts |
Posted - 18 August 2002 : 13:39:25
|
Thanks a lot |
Get the new Gato's MultiLanguage Portal Code with 6 Languages Included and more than 70 MODs & 30 New Features Get more information here |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 02 November 2002 : 10:29:13
|
will this work with the new snitz? |
De Priofundus Calmo Ad Te Damine |
|
|
richfed
Average Member
United States
999 Posts |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 02 November 2002 : 17:16:24
|
Do you know if anyone is working on it? |
De Priofundus Calmo Ad Te Damine |
|
|
richfed
Average Member
United States
999 Posts |
|
bobnick
Starting Member
1 Posts |
Posted - 23 November 2002 : 15:14:50
|
Yep, but does anyone have any idea of any sort of time frame - at all? It looks to be a fantastic mod, but I can't run it! The update seems to have been iminent for weeks now! |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 23 November 2002 : 15:50:20
|
I'll be more then happy to wait for a great mod like this |
De Priofundus Calmo Ad Te Damine |
|
|
btekcan
Junior Member
Turkey
112 Posts |
Posted - 24 November 2002 : 17:27:00
|
Yes,we are waiting new one :-) |
|
|
Topic |
|