Author |
Topic |
s5design
Starting Member
United Kingdom
7 Posts |
Posted - 08 October 2002 : 12:46:02
|
Thanks @tomic, it is a very useful MOD and has been working very well.
One query, around line 160 there are references to strHeadCellBGImage, but I can't find that it in any of your documentation or in inc_iconfiles.
Additionally, the message list doesn't alternate in colour because the value of the i variable is being changed to 10 somewhere in getMemberName - if I preserve it in another variable it is 1 before and 10 afterwards. Perhaps it's another MOD I've installed, or just the scope of the i I don't know, I haven't hunted it down.
I've used a local boolean variable instead to do the trick:
Dim bEvenRow
bEvenRow = False
do Until rsMessage.EOF
if bEvenRow then
CColor = "AltForumCell"
else
CColor = "ForumCell"
end if
bEvenRow = not bEvenRow
The o variable used for the Outbox seems to be OK.
And being picky (sorry!) the message to display for the icon title if the sent message has been read has a redundant "yet" in line 312 "Steve has read the message yet."
But I do love it, honest! |
-Steve- |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 13:00:13
|
Sorry about the strheadCellBGImage. I thought I had deleted those. The alternating color issue is almost certainly because of another MOD because I have no problems with it.
I'll take a look at the wording at fix that up.
@tomic |
SportsBettingAcumen.com |
|
|
s5design
Starting Member
United Kingdom
7 Posts |
Posted - 08 October 2002 : 13:18:07
|
No worries, just thought I'd check! Thanks again |
-Steve- |
|
|
padawan
Junior Member
200 Posts |
Posted - 08 October 2002 : 13:31:46
|
sir @TOMIC,
On modifying inc_header.asp...
my line 260 and below looks like this: "function openWindow5(url) {" & vbNewLine & _ " popupWin = window.open url,'new_page','width=450,height=525,scrollbars=yes,toolbars=yes,menubar=yes,resizable=yes')" & vbNewLine & _ "}" & vbNewLine & _ "function openWindow6(url) {" & vbNewLine & _ " popupWin = window.open(url,'new_page','width=500,height=450,scrollbars=yes')" & vbNewLine & _ "}" & vbNewLine & _ "function openWindowHelp(url) {" & vbNewLine &
the suggestion is to insert these lines around 260: ' Get Private Message count for display if strDBType = "access" then strSqL = "SELECT count(M_TO) as [pmcount] " else ... ... ...
somehow, i think the above section should be inserted somewhere else, like at the top of these lines instead: call sForumNavigation() Response.Write "</font></td>" & vbNewLine & _
Pls. confirm this assumption...
btw, i apologize for getting too many questions out in so short of a time frame...
- padawan
|
"...be mindful of the SnitzForce..." |
Edited by - padawan on 08 October 2002 13:34:46 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 13:39:44
|
Yes that's correct, above those lines so as not to mess up a bunch of unrelated code needlessly. I try to remember to say near because most people will have added MODs and that changes the line numbering. That could should work in almost any open spot near the top of inc_header.asp below where the connetion is opened.
@tomic |
SportsBettingAcumen.com |
|
|
Beano_ie
Junior Member
Ireland
328 Posts |
|
padawan
Junior Member
200 Posts |
Posted - 08 October 2002 : 13:43:11
|
quote: Originally posted by @tomic
Yes that's correct, above those lines so as not to mess up a bunch of unrelated code needlessly. I try to remember to say near because most people will have added MODs and that changes the line numbering. That could should work in almost any open spot near the top of inc_header.asp below where the connetion is opened.
@tomic
Great! Thanks, again. |
"...be mindful of the SnitzForce..." |
|
|
padawan
Junior Member
200 Posts |
Posted - 08 October 2002 : 13:49:26
|
quote: Originally posted by Beano_ie
padawan, I was unsure of this myself, view the following topic where it shows at the top where i inserted the code and a few guidelines from sir Atomic. The Mod is running perfectly
Hope I've helped.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36502
thank you, kindly as well, sir. |
"...be mindful of the SnitzForce..." |
|
|
pknaz
Junior Member
USA
117 Posts |
Posted - 08 October 2002 : 19:36:32
|
it says 3.4.03 but the link is for 3.4.02? |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 21:10:38
|
Yes, that's the name of the ZIP file. I decided not to keep changing the name of the ZIP because I thought that might become confusing. I am trying to be very clear about what's new in each update regardless of what the file is called.
@tomic |
SportsBettingAcumen.com |
|
|
bbyy
Starting Member
18 Posts |
Posted - 09 October 2002 : 13:40:47
|
Can someone help me out here, I did everything they ask me to for having the private messenger in my forum but when I go to my forum I get the following error I think its quit easy to repear but for me its chinees
Microsoft VBScript compilation error '800a03f8'
Expected 'Sub'
/dbforum/forum/inc_header.asp, line 528
end if ----^
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 09 October 2002 : 13:50:10
|
Private Messenger or Private Messages? Can you post a link to a copy of your inc_header.asp? Something must have gone seriously wrong during the install.
@tomic |
SportsBettingAcumen.com |
|
|
bbyy
Starting Member
18 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 09 October 2002 : 14:59:56
|
Could you save a copy of that as a text file(inc_header.txt)?
@tomic |
SportsBettingAcumen.com |
|
|
DarrenLuxton
Junior Member
184 Posts |
Posted - 09 October 2002 : 18:46:54
|
Just a quick question
If i wanted to move the
if strPMStatus = "1" then %> <!--#INCLUDE FILE="privatemess.asp"--> <% end if %>
to the top of my forums above everything else, where about would i put the code?
Thanks in advance. |
|
|
Topic |
|