Author |
Topic |
Anders M
Junior Member
Sweden
117 Posts |
Posted - 25 April 2001 : 02:33:20
|
quote: I emailed you the files so you can see what it looks like.
Rick, I got the files. But I see that you already got help from HuwR.
-Anders M
|
|
|
Anders M
Junior Member
Sweden
117 Posts |
Posted - 25 April 2001 : 02:46:35
|
quote: I was wanting to find out how I could go about configuring it so that the checkbox to Subscribe only appears beside actual Forums in a Category, and NOT Web Links, as obviously you cannot Subscribe to a Web Link.
Martha2Mary, I will fix it in version 2 of this MOD.
-Anders M
|
|
|
Anders M
Junior Member
Sweden
117 Posts |
Posted - 25 April 2001 : 03:02:22
|
quote: STR stands for string, it would be better if you placed your required variable in the FORUM_MODS table, the cnfig table is gettin very long, and has been causing some people problems when upsizing.
HuwR, thanks for the advice. However, I cannot find FORUM_MODS in the original database (3.1sr4). I searched postings about FORUM_MODS, but came up with zillions of matches, none made me wiser. Where can I read about it so I can use it in version 2 of this MOD
Minor question: Why would anyone name a boolean variable "STR"? I don't get it.
quote: will do, fixed the notify on creation of topics, it was missed out
HuwR, if you tell me which code you added, I will include it in version 2 of this MOD.
-Anders M
Edited by - Anders M on 25 April 2001 03:06:08 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 25 April 2001 : 05:14:06
|
they are not strictly boolean values, rather they are flags, I would imagine the naming came fro the original AspDev, but you would need to check with Mike.
the FORUM_MDS table came a part of the mod commander MOD, but all you need is the table. If you look at my file attachment or userfields mod, they come with a required files zip, the stuff for mod commander and to create the table are in that
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 25 April 2001 : 05:19:29
|
Your code does not send an email if someone cretaes a new topic in the forum, you need to add some code.
LOOK for the INSERT statement for topics, then scroll down till you reach the my_conn.execute statement, and insert the following code after it
strSQL = "SELECT MAX(TOPIC_ID) AS LastID FROM " & strTablePrefix & "TOPICS WHERE T_AUTHOR = " & rs("MEMBER_ID") set rsLastID = my_conn.execute (strSQL) intTopicID = rsLastID("LastID") rsLastID.close url = Left(Request.Form("refer"), InstrRev(Request.Form("refer"), "/")) & "link.asp?TOPIC_ID=" & intTopicID SendSubscribeEmail Request.Form("FORUM_ID"),Request.Form("FORUM_Title"),Request.Form("Topic_Title"),rs("MEMBER_ID"),url
|
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 25 April 2001 : 06:09:13
|
I still need help... I need those files setup with this mod.
quote:
quote: I emailed you the files so you can see what it looks like.
Rick, I got the files. But I see that you already got help from HuwR.
-Anders M
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
birdj
Starting Member
USA
31 Posts |
Posted - 25 April 2001 : 12:14:10
|
I am having trouble inserting the code that will e-mail subscribers when a new topic is created. Can you explain to me a little more detailed where the code should go? Thanks
|
|
|
Anders M
Junior Member
Sweden
117 Posts |
Posted - 26 April 2001 : 03:01:44
|
quote: I am having trouble inserting the code that will e-mail subscribers when a new topic is created. Can you explain to me a little more detailed where the code should go? Thanks
This will be included in version 2, which will be released tomorrow evening (27 April). Version 2 will also have admin interface.
I will include subscription on topic level (not only forum level) but not in version 2. Probably in version 3. Eventually there will be an admin interface where you can switch subscription on/off on forum level and topic level. Please be patient.
Regards,
-Anders M
Edited by - Anders M on 26 April 2001 03:03:16 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Topic |
|