Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Ideas on HIDE Forum Code
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dayve
Forum Moderator

USA
5820 Posts

Posted - 05 June 2002 :  13:00:01  Show Profile  Visit dayve's Homepage
I had a mod in my version 3.1 where an admin could hide a post just as they would if they were to delete or lock a topic. This proved useful for spammers and those with malicious intent because it hid the post from the regular members while allowing the moderators and administrators to keep the post in tact for use to show to ISP's and record keeping purposes.

I have not yet applied that to my 3.3 but I will very shortly. I want to compliment this type of mod with a HIDE forum code feature that Crash mentioned awhile ago he was working on. I've seen this feature at InfoPOP or some other forum and what it allows a moderator/administrator to do is encapsulate text withing tags like this:

[hide]regular members can not see this. used for commenting on someones post[/hide]

what happens then is regular members can not see this info but moderators and administrators can. I thought about keeping it simple and using something in the inc_functions.asp using replace where my HIDE tags would be this:

<div style="visibility:hidden">regular members can not see this. used for commenting on someones post</div id="hide">

This of course based on the mLev. However, any web developer knows that this only hides it from the page and in fact the comments can be retrieved simply by viewing the source.

Anyway, I have other ideas to replace ALL characters between the tags with blanks but not sure if that is the best approach either. So, finally my question is, does anyone have any input on this idea. I am looking for the "best" approach on this. I have a lot of idea on how it can be done, but I like efficiency, simplicity and of course practical functionality.

Thanks to all in advance for their input..


http://www.nineinchnailz.com - your source for everything nine inch nails !

Edited by - dayve on 05 June 2002 13:03:52

Nathan
Help Moderator

USA
7664 Posts

Posted - 05 June 2002 :  18:37:41  Show Profile  Visit Nathan's Homepage
Well, if you ran it through a system like the image tags do, to sort out the content of the [hide] section. Then you could only send it to mods and admins rather than to everyone.

I think sending it in the HTML to everyone could be considered a security breach.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 05 June 2002 :  18:49:09  Show Profile  Visit dayve's Homepage
quote:

I think sending it in the HTML to everyone could be considered a security breach.



agreed, which is why I will not be using dhtml (div layer) for this.. care to elaborate on your idea?


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 June 2002 :  19:24:33  Show Profile
the person would also be able to view the comments if they edited their post (and remove them too).

Probably would be better to keep the comments separate from the message in the database. Maybe just add another field to the topics table T_COMMENT (and R_COMMENT to the reply table). Then you'll have greater control over who can view it(using mLev)
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 05 June 2002 :  19:32:32  Show Profile  Visit dayve's Homepage
good point.., just seems like a waste of space in the database for something that will not be used in every post, but I am not discounting this idea.


http://www.nineinchnailz.com

Edited by - dayve on 05 June 2002 19:34:59
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 05 June 2002 :  20:27:31  Show Profile  Visit Nathan's Homepage
Humm, how about if you added just a 1/0 to the field T_Comment or R_comment

Then you could put them in their own table as COMMENT_ID / TOPIC_ID / REPLY_ID / COMMENT_TEXT

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 05 June 2002 :  22:57:55  Show Profile  Visit dayve's Homepage
quote:

Humm, how about if you added just a 1/0 to the field T_Comment or R_comment

Then you could put them in their own table as COMMENT_ID / TOPIC_ID / REPLY_ID / COMMENT_TEXT

Nathan Bales
Snitz Exchange | Do's and Dont's



why didn't I think of that earlier... I always forget to think relational at times... that may be the key... thanks Nathan, I will report back on this once I decide to go with it, just in case anyone is interested.


http://www.nineinchnailz.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07