Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 11-22-2006 Last Update: 05-31-2009 Installs: 223
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 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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-28-2007, 07:07 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PoetJA-1975,

Please go back to post #58 and re-read it carefully. The arguments in that post are sufficient if you take time to understand them. The only thing I can add is that I strongly discourage you from posting anything further in this or any other of my threads, because I am on the verge of requesting the staff to have ALL of my modifications removed from this site.

In case you are wondering, the last part is underlined because:

a) I am 100% serious;
b) There is absolutely nothing preventing me from doing so;
c) I want to make sure that you notice that part of the post and actually read it - for your own benefit.
Reply With Quote
  #63  
Old 02-28-2007, 10:06 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's about about time everyone in this thread (Author included) started acting like adults. It's like a bunch of fighting school children atm.

JFYI, it's not your job to go around telling other members when they can or cannot post either, that would the the job of the site moderators.
Reply With Quote
  #64  
Old 02-28-2007, 10:22 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My apologies PAUL .

Jacquii.
Reply With Quote
  #65  
Old 03-01-2007, 02:42 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Group,

I have been using this hack for a few days now, and what I am finding happening with the file attachements is this.

When creating a new post or reply I enter in all my content, and then i go to the file attachment manager and upload any files i want in the post, then I click preview and they are shown 'attached'.

Now when I click on the submit button, the post gets created but the attachments dont stay with the post.

The only way I have found a way around this for now, until hopfully this can be fixed is post your text first without attaching any files, then click the edit button and then upload your files. This is the only way so far that I have been able to use this hack attaching files.

Also another thing I am finding is that the attachments are not being uploaded to the appropriate users files folder. They are being placed in the admin folder within a sub folder like this. Path = domain.com/file_attachments/1/list of various user numbers folders

Is there a way that this program could let us select or have it automatically put the files in their proper folders? I have a feeling letting it put the files into the admin folder is going to cause some issues down the road.

I wonder if using the database for storage until all the messages are moved over is what I should do?

Doug
Reply With Quote
  #66  
Old 03-01-2007, 03:44 PM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! Well I was going to use this hack but after reading all this childishness and the huge surprise is the authors actions. I won't be using any mod this coder makes.
Reply With Quote
  #67  
Old 03-01-2007, 04:48 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tom_S View Post
Wow! Well I was going to use this hack but after reading all this childishness and the huge surprise is the authors actions. I won't be using any mod this coder makes.
I don't see it that way. Poet kept nagging about it, and PV kept responding to the nags so she had to come back and nag some more. PV made it VERY clear on his stance on this. I don't understand where there could have been some confusion.

When a vulnerability in someones hack is found, it should be reported. From there it's completely up to the author of the hack to do what they wish with the information provided. You can't make anyone do anything. If you don't like it, it's as simple as uninstalling.

What most people fail to take into consideration is PV and the rest of the coders here are here on their own free time, for FREE. This means they are not getting paid. You can't always expect them to give top quality support for this reason. Sometimes things get in the way, and the little least important things get left behind.

What I saw here, as Paul said, was very high schoolish, and quite ridiculous on both sides, and my explanation is not to clear anyone from any wrongdoings. Just an explanation from a different point of view.

I use this, and many mods provided by PV, and am grateful for the work he has done. I would hate to see them all pulled because of a little spat between another member.
Reply With Quote
  #68  
Old 03-01-2007, 06:09 PM
dizzy100 dizzy100 is offline
 
Join Date: Mar 2006
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
Concerning the attachment issue... Someone please provide the following details:

a) Your version of vBulletin.
b) Attachment storage method (database or files).
c) The specific steps required to reproduce the error.

Thanks, and I'll take a look at it whenever I can.
I already did this back in post #44 on the 14th of feb.

I'm running 3.6.4 and if you post attachments under a different username using this mod and then save the post the attachements seem to loose focus with the post. Edit the post again and you'll see no attachments linked with the post.

This can be reproduced every single time and i'm using the file method to store.

In honesty i wish i hadn't reported it now after all the fuss and i'm going to mark this as uninstalled.

Thanks anyways.

UNINSTALLED
Reply With Quote
  #69  
Old 03-01-2007, 06:25 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I already did this back in post #44 on the 14th of feb
Sadly, that post does not contain any of the three information bits I asked for. Thanks for providing the information now though.
Reply With Quote
  #70  
Old 03-05-2007, 12:37 AM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured out how to have this just appear on the edit page. it was really easy to to and everything appears to be working correctly

turn off the following plugins
newpost_complete
newpost_process
newreply_form_start
newreply_post_complete
newthread_form_start
newthread_post_complete

then remove $adv_editform from the newthread & newreply templates

that's it.

now the edit box does not appear in when posting a new thread to replying. both work as normal. when editing however, you'll have access to this great hack

I have no idea if I left something on that's no longer needed
Reply With Quote
  #71  
Old 03-06-2007, 03:11 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Group,

I dont know if this is happening to anyone else, but i have a couple of questions.

When I go to make a new post with this mod installed, I enter in the text and then submit the post as a different user other than the admin.

Then I go back and edit the post and upload the file attachments to it.

What I am noticing is that when using the file attachment system the folders that are created for each user id, are being placed within the admin's id folder instead of being placed into their own folder.

Why arent they being placed in their own folder since I am telling it to make the post by another user than the admin?

Doug
Reply With Quote
Reply

Thread Tools

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 08:40 AM.


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.06539 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete