vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=215096

Adv. Editing Options for Mods and Admins
by akanevsky
01 Jun 2009 20:55

5 Attachment(s)
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*======================================================================*\
|| Adv. Editing Options for Mods and Admins
||
|| Author : Anton Kanevsky
|| Co-Author(s) : Xenon
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 01, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*======================================================================*/

DESCRIPTION

This hack gives your board staff a few advanced post editing options that are available in New Thread, New Post and Edit Post interfaces. Since this is a port of Xenon's Adv. Editing Options for Mods and Admins Hack, credits for the original idea (but not for the port cause it has a lot new features that were not present in the original :)) belong to him.

Note that this hack may interfere with other hacks that make use of posting functions. If such problems appear, place the following code in the very beginning of the problematic script:

------------------------------------------------
define('BYPASS_AEO', true);
------------------------------------------------

This should eliminate whatever problem appears. If it does not, please feel free to mention it.

STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES

Basics:
  • Post Editing Hierarchy (available to mods, s-mods, admins and s-admins):
    Superadministrators: Can restrict editing to moderators (and above), supermoderators (and above), admins (and above), or superadmins only.
    Administrators: Can restrict editing to moderators (and above), supermoderators (and above) or admins (and above).
    Supermoderators: Can restrict editing to moderators (and above) or supermoderators (and above).
    Moderators: Can restrict editing to moderators (and above).

  • Post Author (available to administrators only):
    Administrator can specify a custom author of any post. Guests (non-existing users) can also be specified.

  • Post Date/Time (available to administrators only):
    Administrator can specify a custom date and time for any post.

  • Post IP (available to administrators only):
    Administrator can specify a custom ip address for any post.

Advanced:
  • A system-wide switch that defines the minimal editlevel required to use the hack.
    It can be found in vBulletin Options -> Advanced Editing Options for Mods and Admins.
  • A per-user editlevel override, available via admincp user options.
  • Color-coded listing of users to whom a custom editlevel has been applied.

Note:
To make the subject of the override clear for you, here is an example. If you turn you take a regular registered user and set the override to "Administrator" in that user's profile, then that user will be able to use hack options that would otherwise be available only to administrators.

VERSION HISTORY

2.1.0
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Eliminated all template edits. The difference in template edits between different vBulletin versions is handled automatically.
[+] Added support for attachments for posts with custom user setting. These attachments are now saved, and their ownership is set to whatever custom user is specified.
[+] When a post is submitted with a custom user setting, that user's activity dates are updated if they are older than the post's date. The dates of the user's activities are never set to the future. If a new post is made with a date in the future, the user's activity dates are set to present time.
[+] When a post is submitted with a custom dateline, last post information in forum and thread is now rebuilt properly.
[+] If a post is submitted with a custom dateline, the thread's firstpostid and creation date are now set to match whatever posts is now the first one in the thread.
[+] In the event that you have installed "vS-Hide Hack Resurrection," and you are changing the ownership of a post that has been thanked, the ownership of thanks is updated automatically, and so are the users' thanked counts.
[+] Removed a lot of redundant code, so the hack should now work faster than it did before.

2.0.2
[+] The hack is now officially compatible with vBulletin 3.6.
[+] Added a workaround for hacks that use new post functions. See description for details.
[+] Unlike before, adv_editform form elements now use vbulletin styles.

2.0.1
[F] Removed extra queries from showthread and showpost.
[F] "adv_editform" is now cached.

2.0.0
[+] A "superadministrator" editlevel.
[+] A system-wide switch that defines the minimal usergroup required to use the hack.
[+] A user-level override of system permissions that defines the editlevel associated with any particular user.
[+] A listing of users for whom an override was defined (with color key). Located under "Users" in the control panel navigation menu.

1.0.2
[+] When you make a post, you have a new checkbox available. That checkbox is off by default, and it allows you to choose whether to use the custom dateline in your post.

1.0.1
[F] Lastposters were not updated on newthread and newreply when replied by admin.

1.0.0
First Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

akanevsky 01 Jun 2009 20:55

First Post Reserved

Greek76 01 Jun 2009 23:27

Looks great!

rule0 02 Jun 2009 02:08

very good, will try. :up:

Hornstar 02 Jun 2009 14:59

Thanks for the update, this is a really great hack!

One request tho, something which I have been hoping to come for ages from VB, is a way to give individual posts an extended edit length time. (If that makes sense, I feel it would fit neatly into this hack).

akanevsky 02 Jun 2009 18:41

Quote:

Originally Posted by hornstar1337 (Post 1822000)
Thanks for the update, this is a really great hack!

One request tho, something which I have been hoping to come for ages from VB, is a way to give individual posts an extended edit length time. (If that makes sense, I feel it would fit neatly into this hack).

Actually, it doesn't make much sense. If you were to give a post an extended edit length time, that means you're a moderator or admin, right? But then, you can edit the post anyway. So what would be the point of that feature?

Hornstar 02 Jun 2009 22:38

I'd want to be able to give it to any post and that user could edit there post again. does that make more sense now?

akanevsky 02 Jun 2009 22:40

Quote:

Originally Posted by hornstar1337 (Post 1822301)
I'd want to be able to give it to any post and that user could edit there post again. does that make more sense now?

Yes, it does. I'll think about it, although I cannot promise I will implement it. :)

Hornstar 03 Jun 2009 08:16

no worries, thanks for having a think about it anyway.

photofox 05 Jun 2009 04:28

Nevermind, problem solved.

MarkusB 06 Jun 2009 15:51

Quote:

Originally Posted by hornstar1337 (Post 1822000)
Thanks for the update, this is a really great hack!

One request tho, something which I have been hoping to come for ages from VB, is a way to give individual posts an extended edit length time. (If that makes sense, I feel it would fit neatly into this hack).

yes that would be very nice!
Thanks for the Hack, :up:

will test it after the move to another Server

TheInsaneManiac 11 Jun 2009 15:08

Now see in the old one the staff members could still delete posts. I feel as though if a staff member sees they get a permission error they may be confused and attempt to delete the post to see if it's a bug or something. Do you think you can add an option to disallow deletion also?

Thanks.

JacquiiDesigns 16 Jun 2009 02:57

AWESOME - Anthony I am so happy you updated this!
Thanks for the share ;)

Jacquii.

rrudeboy 29 Jun 2009 14:13

FYI: i installed this mod, and suddenly members who log on with their cellphones/smartphones could no longer reply to posts.

Trek 30 Jun 2009 21:21

I installed this, but after I did, all of the forms I have using Easy Forms (mod here on the website) would no longer submit. Looks good otherwise, but the forms I have are of a higher priority.


All times are GMT. The time now is 09:45.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.