Author |
Topic |
James
Average Member
USA
539 Posts |
Posted - 22 September 2002 : 14:46:10
|
quote: Originally posted by Hamlin
Try adding a ,
366 "T.T_MSGICON ," & _
If I do this, then when I go to Active topics I get the following error:
Microsoft JET Database Engine error '80040e14'
The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
/forum/active.asp, line 306
If I leave it as it was (without the ",") then everything works fine. I think that the problem is that runner has added a mod and inserted some code at the wrong place or something. My Active.asp looks as follows:
'## Forum_SQL - Get all active topics from last visit
strSql = "SELECT F.FORUM_ID, " & _
"F.F_SUBJECT, " & _
"F.F_SUBSCRIPTION, " & _
"F.F_STATUS, " & _
"C.CAT_ID, " & _
"C.CAT_NAME, " & _
"C.CAT_SUBSCRIPTION, " & _
"C.CAT_STATUS, " & _
"T.T_STATUS, " & _
"T.T_VIEW_COUNT, " & _
"T.TOPIC_ID, " & _
"T.T_SUBJECT, " & _
"T.T_AUTHOR, " & _
"T.T_REPLIES, " & _
"T.T_UREPLIES, " & _
"M.M_NAME, " & _
"T.T_LAST_POST_AUTHOR, " & _
"T.T_LAST_POST, " & _
"T.T_LAST_POST_REPLY_ID, " & _
"MEMBERS_1.M_NAME AS LAST_POST_AUTHOR_NAME, " & _
"T.T_MSGICON " & _
"FROM " & strMemberTablePrefix & "MEMBERS M, " & _
strTablePrefix & "FORUM F, " & _
strTablePrefix & "TOPICS T, " & _
strTablePrefix & "CATEGORY C, " & _
strMemberTablePrefix & "MEMBERS MEMBERS_1 " & _
"WHERE T.T_LAST_POST_AUTHOR = MEMBERS_1.MEMBER_ID "
It does not have the code in red as his does:
265 "MEMBERS_1.M_NAME AS LAST_POST_AUTHOR_NAME, " & _
366 "T.T_MSGICON " & _
367 "F.F_PRIVATEFORUMS, " & _
268 "F.F_PASSWORD_NEW " & _
269 "FROM " & strMemberTablePrefix & "MEMBERS M, " & _
|
*Interested in Radio Control* *The RC Web Board - http://www.rcwebboard.com/* |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 22 September 2002 : 17:17:51
|
I think i wil add this, i'll do it 2moro and see how it works |
De Priofundus Calmo Ad Te Damine |
|
|
Bookie
Average Member
USA
856 Posts |
Posted - 22 September 2002 : 21:55:29
|
I don't think this is right as listed above for the active.asp page...
441 fT_LAST_POST_REPLY_ID = 18
442 fLAST_POST_AUTHOR_NAME = 19
443 fT_MSGICON = 20
Here's what I have in my active.asp page (which is the current version)
fT_LAST_POST_REPLY_ID = 18
fLAST_POST_AUTHOR_NAME = 19
fF_PRIVATEFORUMS = 20
fF_PASSWORD_NEW = 21
I'm not familiar with what's happening with this code. The installation instructions don't match up also. This is the only mod I've done to the active.asp page.
What should I do? |
Participate in my nonsense |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 23 September 2002 : 06:18:25
|
These two lines (below) were added in 3.4.03, and the readme hasn't been updated for the mod.
fF_PRIVATEFORUMS = 20
fF_PASSWORD_NEW = 21
Adding this mod to snitz 3.4.03 have changed. In active.asp
***************** Modify ACTIVE.ASP *****************
Look for this code: (at approx Line #263)
"F.F_PASSWORD_NEW " & _
"FROM " & strMemberTablePrefix & "MEMBERS M, " & _
Replace it with this code:
"F.F_PASSWORD_NEW " & _
"T.T_MSGICON " & _
"FROM " & strMemberTablePrefix & "MEMBERS M, " & _
and this have changed:
Continue after your last number, like this:
fT_LAST_POST_REPLY_ID = 18
fLAST_POST_AUTHOR_NAME = 19
fF_PRIVATEFORUMS = 20
fF_PASSWORD_NEW = 21
fT_MSGICON = 22
Those are the only changes necessary to active.asp to add the message icon mod to 3.4.03.
This only applies if you are using the message icon mod on snitz v3.4.03.
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
Edited by - masterao on 23 September 2002 06:38:00 |
|
|
HarshReality
Junior Member
USA
128 Posts |
Posted - 23 September 2002 : 07:33:43
|
I got it working just fine and even removed the extra colum so it places it next to the topic description just like it did in 3.3xx however has anyone got search.asp working with the message icons if so I would appreciate a look so I might get it straight as well. |
Anti Social Personality |
|
|
bonkers
Junior Member
United Kingdom
122 Posts |
Posted - 23 September 2002 : 10:14:57
|
I have tried to install this twice to a clean 3.4.03 and get this error details in this topic Here hope someone can help Thanks bonkers |
|
|
HarshReality
Junior Member
USA
128 Posts |
Posted - 23 September 2002 : 13:10:51
|
bonkers I think I can help ya there, since I am running a 3.4.03 if ya drop me a mail I'll zip the files I have currently and send them to you so you can have a looksee and see if ya have anything bugged up |
Anti Social Personality |
|
|
work mule
Senior Member
USA
1358 Posts |
|
James
Average Member
USA
539 Posts |
Posted - 24 September 2002 : 21:55:04
|
Yes, this was originally Richards which means that if you had it installed with a previous version of the forums and upgraded, that most likely the new version of the forums with the new version of this mod will still have all the message icons stored for messages from before the upgrade. |
*Interested in Radio Control* *The RC Web Board - http://www.rcwebboard.com/* |
Edited by - James on 27 September 2002 21:47:42 |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 02 October 2002 : 11:42:36
|
I just put this on my forum, all seems ok BUT, is there a way to make a icon only admins/mods can use? |
De Priofundus Calmo Ad Te Damine |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 02 October 2002 : 13:40:38
|
You must have missed adding some code for the mod in topic.asp, not post.asp or post_info.asp. Recheck the instructions for the code to add in topic.asp (there are two different places where you need to add the code).
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 02 October 2002 : 14:23:08
|
yeah, i missed out 3 lines, it all works now, thank you |
De Priofundus Calmo Ad Te Damine |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
bobbart
Junior Member
USA
163 Posts |
Posted - 03 October 2002 : 17:14:00
|
I am getting this error
Microsoft VBScript runtime error '800a000d' Type mismatch: '[string: ""]'
inc_iconfiles.asp, line 160
LINE--> select case intMsgIcon
|
|
|
Topic |
|