The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Edit posts or not to edit this is the question.
To allowing editing of posts in all forums with a time limit is easy, just set the defult in the admin options........
I am trying to find some easy to allow editing after this time in a particular forum (including all sub-forume of the nominated forum) I have searched for ages...however the words "allow edit in forums" etc is to generic and results show too many results. I dont know if this is a hack or just a matter of configuring the board options and permissions in a certain way Any ideas??? Thanks in advance |
#2
|
||||
|
||||
Does anybody have a solution??
|
#3
|
||||
|
||||
I don't think there's a way to do that in the board options. Should be pretty easy to make a hack for it though.
You could either do a quick hardcoded fix by replacing this (in editpost.php): Code:
if ($postinfo[dateline]<(time()-($edittimelimit*60)) and $edittimelimit!=0) { eval("standarderror(\"".gettemplate("error_edittimelimit")."\");"); exit; Code:
if ($threadinfo['forumid']!=1 and $postinfo[dateline]<(time()-($edittimelimit*60)) and $edittimelimit!=0) { eval("standarderror(\"".gettemplate("error_edittimelimit")."\");"); exit; Or you you could go all out and add a new setting to your board options page so that you can easily add or edit multiple forum ID's to exclude. |
#4
|
||||
|
||||
thanks ill give it a try
|
#5
|
||||
|
||||
hmm i wrote a hack long time ago, where you can set the timelimit for each forum seperately, maybe that could also help ya
|
#6
|
||||
|
||||
Gee Thanks Xenon thats what I was looking for.
|
#7
|
||||
|
||||
you're welcome i never thought someone could use it again |
#8
|
||||
|
||||
Where is this hack please Xenon?
I actually need the thread creator to be able to edit his/her own posts in the thread they have created in a specific section only (they'll be using the 'threads' as their homepages) But I don't mind others having the abilty to edit their 'replies' if thats all we can do :-) |
#9
|
||||
|
||||
look at his profile you will see the hacks he created.
|
#10
|
||||
|
||||
i did..but coudnlt see it :-(
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|