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?
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
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.