vb.org Archive

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

akanevsky 05-31-2009 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 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 06-01-2009 06:55 PM

First Post Reserved

Greek76 06-01-2009 09:27 PM

Looks great!

rule0 06-02-2009 12:08 AM

very good, will try. :up:

Hornstar 06-02-2009 12:59 PM

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 06-02-2009 04:41 PM

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 06-02-2009 08:38 PM

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 06-02-2009 08:40 PM

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 06-03-2009 06:16 AM

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

photofox 06-05-2009 02:28 AM

Nevermind, problem solved.

MarkusB 06-06-2009 01:51 PM

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 06-11-2009 01:08 PM

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 06-16-2009 12:57 AM

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

Jacquii.

rrudeboy 06-29-2009 12:13 PM

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

Trek 06-30-2009 07:21 PM

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.

Kayvin 07-09-2009 11:23 PM

This was one of the two mods you made Psionic Vision that were why I am still using 3.6.x.

I'll be upgrading this weekend, you're awesome.

JacquiiDesigns 07-10-2009 01:59 AM

Quote:

Originally Posted by rrudeboy (Post 1839504)
FYI: i installed this mod, and suddenly members who log on with their cellphones/smartphones could no longer reply to posts.

Um... Prolly because they should use a phone to call and talk to folks and use a computer to access the internet...

Jacquii.

Kayvin 07-10-2009 04:14 AM

Quote:

Originally Posted by JacquiiCooke (Post 1846129)
Um... Prolly because they should use a phone to call and talk to folks and use a computer to access the internet...

Jacquii.

Pwnt. :) My phone calls people too, Jacquii.

JacquiiDesigns 07-10-2009 08:24 PM

Tech Geeks! LOL
I know - people have been trying to get me to buy a smartphone for months "Blackberry this Blackberry that..." I suppose I just of the ideology that phones are for calling people, not for surfing the net LMAO :P

Jacquii.

akanevsky 07-11-2009 09:18 PM

Quote:

Originally Posted by rrudeboy (Post 1839504)
FYI: i installed this mod, and suddenly members who log on with their cellphones/smartphones could no longer reply to posts.

Have them call the site and request the info via sms. :D

JacquiiDesigns 07-12-2009 03:48 AM

https://vborg.vbsupport.ru/ lol

hohleweg 09-03-2009 02:47 PM

1 Attachment(s)
hi
i make the update and
have a problem
i see the plug in double
why?
greetings jo

akanevsky 09-05-2009 12:06 AM

Quote:

Originally Posted by hohleweg (Post 1879025)
hi
i make the update and
have a problem
i see the plug in double
why?
greetings jo

Probably from an old template modification. You might want to revert your templates.

hohleweg 09-05-2009 09:55 AM

hi
yes from older version
i have
Quote:

$adv_editform
in templatest
i deleted it now its ok
greetings jo

klaush 09-05-2009 09:00 PM

Great, one of the best! Thanks for the update!

The Smoking Gun 11-23-2009 04:53 PM

Well done my good man......Marked, Voted and nominated!!!!

TSG!

Zaiaku 11-26-2009 11:03 PM

Hoping for this one for vb4. Great work!

Ganin 12-18-2009 09:15 AM

Thanks, installed.

Kayvin 12-25-2009 12:27 AM

Quote:

Originally Posted by Zaiaku (Post 1921426)
Hoping for this one for vb4. Great work!

The presence of this mod on vB 4 will be mandatory before I make the big changeover, it's one of my mods I use daily.

hohleweg 01-25-2010 04:14 PM

it gives also for 4.0 ?
or which something similar

grtings jo

hohleweg 02-27-2010 09:01 AM

*push

dweber 03-02-2010 01:17 AM

Is this mod ready for 4.0?

Valter 04-02-2010 08:25 PM

I'm missing this on vB4.

Are you planning to update it?

Valter 04-04-2010 10:12 PM

I've updated it for my forums, and it works fine, but it would be great to have official support.

https://vborg.vbsupport.ru/external/2010/05/23.jpg

Frans72 04-13-2010 04:45 PM

I've looked into this one as well, looks workable. But if you have a working vB4 version of this mod already, could you somehow upload/attach it?

The table structures seems to have remaining mostly the same, it's mostly the new variables system (and registration of them) that caused me trouble getting it to show at all. Quite frustrating to debug :)

Valter 04-18-2010 07:00 PM

I can not post it without Psionic Vision's permissions.

I've already asked for permissions, but there is no reply yet.

Frans72 04-18-2010 08:06 PM

Ah, that's to bad. I think I see the changes needed.. it just looks like a lot of work :)

Did you use/edit the latest version 2.1.0 ? I ask 'cos I had a lower version which I initially looked at, that one I could follow. The 2.1.0 uses this method of injecting itself into templates which is more tricky.

Come to think of it, is that more future-proof then the previous $adv_edit variable method ? Once I understood how to pass variables around in vB4 that seemed to work ok. Though repeating lots of code over use in several templates gets annoying.

rmd708 04-18-2010 09:04 PM

I will pay someone to modify this for 4.0 suite so that I can edit author names when creating articles. PM me if anyone can do this.

James T Brock 05-06-2010 08:46 PM

This mod takes ages to install when I try to upload it and it shoots my server load through the roof making my forum unable for 10-20 minutes. I tried this on a test site and then my live site and same results. This mod is not friendly to big boards!

Frans72 05-08-2010 07:57 AM

Uploading by itself cannot be made problematic by the code you're uploading, it's not active yet :) I've used 2.02 on vb 3.6.7 and that ran fine.

Aynybody heard from the author yet? I'd like to see the vB4 version made available, would hate to have to do work already done.


All times are GMT. The time now is 04:55 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.01402 seconds
  • Memory Usage 1,831KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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