Author |
Topic  |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 09:31:10
|
Hello Snitzers.
I'm running 3.4.03 against SQL Server 2005.
Moderation is "turned on" at the forum, category and admin level. At the individual Forum level, moderation is set to "All Posts Moderated."
When a standard user posts a new topic, it is properly marked for moderation. However, all replies are allowed with no moderation requirement. This should not be the case.
I suspect the problem is due to some MODs in the forum, and I can back those changes out if need be to find the problem.
What I need is help finding the files and code lines that are responsible for "deciding" whether a reply should be moderated or not, and making that notation in the database.
I have looked up data in the database, and can find no replies that appear to be marked for moderation, so it looks like replies are not being properly processed by Snitz when they are posted.
Let me know if I need to clarify further, and thanks in advance for help< |
Nothing to see here. Move along. |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 03 December 2008 : 11:00:51
|
what do you have the 'Moderation' set to on the forum ?
you can set it to All posts or just Original post, make sure you have it set to 'All Posts', try setting it to something else and then setting it back if it is already set to all posts.
also make sure you are a normal user when testing the code or it won't work for you as admins are not subjected to moderation
if as you suspect it is caused by a mod (almost certainly since the default code works as designed) then your first port of call should be to recheck your edits as there is no mod that I am aware of that would affect the moderation code at all.< |
 |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 11:23:24
|
quote: Originally posted by Podge
Are you logged in as a normal member or as an admin or moderator. An admin or moderator will see the replies regardless of whether they are moderated or not.
I am logged in as a normal member
Thanks!< |
Nothing to see here. Move along. |
 |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 11:34:55
|
quote: Originally posted by HuwR
what do you have the 'Moderation' set to on the forum ?
It is set to "All Posts Moderated"
quote:
if as you suspect it is caused by a mod (almost certainly since the default code works as designed) then your first port of call should be to recheck your edits as there is no mod that I am aware of that would affect the moderation code at all.
I am doing my best to recheck the edits. However, since I did not make the edits (they were done by a third party who is no longer available), I'm seeking some guidance from the experienced snitzers here as to which files and general locations to look for as potential culprits.
As you know there is a great deal of code to sort through, and if someone can tell me that I need to confine the scope of my search to forum.asp, someotherfile.asp and yetanotherfile.asp, then it will save hours of comparing all files.
Thanks in advance< |
Nothing to see here. Move along. |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 12:07:58
|
quote: Originally posted by Podge
The first thing I would do is to check post_info.asp against an un-modded post_info.asp
Can you post a link to a txt version of it ?
What is your forum url ?
The actual production forum is in a secure area that will be inaccessible, but I can upload the production files to an alternate location.
I'll upload to http://www.pianomagic.com/tsforum/post_info.txt
Check in about 5 mins.
Thanks! (I'll continue searching that file as well)
< |
Nothing to see here. Move along. |
 |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 12:32:30
|
a-ha!
Excellent pointer. I think I've found the problem. Looks like two separate mods were added, but not reconciled to each other. As a result there was some overlapping / redundant code and some poorly structured and/or statements.
I've made some adjustments and it appears to be working properly now.
Thanks so much for pointing me to the right file!< |
Nothing to see here. Move along. |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
JasonBrett
Starting Member
5 Posts |
Posted - 03 December 2008 : 12:53:31
|
quote: Originally posted by Podge
Scratch that.
Glad you got it working.
Thanks to both you and Huw for your help. Saved me tons of time tracing code!< |
Nothing to see here. Move along. |
 |
|
|
Topic  |
|