Author |
Topic |
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 25 October 2002 : 02:14:02
|
this is my first "practice" mod on v3.4 Snitz.
Topic Notelet MOD for Snitz v3.4.0x =========================================== Feature: Allow users add a simple Notelet/Remark/FooterNote to a topic.
Test: on Snitz v3.4.0.3 and Access db only.
Install Instruction: see the readme.txt file including in zip.
Download: TopicNotelet-34-001a.zip
Any Suggestion or Improvement about this MOD will be appreciate !!! Thanks ! |
~......~.~~ |
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 25 October 2002 : 02:17:06
|
ScreenShot Demo:
on Forum Properities setup page: after installed, two new additional options available when create/edit forum properities... Notelet Allowed : (set the authority of who can add/edit/remove a topic notelet in this forum.) -1=All Visitors, 0=Feature Off, 1=All Members, 2=Author Member, 3=All Moderators, 4=This Moderator, 5=All Administrators, 12=Author Only, 14=This Moderator Only, 16=SuperAdmin Only Notelet Visible : (set the topic notelet also viewable (but can't edit..) to other memers...) -1=All Visitors, 0=Feature Off, 1=All Members, 2=All Moderators, 3=All Administrators
on Post Topic page: now when users new/edit a topic, (if allowed) he also can post-it a small notelet to remind something about this topic. Notice!! restriction: one topic only have one notelet.... so maybe it just a "public" notelet, and not personal note.......
on forum.asp page: then it show as a colorful icon on forum.asp page. the notelet message show by tooltip or a small popup window. if the notelet setting set it also visible to another members, non-author/moderator/admin also can view it.
on pop-up notelet page: allowed users can add/edit/remove notelet message on the same popup window. and i think this mod is flexible and easy configurable by setting/modified it to fit your forum demand....
|
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
|
jeffery
Junior Member
USA
176 Posts |
Posted - 29 October 2002 : 14:12:11
|
DoraMoon - Will this not work with SQL at all? I installed your mod but am getting an error
Type mismatch: '[string: ""]' /snforum1ps/inc_func_common.asp, line 951
Any ideas?
|
www.thomasforum.com |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 October 2002 : 14:42:34
|
it really what i'm worry.... i never test my mods on other database except Access.
but i only add a simple check function in inc_func_common.asp, it should be no way get error like this.
so could you please give me more detail infomation, what's line.951 ? what function ? and what page you got this error ?
thanks! i'll try my best to solve this... |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 29 October 2002 : 15:00:46
|
I'm working on it. Give me an hour or so and I'll give you details.
Don't worry :) |
www.thomasforum.com |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 29 October 2002 : 15:55:14
|
DoraMoon, do you think I could send the modified files for you to look at? |
www.thomasforum.com |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 October 2002 : 16:06:15
|
sure~ jeffrey, if you still got problem to make it work, maybe just send the code you modified to me... doram00n @ yahoo.com.tw
but if it's a db issue, i'm afraid maybe i also no ability to deal with. cannot help but worry this... |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 29 October 2002 : 16:12:31
|
I'm on Access and gettin a error on forum.asp |
De Priofundus Calmo Ad Te Damine |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 October 2002 : 16:13:46
|
quote: Originally posted by PeeWee.Inc
I'm on Access and gettin a error on forum.asp
ok, also show me the detail infomation please. |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 29 October 2002 : 16:16:46
|
I never saved what the error was, i'll add it again and see what it says |
De Priofundus Calmo Ad Te Damine |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 29 October 2002 : 16:22:36
|
Thanks, I'm sending you the modded files plus an access database which is actaully an export from my SQL server of the tables which were updated. Maybe you can make some sense out of it.
Here are the erros I was getting:
The errors I’m getting happen when I try to view any forum with topics posted using the NOTELET feature It gives me this error:
Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: '[string: "note test"]' /snforum1ps/forum.asp, line 547 Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Page: GET /snforum1ps/forum.asp
When I try to view any forum with messages posted before I installed the NOTELET mod I get this error:
Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: '[string: ""]' /snforum1ps/inc_func_common.asp, line 951 Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Page: GET /snforum1ps/forum.asp
Thank you for your help, I am looking forward to seeing this mod work! |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 October 2002 : 16:41:11
|
hi~ jeffrey, i'm hard to test a modded file on my test forum, but i found a mistake in your forum.asp.
tLAST_POST_AUTHOR_NAME = 15 '##### Topic Notelet 1-4: 4 lines added (be careful the number order...) tT_NOTELET_STATUS = 16 tT_NOTELET_LAST_DATE = 17 tT_NOTELET_EDITBY = 18 tT_NOTELET_MESSAGE = 19 '########## Topic Notelet ########## tT_MSGICON = 20 tT_ISEVENT = 21
try change it to
tLAST_POST_AUTHOR_NAME = 15 tT_MSGICON = 16 tT_ISEVENT = 17 '##### Topic Notelet 1-4: 4 lines added (be careful the number order...) tT_NOTELET_STATUS = 18 tT_NOTELET_LAST_DATE = 19 tT_NOTELET_EDITBY = 20 tT_NOTELET_MESSAGE = 21 '########## Topic Notelet ##########
i'm also not understand very well about the GetRow recordset new featue in 3.4, but i think it seem more difficult when try installed a lots Mods in 3.4, we need take care the GetRow sequence very carefully ..
please try this first, i'll take a look more detail to your code. |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 29 October 2002 : 17:21:43
|
hi doramoon. that fixed it! thank you. all seems to be working now. i'm going to take a look at it now to customize from prive 'sticky notes' |
www.thomasforum.com |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 29 October 2002 : 17:41:41
|
hi~ jeffrey, i'm so glad that you fixed it !! and good luck for you. i'll expect your Personal Notes mod.. |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 30 November 2002 : 18:29:03
|
I just installed this ... nice mod!
I ran into the same problem as Jeffrey ... pretty easy fix for such a "serious" looking error!
I have a few questions about this:
1 - Shouldn't there be some re-coding on inc_iconfiles.asp? So that the images could be placed in the Images directory?
2 - There are Help marks after both selections in the Edit Forum Properties area, yet, no changes were made to pop_help.asp, so, of course, they don't really work. Should they be removed or is there some new code for pop_help.asp?
3 - There are a lot of useful possibilities for this thing. To allow each member to see his/her own notelets, and no one elses, what should the settings be? Is that even possible? Or, would administrators still be able to read them all?
Nice work, again, DM!
|
Rich [size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1] |
|
|
Topic |
|