Version: , by Xenon
Developer Last Online: Oct 2023
Version: 2.2.x
Rating:
Released: 01-02-2002
Last Update: Never
Installs: 54
No support by the author.
Hi folks!
After my server has had problems last night, so the date was incorrect, an the posts had the dateline of October, I start programming this hack, to change a bit more of the Posting informations if you are an Admin of the board.
Now you can change
1. The Userid of this Post (don't know when, but perhaps you'll need it sometimes)
2. The Threadid of the Post (if you want to take this post to another thread)
3. Date and time postet
4. IP Address saved with the Post
5. can make post uneditable for original Author/Mods/Supermods (priority level system) or even editable to the author when timelimit is over...
If you like it Please click on install Button Screenshot
} else if($postinfo[editable]==2 and !ismoderator($threadinfo[forumid],"caneditposts")) {
$editpriority="Moderator/Supermod/Admin";
eval("standarderror(\"".gettemplate("error_editpriority")."\");");
exit;
}
add this clause after the }:
PHP Code:
else if($postinfo[editable]==4 and $postinfo[userid]!=$bbuserinfo[userid] and $getperms[cancontrolpanel]!=1 and $getperms[ismoderator]!=1) {
$editpriority="Author/Supermod/Admin";
eval("standarderror(\"".gettemplate("error_editpriority")."\");");
exit;
}
have to say i found a very small bug.
It just occurs if you allow guest posting...
to correct it replace this line:
PHP Code:
if (!isset($userid) or $userid=="" or $userid==0) {
with this one:
PHP Code:
if ((!isset($userid) or $userid=="" or $userid==0) and $bbuserinfo[usergroupid]==6 and $postinfo[userid]!=0) {
Also i'm thinking of a funny enhancement: Make a Post editable by all Members and make it editable by guests *gg*
Editable by all members could perhaps be usefull for clanboards in a announcement thread or something like that, the other ist just to play jokes on users
are there some feature you want have included in this hack?
because i think this was the final version all other things aren't needet anymore?
That could be kindof dangerous on a board, even as a joke. I like the hack just the way it is now.
Quote:
Originally posted by Xenon
Also i'm thinking of a funny enhancement: Make a Post editable by all Members and make it editable by guests *gg*
Editable by all members could perhaps be usefull for clanboards in a announcement thread or something like that, the other ist just to play jokes on users
are there some feature you want have included in this hack?
because i think this was the final version all other things aren't needet anymore? [/B]
Thank you, sir. That's why I like installing your hacks, you're one of the few authors who will go that extra mile to make your hacks personalized. Great job!
Quote:
Boofo: i won't include that, because i think such wishes are personall wishes not used by many others, but i can tell you how to do it k?
ok then that was the final version i think
@satan: hmm, that wouldn't affect the post-table but the usertable, so i think it shouldn't be in the editpost.php
You're going to strangle me here in a minute, but it seems that no matter which radio button I pick now, it gets set at the Admin radio button for editing after I re-save the message. I followed your instruction on the add-on and double-checked everything. Sorry.