DETAILS MOD: "Subscribe to Forum via Email", version 1, 23 April 2001 Snitz version: 3.1sr4 Tested on environment: ChiliAsp/MySql/Linux Download location: http://www.paddla.space2u.com/subscription_mod_1.zip Author: Anders M
BRIEF DESCRIPTION On the start page (default.asp) I have added an extra column that contains checkboxes. When you check a checkbox, you subscribe to the corresponding forum. To unsubscribe, simply uncheck the checkbox. When someone replies to a topic or posts a new topic, the subscribers of the forum get an email which contains the text and an URL to the topic.
NEW FILES pop_subscribe.asp setup_subscription.asp
MODIFIED FILES default.asp post_info.asp
INSTALLATION INSTRUCTIONS 1) Put the four ASP files in your forum directory. 2) Create new database table by directing your web browser to setup_subscription.asp 3) That's it!
I have marked the changes in the modified pages (default.asp and post_info.asp), so there should be no problem if you want to add the changes yourself.
LIMITATIONS If you delete a person or a forum, the new database table that I have introduced is not updated. Be careful about that!! I might add functionality for dealing with this problem (if there is a demand for it)
quote: LIMITATIONS If you delete a person or a forum, the new database table that I have introduced is not updated. Be careful about that!! I might add functionality for dealing with this problem (if there is a demand for it)
Since I'm new with Snitz, I would be very glad if I could get some help from experienced Snitz developers/users
Some points I've been thinking about:
I want to update my subscription table in the database when a member/forum is deleted. Which files do I need to modify? Only pop_delete.asp
Wouldn't it be neat to have the subscription function admin configurable from a web interface (switch subscription on/off)? In which files do I start looking
Smilies and forum code doesn't look very good in the email text. Any ideas of how to improve it
I want to update my subscription table in the database when a member/forum is deleted. Which files do I need to modify? Only pop_delete.asp
Yes, you will only need to modify pop_delete.asp
Your biggest problem will be if someone deletes a category, you should maybe stare the CAT_ID in your table, you can then delete a whole category without having to do an iteration.
quote:Yes, you will only need to modify pop_delete.asp
Ok.
quote:Your biggest problem will be if someone deletes a category, you should maybe stare the CAT_ID in your table, you can then delete a whole category without having to do an iteration.
Good idea. I will consider this.
I thought of adding "admin config" in the page admin_config_features.asp. This means that I must add a field to the config table. I see that the fields in this table have names containg "STR", e.g. "C_STREMAIL". What does "STR" stand for?
Has anyone got this to work with Message Icons? It seems to mess with it.. also my statistics.asp is seperate from the defaut is this normal or just because I'm using HuwR's forum?
Has anyone got this to work with HuwR's forum and Message Icons? if so let me know or if anyone can help me set this up.
Thanks, Rick
BTW... Very Cool mod! something like yahoo using in their clubs.
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Other than the already mentioned issues, 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. Anyone know where I would need to edit to fix this?
Thanks!
*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *
quote:Yes, you will only need to modify pop_delete.asp
Ok.
quote:Your biggest problem will be if someone deletes a category, you should maybe stare the CAT_ID in your table, you can then delete a whole category without having to do an iteration.
Good idea. I will consider this.
I thought of adding "admin config" in the page admin_config_features.asp. This means that I must add a field to the config table. I see that the fields in this table have names containg "STR", e.g. "C_STREMAIL". What does "STR" stand for?
-Anders M
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... When you get it working can you send me the 3 files so I can see where to put the code because the Message Icon mod changed my code to see where to put in the code for this mod.
Thanks, Rick
quote: having a problem when someone creates a topic, no notify received, although replies work ok, will investigate
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.