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/Code)
 Disable "Edit" function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

yves
Starting Member

32 Posts

Posted - 19 December 2002 :  06:53:28  Show Profile
As discussed here
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=39666
I guess this is now in the field of the MODs.
Not that much of an expert myself, who owns the code and knows how to handle this one?

quote:
Originally posted by GauravBhabu
I would also suggest making it to be an option to set via admin options whether to allow editing the posts and then add a statement in chkUser function to assign the mLev for authors depending on the settings.




The chkUser=2 did the trick, but this indeed could be done cleaner.
Anyone feels like rewriting that chkUser function, and link it to the buttons shown?

Thanx!

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 December 2002 :  07:10:37  Show Profile
There is no need to rewrite the all of function chkUser. Though to be controlled from admin panel it needs some modifications (easy to implement) in following files:

config.asp (to Add a global variable and initialize it)
admin_config_features.asp (to set the option for allowing/disallowing editing)
active.asp (to show/hide edit icons)
topic.asp (to show/hide edit icons)
post.asp (to allow/disallow editing and display appropriate message to h(c)rackers)
post_info.asp (to display appropriate message to h(c)rackers)

I have it partly implemented at my site here
username: snitz
password: snitz

This may be moved to MOD Add-On Forum (W/O Code)
Go to Top of Page

Ez4arab
Junior Member

479 Posts

Posted - 19 December 2002 :  07:21:19  Show Profile  Visit Ez4arab's Homepage
i have a good idea which is disallow editing after forexample 30 min. this mean member can edit his/her to topic after the 30 min he can not do any thing. this feature i saw it in VB.

Ez4arab web site Ez4arab |
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07