vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Adv. Editing Options for Mods and Admins (https://vborg.vbsupport.ru/showthread.php?t=251701)

akanevsky 10-05-2010 10:00 PM

Adv. Editing Options for Mods and Admins
 
1 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 4.0.x
|| Released : Oct 05, 2010
||
|| 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.2.0
The hack has been ported to vBulletin 4.0.x.

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

midnz 10-06-2010 12:58 AM

Thank-you very much :)
Installed on 4.0.7. I am able to change the author of an existing post successfully however the post date refuses to change for me.

I had hoped that I could change the post dates on two particular threads/articles that are displayed using Bananalive's Article Forums v4.x so that they would disappear to the next page and out of view. They're both just demos of BBCodes that have been released here on vb.org. 2nd and 3rd articles in this forum (Test Demo and Another Test Demo).

I tested changing the post dates on normal posts (not affected by Banalive's Article Forums) in my main forum but with the same results. The post dates won't change. Hopefully I'm not just being blonde :confused: ...

akanevsky 10-06-2010 01:05 AM

Quote:

Originally Posted by midnz (Post 2107262)
Thank-you very much :)
Installed on 4.0.7. I am able to change the author of an existing post successfully however the post date refuses to change for me.

I had hoped that I could change the post dates on two particular threads/articles that are displayed using Bananalive's Article Forums v4.x so that they would disappear to the next page and out of view. They're both just demos of BBCodes that have been released here on vb.org. 2nd and 3rd articles in this forum (Test Demo and Another Test Demo).

I tested changing the post dates on normal posts (not affected by Banalive's Article Forums) in my main forum but with the same results. The post dates won't change. Hopefully I'm not just being blonde :confused: ...

Did you check the checkbox "apply the custom date"?
IF you did and it still doesn't work, what exactly are you trying to do? Change the date of existing post or a new one?

midnz 10-06-2010 01:44 AM

Quote:

Originally Posted by Psionic Vision (Post 2107263)
Did you check the checkbox "apply the custom date"?
IF you did and it still doesn't work, what exactly are you trying to do? Change the date of existing post or a new one?

No, I didn't check the checkbox. I didn't notice it before. I've just tried it and it works now. Thanks very much :).

CThiessen 10-07-2010 11:15 AM

Hi,
great Mod, thanks for that.
Do you think you could make it work for the Bog´s also.

One thing I missing in vB4 is the possibility to move Threads to Blog´s (And the post as comments)
If this works also for Blog´s i could do it. Just c&p an change author and Date.

Thanks
Christian

gagan007 10-12-2010 03:32 AM

tagged and rated excellent :)
Will install shortly.


Edit: Marked as Installed

Dr.osamA 10-14-2010 03:57 AM

installed

5 stars

thanxxxx bro

COL NIL SATIS 10-15-2010 10:09 AM

tagged

Tortikova 10-16-2010 05:45 AM

Its works for blog entries?

New Joe 01-22-2011 01:56 AM

Quote:

Originally Posted by Tortikova (Post 2110632)
Its works for blog entries?

No it doesn't.


All times are GMT. The time now is 07:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01135 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete