Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Adv. Editing Options for Mods and Admins Details »»
Adv. Editing Options for Mods and Admins
Version: 2.2.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 10-05-2010 Last Update: 10-05-2010 Installs: 106
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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

Download Now

File Type: zip A.E.O_2.2.0_by.Psionic.Vision.zip (12.6 KB, 492 views)

Screenshots

File Type: jpg screenshot01.jpg (45.3 KB, 0 views)
File Type: jpg screenshot02.jpg (37.2 KB, 0 views)
File Type: png screenshot03.png (43.7 KB, 0 views)
File Type: png screenshot04.png (16.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
ELROBLE, gsk8, Kayvin

Comments
  #12  
Old 02-01-2011, 09:36 AM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope this is supported.
I installed it but even as it was set to Admins only, my Super Moderators could also use it.
Reply With Quote
  #13  
Old 02-18-2011, 08:09 AM
rwoscott rwoscott is offline
 
Join Date: Jan 2007
Location: Melbourne
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I seem to have a problem with this hack.
When I (as an admin, who has access to use the hack) try to comment on a CMS article, I get the following message:
"You did not specify a username for your post."

Users in lesser groups can post comments successfully.

I've disabled this hack, and I can add comments, so I'm assuming it is related to this plug-in.

Thanks.
Reply With Quote
  #14  
Old 03-16-2011, 08:59 PM
AbeFroman AbeFroman is offline
 
Join Date: Jul 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I activate this mod?

I copied the xml file and the php file to the appropriate directory, but when I go to edit a post as the admin, I don't see an option to change the time?

Also I dont see anything in the admin section for the advanced editing options.
Reply With Quote
  #15  
Old 10-06-2011, 05:20 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB 4.1.7, add-on version 2.2.0.

Replying to thread gives this error:
Code:
Call to undefined function build_thread_counters()
To fix this:

1. Open product XML, search for:
Code:
build_thread_counters($threadinfo['threadid']);
2. Add this ABOVE:
Code:
require_once(DIR . '/includes/functions_databuild.php');

NOTE: There are two instances of:
Code:
build_thread_counters($threadinfo['threadid']);
Apply fix on both of these.
Reply With Quote
  #16  
Old 12-08-2011, 12:43 PM
ka81's Avatar
ka81 ka81 is offline
 
Join Date: Mar 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work correctly on 4.1.8?
it's enough to download and install only A.E.O_2.2.0_by.Psionic.Vision.zip or also I shave to make changes from post #14 ?

Thanx!
Reply With Quote
  #17  
Old 12-09-2011, 07:01 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it does.

-Edit XML to implement above fixes, then import it.
-Upload included files.
Reply With Quote
  #18  
Old 12-28-2011, 03:16 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the fix, I had to uninstall but then I applied the fix now and its fine

Also changed the date style from MM/DD/YY to DD/MM/YY
Reply With Quote
  #19  
Old 07-22-2012, 04:24 AM
sutto sutto is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool Mod.

Is there a way to see a list of posts they have been changed using this mod?

I would like to keep an eye on what posts moderators are changing. Specifically the author (previous > current) etc.

In addition, is there a way to restrict the author selection to a pre-defined list? For example, I only want moderators changing particular posts to the 'Moderator' user. I don't want them all to have the ability to change the author to absolutely anyone on the forum.
Reply With Quote
  #20  
Old 07-30-2012, 04:58 PM
JackThomson120 JackThomson120 is offline
 
Join Date: Jul 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it just me or does this not show when you're on newreply.php and posts without a username?
Reply With Quote
  #21  
Old 08-10-2012, 11:25 AM
sevak sevak is offline
 
Join Date: Jan 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Fatal error: Call to undefined function build_thread_counters() in /home/hithokth/public_html/includes/functions_newpost.php(784) : eval()'d code on line 17
got this error when editing a post with multiple entry...

i am trying to split them as they are automatically added in old post
---------- Post added at 11:13 ---------- Previous post was at 11:12 ----------

now issue is that this 10 post having 100 videos now....while it should be 100 posts...

searched and got this mod...tried to cut and paste in new post with time so it will add as as post down and if it worked i can split all...but this error came in 4.2.0....

any proper soultion??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04557 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete