Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 14 December 2008 : 18:32:45
|
I wrote this in response to a request. This mod allows administrators (or moderators) to force members to view a topic before continuing to use the board. To turn the moderator access off is a matter of changing one line of code.
When the member views the topic, a value is set into the member's record. If the topic concerns a rule violation, for example, the administrator will be able to check whether a member viewed the topic about a rules change.
Required topic id changes are made from the admin home page.
Get a copy at SnitzBitz.< |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 19 December 2008 : 14:57:10
|
For those who downloaded earlier releases, please get the last one - it has several fixed routines and uses the config_new table vs the config table.< |
|
|
jgs
New Member
Netherlands
95 Posts |
Posted - 24 January 2009 : 13:45:50
|
I downloaded the Mod very recently, but the .chm is empty, besides the TOC. (file not found)
I found in both files that need editing 2 lines to add, is that all that needs editing?
Both my files have many mods, so comparing them is not easy.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 24 January 2009 : 15:13:02
|
Well, since it has been downloaded about 60 times in the last month, and I had not yet heard that complaint, I re-downloaded it about a minute ago. The .chm file works perfectly, it isn't empty, and there were no "file not found" results.
My best guess is that you got a corrupted download. Delete it and try again.< |
|
|
jgs
New Member
Netherlands
95 Posts |
Posted - 24 January 2009 : 17:01:25
|
When I use winzip to open the file unpacked, I can read it. After unzipping not. Downloaded the file again, same result. Used another unpacking tool, same result.
If you had no further complaints, do'nt bother, I'll use the unpacked way.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 24 January 2009 : 20:58:57
|
If memory serves - With a recent Windows update, .chm files are typically "blocked" by default. You need to right-click on the .chm, select "Properties", and unblock it.< |
|
|
jgs
New Member
Netherlands
95 Posts |
Posted - 25 January 2009 : 06:59:31
|
I'm still using W2K, but I tried to open another .chm file, no poblem.
The problem is the file opens, but in the text screen I get an IE error that opening is breaking off (don't remember the english text, but it's the screen that says try reloading or try later again. File not available.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
Edited by - jgs on 25 January 2009 08:20:22 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 25 January 2009 : 19:23:50
|
That's just odd.
The file has been updated on SnitzBitz. Added ability to force reading of FAQ (use an "f" or "F") & rules (use an "r" or "R") pages, instructions to turn it on/off (simply type a "0" (zero) to disable), and a bypass routine if users do not have access to a given forum.< |
|
|
jgs
New Member
Netherlands
95 Posts |
Posted - 26 January 2009 : 02:18:21
|
Even stranger is that the files opens perfectly without unpacking the zip file first.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 03 February 2009 : 11:30:17
|
Thanks Carefree for this nice Mod I just installed it. Everyting seems to be fine - no errors. But, it doesn't force me to read the topic I specified. I am using SQL also.< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 03 February 2009 : 17:22:13
|
Sorry, all - Although the file was included as an example, I forgot to include the instructions for "config.asp" (without which, it just will not work). It's been updated at SB.< |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 04 February 2009 : 00:56:33
|
Still the same after adding the changes in config :(< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 04 February 2009 : 01:31:38
|
In "inc_required.asp", after the "end if" on line 45, insert these two lines and see what it prints out:
< |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 04 February 2009 : 02:33:53
|
quote: Originally posted by Carefree
In "inc_required.asp", after the "end if" on line 45, insert these two lines and see what it prints out:
It prints the following:
C_VALUE=2009 TopID=2009< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 04 February 2009 : 12:09:35
|
I figured out what's happening. You're not running a private forum, right? I forgot to account for open forums when I did the check for access routine.
Replace "inc_required.asp" with the following and let me know the results: < |
Edited by - Carefree on 04 February 2009 16:05:45 |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 04 February 2009 : 12:30:11
|
Thanks Carefree I am running a private forum indeed. I did replace it. The forum doesn't go past "sucessfully logged in". :-)< |
Edited by - texanman on 04 February 2009 13:15:56 |
|
|
Topic |
|