PDA

View Full Version : Administrative and Maintenance Tools - Adv. Editing Options for Mods and Admins


akanevsky
11-22-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=61412), 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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=215096)

akanevsky
11-23-2006, 05:08 PM
First Post Reserved.

Adrian Schneider
11-23-2006, 05:23 PM
Cool, thanks for sharing. This will come in handy on one of my sites.

aveon
11-23-2006, 07:09 PM
nice mod thanx

Nathan2006
11-23-2006, 08:43 PM
Thanks Anthony,

Was waiting for the 3.6x version:D

Install;)

COBRAws
11-24-2006, 12:06 AM
Thanks Anthony,

Was waiting for the 3.6x version:D

Install;)
The 3.5 is 3.6 compatible ;)

akanevsky
11-24-2006, 12:07 AM
The 3.5 is 3.6 compatible ;)

Not necessarily, but true for this particular hack. :)

Ronak
11-24-2006, 12:48 AM
Awesome hack was waiting for this :D

Snatch
11-24-2006, 08:33 AM
Is it possible with this hack. That a normal user can edit his Thread in a Forum how all user edits are disabled ?

ragtek
11-24-2006, 08:56 AM
thx for your work :)

akanevsky
11-24-2006, 11:43 AM
Is it possible with this hack. That a normal user can edit his Thread in a Forum how all user edits are disabled ?

Nope, it is not possible.

Nathan2006
11-24-2006, 03:40 PM
The 3.5 is 3.6 compatible ;)

Yes but I think it was conflicting with
Post by Proxy - Let your staff post using another username(s) (https://vborg.vbsupport.ru/showthread.php?t=107557)

But with this new 3.6x version they both work great;)

Thanks for the update Anthony:)

Updated

akanevsky
11-24-2006, 03:54 PM
Yes but I think it was conflicting with
Post by Proxy - Let your staff post using another username(s) (https://vborg.vbsupport.ru/showthread.php?t=107557)

But with this new 3.6x version they both work great;)

Thanks for the update Anthony:)

Updated

Why would you want to have both hacks installed at the same time?

Nathan2006
11-24-2006, 04:39 PM
Why would you want to have both hacks installed at the same time?


Because I can send pm's using other accounts ;)

Send PM on behalf of User:

chris1979
12-23-2006, 08:02 AM
It's not working for me. When I edit the poster's username, it removes the old username but doesn't add the new one in.

Any ideas what might cause that?

akanevsky
12-23-2006, 12:13 PM
It's not working for me. When I edit the poster's username, it removes the old username but doesn't add the new one in.

Any ideas what might cause that?

It works fine for me on vBulletin 3.6.4.

BOLT
12-23-2006, 04:25 PM
PV, I am absolutely TERRIBLE with installing these types of things and I know I'll be spending days trying to figure out how to get this on my forum. So, if it's not that much of a hassle, do you think you could install this on my weightlifting forum (once I get it up) for me if I give you access to the admin panel?

chris1979
12-24-2006, 08:16 AM
It works fine for me on vBulletin 3.6.4.

That's good.

For me, when I try to change the member who posted the message, it deletes the old username but doesn't add in the new one.

Any idea what can cause that?

akanevsky
12-26-2006, 01:42 AM
That's good.

For me, when I try to change the member who posted the message, it deletes the old username but doesn't add in the new one.

Any idea what can cause that?

It works on an unhacked installation, so the problem might be caused by another hack.

Valter
12-26-2006, 11:15 PM
It works on an unhacked installation, so the problem might be caused by another hack.
I've tried it on test forum and have the same problem. No other hack installed, original style, original files.

PoetJA-1975
01-16-2007, 08:08 AM
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, but if not - feel free to post in this thread.

There's a hack I know this was interfering with in 3.5.x - but I don't recall...
A list of those possible conflicting?

Jacquii.

akanevsky
01-16-2007, 06:31 PM
There's a hack I know this was interfering with in 3.5.x - but I don't recall...
A list of those possible conflicting?

Jacquii.

AEO - but you quoted the fix.

wbear
01-31-2007, 05:49 PM
Nice job on this, works a treat. Thank you!

PoetJA-1975
02-07-2007, 04:48 PM
Just an FYI for GARS users and AEO...
Adv. Editing Options for Mods & Admins ---> init_startup
is where you place the define('BYPASS_AEO', true); at the very beginning of the plugin ;)

Jacquii.

akanevsky
02-07-2007, 05:51 PM
Just an FYI for GARS users and AEO...
Adv. Editing Options for Mods & Admins ---> init_startup
is where you place the define('BYPASS_AEO', true); at the very beginning of the plugin ;)

Jacquii.

No, that is not where you place it. If you place it there, AEO will be disabled globally and that's not the goal.

PoetJA-1975
02-07-2007, 07:39 PM
No, that is not where you place it. If you place it there, AEO will be disabled globally and that's not the goal.

well after having asked this question time and time again... At the rate of sounding a complete and totall @ss hole - Where the Hell do you place it?

Jacquii.

akanevsky
02-07-2007, 07:59 PM
well after having asked this question time and time again... At the rate of sounding a complete and totall @ss hole - Where the Hell do you place it?

Jacquii.

In the beginning of the posting-related functions of the hack that causes conflicts. Unfortunately, that is different for every hack so I cannot give exact instructions.

PoetJA-1975
02-07-2007, 08:47 PM
OK - seems MR PAULM has solved the issue - So I post for future reference...
quoted from: http://www.thevbgeek.com/showthread.php?t=866&page=2
----------------
----------------

In the AEO 'init_startup' hook ;

Find:


global $vbulletin;

Add below it:


// Bypass Options //
// By Paul M - Because some mods choke on AEO //
$bypass_aeo = false;
if (THIS_SCRIPT == 'report') $bypass_aeo = true;
if (is_object($vbulletin->gars)) $bypass_aeo = true;

if ($bypass_aeo) {
$vbulletin->userinfo['editlevel'] = EDITLEVEL_AUTHOR;
return EDITLEVEL_AUTHOR;
}
// End of bypass options //

rjmjr69
02-09-2007, 09:04 PM
Ok with this hack installed whenever any of my staff try to edit a post after selecting save the user name is now missing? I disabled it and all is well? Any ideas

rjmjr69
02-09-2007, 11:30 PM
I got it to work right. I missed one of the template edits. Sorry for jumping the gun. Great mod I love it

Mutt
02-10-2007, 08:53 PM
I only want to to appear on the edit page. how can I disable it for new reply & new thread?

akanevsky
02-10-2007, 11:38 PM
I only want to to appear on the edit page. how can I disable it for new reply & new thread?

You can't.

Mutt
02-11-2007, 01:50 PM
ok, I moved it to the bottom of the page so it's not such a big deal. thanks

dizzy100
02-13-2007, 06:10 PM
Think i've found quite a serious bug here.

Any posts with attachments in them will get their attachments deleted.

I had mine all deleted over the last day, couldn't place why and then realised it was because of using this hack (which i found handy instead of logging in and out). But looking at the posts with no attachments (where there should have been) proves it was whilst using this hack the attachments went astray.

Anyone have the same findings ?

dizzy100
02-13-2007, 06:14 PM
Yes confirmed. The attachment is deleted but i hadn't noticed as the page was cached.

Needs addressing.

dcpaq2xx
02-13-2007, 09:47 PM
Im trying to install this on Vb 3.6.4 and while trying to edit the templates it is not finding any of the text that your telling me to look for. What gives? I cant get by the template editing steps because of this.

Any help would be greatly appreciated.

Thanks

Doug

akanevsky
02-13-2007, 10:19 PM
Im trying to install this on Vb 3.6.4 and while trying to edit the templates it is not finding any of the text that your telling me to look for. What gives? I cant get by the template editing steps because of this.

Any help would be greatly appreciated.

Thanks

Doug

It's there in standard vBulletin templates and compatibles. If your skin has templates that do not contain the code, then something is seriously wrong with that skin, and I cannot help you.

dcpaq2xx
02-14-2007, 12:28 AM
To make sure that I am looking in the correct location, what is the exact path to the templates I need to edit? Maybe I am just not looking in the correct ones.

Thanks

Doug

Update... Actually I found it in the "editpost" template, I had to look for it manually among all the text, the search/find feature in the admin cp is not finding what im putting in there. <form name="vbform" action="editpost.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor

Tulsa
02-14-2007, 04:25 AM
Your directions call for this in the "edit post" template.
<form name="vbform" action="editpost.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>


The actual code is:
<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
It's missing the blue text in a stock 3.6.4 template

Everyone can just look for
<form name=
and they find it just fine. It's the only instance of this in the "edit post" template.

Just like
<form action=
is the only instance of this in the "new post" template.

Excellent mod though! :up:

dcpaq2xx
02-14-2007, 04:37 AM
Tulsa,

Thank you so much for the information. I was not aware of that. Usually in most cases I can copy and paste the first line and the find feature with find it. But for some reason it wouldnt work this time so immediately assumed the code wasnt there.

Thanks

Doug

dcpaq2xx
02-14-2007, 04:57 AM
Anything new on this deleting of attachments issue?

Doug

thincom2000
02-14-2007, 05:07 AM
I personally never experienced the attachment references being removed from posts with this hack, but I guess I'll look into this tomorrow and post my findings here if the author doesn't get to it before then.

dcpaq2xx
02-14-2007, 05:29 AM
In the admin cp there is a feature called 'List Users with Override'. What does it actually do? and in what cases would it show something?

Thanks

Doug

dizzy100
02-14-2007, 06:06 AM
I personally never experienced the attachment references being removed from posts with this hack, but I guess I'll look into this tomorrow and post my findings here if the author doesn't get to it before then.

I don't think it actually deletes the attachments persay, just looses their focus with the posting.

I posted several tests with attachments added under a different author, using AEO, and when submitting, the attachments are gone (although i have no doubt they are likely still in the system). Disabling the mod and posting the very same way, under a different username, and the attachments stay so its a reference issue with the new post using AEO i would imagine.

Until such time as this is addressed i have disabled the mod, but i'm missing it already :)

I also noticed that if you post with a different date (say a new thread) the forum home page and indeed new posts will still report it as new with the actual date you submitted it.

So say i posted a post that was too months ago (i had need to move some posts manually from my old board that failed to come in through Impex) then forumhome will show it as posted today and new, even though the date stamp is now two months ago, set through AEO. That caused my users some confusion for sure. Minor bug, but obviously again needs addressing.

dizzy100
02-14-2007, 06:07 AM
In the admin cp there is a feature called 'List Users with Override'. What does it actually do? and in what cases would it show something?

Thanks

Doug

Instead of allowing just a usergroup to use the feature, you can actually allow individual users to use the AEO interface too. Then that panel would show the users you have allowed override use and access to AEO (i assume, haven't tested).

dcpaq2xx
02-14-2007, 01:25 PM
oh ok thanks dizzy100.

Doug

akanevsky
02-14-2007, 06:11 PM
Your directions call for this in the "edit post" template.
<form name="vbform" action="editpost.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>


The actual code is:
<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
It's missing the blue text in a stock 3.6.4 template

Everyone can just look for
<form name=
and they find it just fine. It's the only instance of this in the "edit post" template.

Just like
<form action=
is the only instance of this in the "new post" template.

Excellent mod though! :up:

Incorrect. In editpost, using your instructions, the code will end up being added into "Delete This Post" form, not the "Edit This Post" form. And that'll create a lot of problems.

Anything new on this deleting of attachments issue?

Doug

When there are news, youi'll be notified as long as you are subscribed to this thread. Please do not ask that question again.

dcpaq2xx
02-15-2007, 01:13 AM
When there are news, youi'll be notified as long as you are subscribed to this thread. Please do not ask that question again.

Geesh, ask one time and I get my hand slapped. I'm sorry I even asked.

Doug

Tulsa
02-15-2007, 02:41 AM
Incorrect. In editpost, using your instructions, the code will end up being added into "Delete This Post" form, not the "Edit This Post" form. And that'll create a lot of problems.

It's not my instructions bud. It's simply what was there when I went and edited the template. I didn't write it, just put the edit where you instructed or as close as I could find to put it based on your instructions. It was a totally stock, unmodified "editpost" template in 3.6.4.

Actually upon checking it in the compare versions, it's a 3.6.2 version by freddie, that wasn't changed in upgrades to 3.6.4. I'm sure you're familiar with the compare versions in the template editor and how it shows changes from the original in different colors. Well here's a pic of that file in the compare versions, I kept a piece on the left of the unedited file to give reference and the only color change you see is the edit your instructions say to make.

I've also included your instructions, as you can plainly see they are different and your instruction set is wrong from at least 3.6.2 and forward.

akanevsky
02-15-2007, 11:01 AM
It's not my instructions bud. It's simply what was there when I went and edited the template. I didn't write it, just put the edit where you instructed or as close as I could find to put it based on your instructions. It was a totally stock, unmodified "editpost" template in 3.6.4.

Actually upon checking it in the compare versions, it's a 3.6.2 version by freddie, that wasn't changed in upgrades to 3.6.4. I'm sure you're familiar with the compare versions in the template editor and how it shows changes from the original in different colors. Well here's a pic of that file in the compare versions, I kept a piece on the left of the unedited file to give reference and the only color change you see is the edit your instructions say to make.

I've also included your instructions, as you can plainly see they are different and your instruction set is wrong from at least 3.6.2 and forward.

The problem is that prior to 3.6.2 the action was just editpost.php. Now it's editpost.php?do=blablabla. But I'll address that in the next release of the instructions.

Tulsa
02-15-2007, 04:30 PM
I noticed this wasn't being associated with a new reply so I added it to the newreply template as follows.

<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

$adv_editform

Do you see an issue with this code in this template? It's working nicely located here and gives the advanced edit options now every time you invoke the editor.

yingzhou
02-16-2007, 06:16 AM
When I turn this hack on. The admin cant Reply for the post anymore. Why is it?

da420
02-16-2007, 03:20 PM
You have to do the template edits.

BOLT
02-17-2007, 05:03 PM
PV, I am having a problem with your hack:

https://vborg.vbsupport.ru/showthread.php?t=139578

read the first post in that thread

PoetJA-1975
02-26-2007, 10:47 AM
...When there are news, youi'll be notified as long as you are subscribed to this thread. Please do not ask that question again.

1st off... How friggin rude is that!?!?????? Dude asking a question about YOUR modification that has potentially HORRIBLE repercussions for the users' board... My opinion is that this needs to be addressed IMMEDIATELY. And having said that one question: are you always such an @ss?

2nd question... (and I really hate to be chastised so rudely for asking - but I'm gonna ask anyway :) )

(available to administrators only) is there anyway to allow the modification to function for SuperMods? It'd be nice to have such a setting ;)

Jacquii.

akanevsky
02-27-2007, 05:36 PM
My opinion is that this needs to be addressed IMMEDIATELY.

Now that I think about it, perhaps I'll go with not fixing it at all. :)

rjmjr69
02-27-2007, 08:57 PM
Now that I think about it, perhaps I'll go with not fixing it at all. :)

WOW thats not very professional of you. If you wrote the code and its causing security problems it would be your obligation to fix them or let us all know you dont plan on supporting the mod and anymore. But no reason to be so mean about it to a member. Granted it wasnt what you wanted to hear but...................

akanevsky
02-27-2007, 09:21 PM
but...................

"but..................." that's not a security problem. Sorry, but I am not obligated to do anything, and neither are you obligated to use this or any other of my hacks. You are forgetting that it's all done for free, and I can withdraw support any time I want, esspecially when important things get in the way (which is what happened). But, meh, that was already said many times, so I'm not going to go into it. I'm only going to say that unless it's a real security issue, or an issue with one of my commercial modifications, it's not of high priority to me at this time. Period.

rjmjr69
02-27-2007, 09:48 PM
"but..................." that's not a security problem. Sorry, but I not obligated to do anything, and neither are you obligated to use this or any other of my hacks. You are forgetting that it's all done for free, and I can withdraw support any time I want, esspecially when important things get in the way (which is what happened). But, meh, that was already said many times, so I'm not going to go into it. I'm only going to say that unless it's a real security issue, or an issue with one of my commercial modifications, it's not of high priority to me at this time. Period.


Sorry I miss read the issue. I was just awe struck with your reply. I completely understand and agree with you. Again Sorry

Keep up the good work we all love your mods.

PoetJA-1975
02-28-2007, 03:39 AM
1. THE ISSUE (quote, unquote)
Think i've found quite a serious bug here.

Any posts with attachments in them will get their attachments deleted.

I had mine all deleted over the last day, couldn't place why and then realised it was because of using this hack (which i found handy instead of logging in and out). But looking at the posts with no attachments (where there should have been) proves it was whilst using this hack the attachments went astray.

Anyone have the same findings ?
For you to have blown Dude off with a smartass little comment is NOT acceptible in my opinion. It's a SERIOUS concern that should have been addressed PERIOD! He's talking about posts that can potentially be ERASED from the Forum = SERIOUS, possibly not "security issue" (blablablablablablablablabla), but serious!

2. Your modification is checked as supported! I know you'll want to correct me anyway - but I will go ahead and say - Correct me if I'm wrong, but when a modification is checked as "supported" on vBulletin.org it is IMPERATIVE that the author of such a hack understands OBLIGATION of the term supported and blablablablablablabla....

3. I'm actually concerned about the deletion of attachments issue...

4. When "important things get in the way" do you feel any need to at least tell people that? It would have been nice just to have seen: "I'm busy right now - other shyt is in the way - ...Get back to you ASAP, thanx for using my modification..."

5. I will respectfully suggest that any modification that Psionic Vision puts on vBulletin.org IS of high priority... You actually have an audience Dude. I don't think you respect that. You should!

Anyway.... Such scathing comments = blablablablablablablablalba - If I were you - I'd appreciate my gift of vB Wiz and act like it, 'les I hang myself by my bootstrings :)

Jacquii.

ps.... I realize the above post is such a turmoil for you to read AND such time consuming, but if you can dare take a bit of time to even answer my 1st question - It'd be appreciated:

(available to administrators only) is there anyway to allow the modification to function for SuperMods? It'd be nice to have such a setting ;)

akanevsky
02-28-2007, 07:07 PM
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.

Paul M
02-28-2007, 10:06 PM
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.

PoetJA-1975
02-28-2007, 10:22 PM
My apologies PAUL .

Jacquii.

dcpaq2xx
03-01-2007, 02:42 PM
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

Tom_S
03-01-2007, 03:44 PM
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.

da420
03-01-2007, 04:48 PM
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.

dizzy100
03-01-2007, 06:09 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=1182121&postcount=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

akanevsky
03-01-2007, 06:25 PM
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.

Mutt
03-05-2007, 12:37 AM
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

dcpaq2xx
03-06-2007, 03:11 PM
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

Tom_S
03-06-2007, 03:17 PM
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.

You are absolutely right. I do apologize.

SportsZone
03-10-2007, 12:09 PM
I'm also having problems with some (but not all) administrators not being able to post. For the time being, i've disabled it and am hoping this wonderful hack gets fixed asap!

BTW when I go to 'list users with override,' I get this fatal error:

Fatal error: Call to undefined function: get_editlevels() in /home/temp/public_html/admincp/advedit_users.php on line 77

Thanks for the great hack :)

dcpaq2xx
03-10-2007, 01:51 PM
Ive also noticed when using this that when creating a new post, it doesnt show the "show signature" box with the defualt check mark if they have a signature enabled.

Doug

dcpaq2xx
03-15-2007, 01:08 AM
One more thing I have noticed is that when creating a new post and making replys and if you edit the post date and time to something say a year before the current date, the last reply date and time STILL shows up. Now why wouldnt the last reply date and time be the same as the post date and time?

This hack is really messed up for VB 3.6.5. I do not reccomend.

Doug

MJM
03-16-2007, 03:26 AM
Can someone confirm this for me please? (vB3.6.5):

1. Make your subscription setting - Do not subscribe - I have it set this way as I, as admin, receive all new posts anyway.

2. Create a New Thread and change to a users name

3. Edit the users post and check subscription type
- It will show as Do not subscribe

4. Try and change to Instant email notification > Save > Now edit and check users subscription
- It does not change to Instant - stays as Do not subscribe

FYI
I had a similar problem with the vB Copy Post function and posted it as a bug, which a fix was provided.
See details Here:
vB fix: Copy Post/ edit Thread subscription problem (http://www.vbulletin.com/forum/bugs36.php?do=view&bugid=1265)

-----

The following is in regards to making the users subscription follow their default subscription.
Hopefully something similar could be applied to this mod, when creating a new thread for a user:
vB fix: Copy>move post changes users' subscription of post (http://www.vbulletin.com/forum/bugs36.php?do=view&bugid=1342)

Thanks,
Mark

MJM
03-18-2007, 07:51 AM
A follow up.
To be able to change the users thread subscription type on edit, after creating a new thread or post in a users name, use the vB fix provided here:

Copy>move post changes users' subscription of post
http://www.vbulletin.com/forum/bugs36.php?do=view&bugid=1265

I had inadvertantly forgotten to reapply this fix when upgrading from 3.5.4 to 3.6.5 as it is still awaiting the next version for vB bug fixes.

Cheers,
Mark

alluidh
05-14-2007, 06:35 PM
Hi

NOTICE: THIS MOD DOES NOT WORK CORRECTLY ON 3.6.4 AND ABOVE. INSTALL THIS AT YOUR RISK UNTIL FURTHER NOTICE. THANKS, PSIONIC VISION.
Are you able to tell what doesn't work, please?
I'd used this hack a very long time in 3.6.0 and I don't want miss him in 3.6.6.

akanevsky
05-15-2007, 05:52 PM
Hi


Are you able to tell what doesn't work, please?
I'd used this hack a very long time in 3.6.0 and I don't want miss him in 3.6.6.

You'll find out if you read the thread.

yingzhou
05-15-2007, 10:32 PM
Yeah. Im installed in my 3.6.4 forum then the admin cant use quick reply. But admin can use the Reply. :D Dont know how it is.

Deska
05-16-2007, 10:49 AM
So, any chance to get work with latest vbulletin? ;)

Mudvayne
05-17-2007, 05:37 AM
Psionic this hack doesn't work with vB 3.6.7 :(.

dcpaq2xx
05-17-2007, 08:26 AM
Anyone know if this hack works with VB 3.6.6 ?

Thanks

Doug

rjmjr69
05-17-2007, 09:04 PM
WOW READ PEOPLE DAMN one post above your question answers your question. PAS are you updating this?

thincom2000
05-22-2007, 03:51 AM
I am using 3.6.7 and am having no problems with Admins using Quick Reply. Are there other necessary conditions?

Also in 3.6.7, storing attachments in the file system, attachments are being stored in the correct folders for me.

Only bug I saw mentioned that I experience is only being able to add attachments in editpost. I think this is because there is no value for postid at the time attachments are stored. I'll try to find a fix when I finish switching EVERY SINGLE ONE of my template edits to plugin edits.

:up: PV

rjmjr69
05-22-2007, 05:47 AM
After updating to 3.6.7 mine is no longer working redid everything reverted uninstalled reinstalled blah blah blah get nothing everything seems to be installed but nothing is appearing in threads.

thincom2000
05-22-2007, 03:51 PM
There are different template edits.

In template editpost, find:
<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

In template newreply, find:
<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

In template newthread, find:
<form action="newthread.php?do=postthread&amp;f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>

Add underneath each:
$adv_editform

rjmjr69
05-22-2007, 08:12 PM
There are different template edits.

In template editpost, find:
<form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

In template newreply, find:
<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

In template newthread, find:
<form action="newthread.php?do=postthread&amp;f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>

Add underneath each:
$adv_editform

thanks I will try this right away:D

David Lama
06-13-2007, 07:33 AM
update? :)

rjmjr69
06-15-2007, 12:53 AM
Yeah any updates this is quite old now some new features would be great

SBlueman
07-18-2007, 05:01 AM
This sounds like it's something I need for my site....but I am worried about the attachment issue. Has there been a fix found for this issue?

ragtek
07-18-2007, 01:05 PM
Yeah any updates this is quite old now some new features would be greatwhat new features?

thincom2000
07-31-2007, 05:12 AM
New features? Hm... I have updated this mod to work with vBulletin Project Tools on my site. I will contact Psionic about releasing it.

I released the Expansion here: CES Adv. Editing Options for Mods and Admins (Project Tools Expansion)

Bro_Joey_Gowdy
07-31-2007, 07:06 PM
Any updates?

brvheart
08-09-2007, 12:34 PM
2 things:

Can I get this by the quick reply box by adding the template edit by it as well?

Is there a way to set a default level for the admins so that no one but a admin or above can edit so that it does not have to be set every time?

hantak
08-09-2007, 06:55 PM
Is this mod still non-functional for 3.6.4 and above?

I could really use something like this.

brvheart
08-10-2007, 01:11 AM
works for me on 3.6.8....


strike that.....found a few issues....I will wait for the update if there is one coming ;)

thincom2000
08-10-2007, 03:45 AM
Hi,

What issues have you found? I haven't come across any myself, but since I have developed another mod that requires this one, it would be helpful to know.

brvheart
08-10-2007, 09:32 AM
upon posting and editing, the icons for edit, quote etc will get lost and text will be displayed....this is the only one so far...this is on a 3.6.8 install

hantak
08-10-2007, 05:39 PM
I just tried this out on my 3.6.4 install and it works fine, no issues.

lil7rocket
08-16-2007, 10:26 AM
he's quit coding..... maybe I'll take the time to make an unofficial bugfix

TrIn@dOr
08-16-2007, 11:49 AM
Works great on 3.6.8.

If you want i can translate to Spanish, but can u post or send me a separated lang file?

Thanks.

Mikecp421
08-23-2007, 02:59 AM
does this also prevent editing the title by the alternative method of double-clicking on the title box in the forumdisplay view? I notice the titles can still be edited that way

Edit: I'm still able to bypass the thread editing disallow feature by clicking on it in the forumdisplay, andy idea how to make that work in this?

mhackl
08-28-2007, 02:53 AM
I'm looking for something similar to this except I want to grant these privileges only to the thread starter. This would allow users to take some responsibility for the management of their own threads.

cellarius
10-07-2007, 08:28 AM
Sorry to see that this mod is outdated. Worked for me quite well, even on 3.6.8, but it seems not to be compatible with Abe's Form Hack. As soon as this hack is active, the forms cannot be posted to new threads anymore. Error: "no thread specified".

MaXeL3G3ND
12-12-2007, 07:46 PM
I would like it to be updated sometime :) It would be cool if it could be made working with 3.6.8 or untill the real addon comes out ;) Of course i can't just "demand" it, but this is a quite good addon ^^

UManiac
12-23-2007, 12:55 AM
Works great on 3.6.8.

If you want i can translate to Spanish, but can u post or send me a separated lang file?

Thanks.

It didn't work for me on 3.6.8 level 2

I have pretty much a clean install with only vba cmps.

Although form shows up when I go to edit a post none of the advanced changes take place and original user name is removed.

If someone can make this work it would be greatly appreciated.

alluidh
12-27-2007, 09:47 PM
Does someone test this powerfull hack in 3.7?

Kurisu
12-27-2007, 11:36 PM
If someone can make this work it would be greatly appreciated.

Yeah. $10 for that person that fixes this hack.

Zaiaku
12-28-2007, 12:48 AM
Just tested this on a heavily modded 3.7 board. Works wih no problem.

alluidh
12-28-2007, 12:06 PM
Just tested this on a heavily modded 3.7 board. Works wih no problem.
Thanks for this info

Bro_Joey_Gowdy
01-07-2008, 08:34 AM
Any updated version for 3.7.0 ??

UManiac
01-14-2008, 12:19 AM
Yeah. $10 for that person that fixes this hack.

Add $10 from me as well...

UManiac
01-19-2008, 01:44 AM
It didn't work for me on 3.6.8 level 2

I have pretty much a clean install with only vba cmps.

Although form shows up when I go to edit a post none of the advanced changes take place and original user name is removed.

If someone can make this work it would be greatly appreciated.

Must have been user error :o

I removed - reinstalled and it's working fine on two separate boards running 3.68...

yaskevic
02-07-2008, 06:14 PM
Nice hack :)

David_R
05-02-2008, 02:13 PM
is there any other alternative to this hack.
We use this hack on vbulletin 3.6.4 and now we have upgraded to vbulletin 3.7.0 gold

edytwinky
05-02-2008, 03:43 PM
I'm guessing this doesn't work with 3.6.8? I've read some people can and others cannot

mikkitine
05-03-2008, 05:55 PM
I'm guessing this doesn't work with 3.6.8? I've read some people can and others cannotIt worked perfectly fine for me. I installed it on 3.6.8 PL 2. Upgraded to 3.6.9 - Still worked. Upgraded to 3.6.10 - Still worked. Upgraded to 3.7.0 - Still works.

It's a great hack and works fine.

David_R
05-05-2008, 07:45 AM
Upgraded to 3.7.0 - Still worksI tried this on 3.7.0 wont work. :(

hohleweg
05-09-2008, 09:13 PM
Hi
In Germany it dont work with 3.7 !
Jo

entertain
05-09-2008, 09:27 PM
In Germany it dont work with 3.7 !
it's working. ;)

mikkitine
05-10-2008, 07:35 AM
I tried this on 3.7.0 wont work. :(You need to make sure that:$adv_editformIs still in your "newthread", "newreply" and "editpost" templates for all your styles.

In the "editpost" template look for: <form name="vbform" action="editpost.php?do=updatepost&amp;p=$postid" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>And directly underneath it add:$adv_editformIn the "newreply" template look for: <form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>And directly underneath it add:$adv_editformIn the "newthread" template look for: <form action="newthread.php?do=postthread&amp;f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>And directly underneath it add:$adv_editformYou should see it now when you edit a post, create a new thread or create a new reply. This is all considering you've uploaded the product already.

Leica.Robbiani
05-10-2008, 09:15 PM
Hi
In Germany it dont work with 3.7 !
Jo
Our server also resides in Germany, we have the german vBulletin 3.7.0 gold and this hack works as it should be do. So I think it's not a problem of the country where you're living :rolleyes:

PoetJA-1975
06-17-2008, 12:48 AM
Any hope for a 3.7.1 PL 1 version of this modification?

Thanx,

Jacquii.

TosaInu
06-21-2008, 05:41 PM
Hello,

It's losing the author and makes the post a guest one in 3.7.1, even when set to an existing user.
When editing a post.

civil78
07-18-2008, 09:45 PM
I test it in clean install of 3.7.2. Working good.

yingzhou
07-22-2008, 11:49 PM
it's working fine but have some bugs in use. The admin cant reply or posting! Any fix for this?

hoangminh
07-30-2008, 01:02 AM
This version is working on 3.7, but on Quick Edit, may loose the post's author username, make the post is owned by Guest.

Any help?

Bellinis
08-01-2008, 06:15 AM
I hope Psionic Vision is able to update this mod to work with 3.7.2 :)

PoetJA-1975
08-01-2008, 09:59 PM
Me too :(

Jacquii.

Spank
08-09-2008, 04:15 AM
Me three. Really nice idea, I followed the threads from 3.0 hoping to get to a 3.7 version lol. This would be really useful.

PoetJA-1975
08-09-2008, 10:40 AM
So...... Help ANTHONY :blush: - You're public requires your assistance!

Jacquii.

naktacs123
08-27-2008, 06:47 PM
I would like this also, please update it.

snowlion
08-29-2008, 01:33 PM
This version is working on 3.7, but on Quick Edit, may loose the post's author username, make the post is owned by Guest.

Any help?
me too, Anthony! please update.

logofreax
09-14-2008, 06:42 PM
This version is working on 3.7, but on Quick Edit, may loose the post's author username, make the post is owned by Guest.

Any help?

I have same Problem.

Please update for 3.7.3 Patch Level 1 cause I need this Hack nearly every Day.

cu
logofreax

jl255
10-31-2008, 06:08 PM
having some serious issues here.

tried to install it and somehow, the installation doesn't seem to complete properly. It runs for a long time (few mins) and ends up with a blank page on my admincp.

then my style becomes completely lost.

but somehow the mod appears in my 'installed products' page. when i try to uninstall, it runs for a few mins, then ends up with a blank page. but it remains installed. arggg.

now my forum has no more style. it seems like the CSS is lost or something. i've removed all the template changes already.

cld some experienced guys tell me what i shld do now? tks.

PoetJA-1975
11-01-2008, 12:27 AM
^ sounds like you're trying to install it on a vBulletin version which it wasn't meant to be installed on... Please note that the modification was written for 3.6.0 ;)

Jacquii.

Bro_Joey_Gowdy
01-01-2009, 04:20 AM
Anyone know if this works with 3.8.0 ?

morrow
01-09-2009, 06:13 PM
Doesn't work for me. I'd love to see this for 3.8.

There is a similar mod for 3.8 but not as comprehensive as this one. I'll wait for this one to be released on 3.8. Yeee Hawwww.

https://vborg.vbsupport.ru/showthread.php?t=200952

kambiz
01-14-2009, 06:13 AM
Anyone know if this works with 3.8.0 ?
works fine.

Neutral Singh
01-23-2009, 02:05 PM
its buggy in 3.8.0

Valter
02-01-2009, 07:51 PM
Works for me on 3.8.1.

akanevsky
06-01-2009, 07:07 PM
Updated for compatibility with 3.5.x - 3.8.x.

Please undo all template changes because the new version does the automatically.

As for the $10, there is a donations button, but I am yet to see any donations. Never received anything. Haha. :)

Bro_Joey_Gowdy
06-07-2009, 10:30 AM
Uninstalled and reinstalled 3.8.x version:

https://vborg.vbsupport.ru/showthread.php?t=132291

ThomasBolley
08-18-2009, 06:20 AM
on vB3.8.4

on existing thread editing/go advanced mode get on save this error

Fatal error: Call to undefined function build_thread_counters() in /var/www/vb384/editpost.php(577) : eval()'d code on line 26

akanevsky
08-18-2009, 12:23 PM
on vB3.8.4

on existing thread editing/go advanced mode get on save this error

Fatal error: Call to undefined function build_thread_counters() in /var/www/vb384/editpost.php(577) : eval()'d code on line 26

You sure it's from this hack?
I don't think that build_thread_counters() is even a function in any vBulletin.

ThomasBolley
08-19-2009, 04:39 AM
You sure it's from this hack?
I don't think that build_thread_counters() is even a function in any vBulletin.

dont have any other hacks installed only some nfo2html and mincharacters was set to 0 via

milanese
09-22-2009, 03:02 AM
great work thanks for the newest update!!!

Leica.Robbiani
04-12-2010, 08:40 PM
Hi there,

will this hack be available for vB4 ???

L.R.

logofreax
04-12-2010, 09:49 PM
I am also looking for this on vB4...please port it...

Peter Lo
04-19-2010, 05:12 AM
I think all of us are waiting eagerly for a vb4 release.

logofreax
04-19-2010, 02:45 PM
Is there any other alternative for this hack?

ArchAngelz
05-20-2010, 04:30 AM
Any chance of a vb4 upgrade? I think many of us really need this.

Or has anyone tried this on vb4 yet?

Bill-SWJ
01-10-2011, 01:04 AM
Thanks a LOT.

A poorly managed server upgrade resulted in us dumping a dozen or so user posts -- they posted to the old server during DNS propagation after the dbs were migrated.

With this hack, I was able to go in and manually cross-deck the strays, then edit and credit them to their due date and time.

uhking
05-12-2011, 07:54 AM
I need this hack for VB 4.1.2. Can anyone tell me if i can use this??????
Thanks

thincom2000
05-13-2011, 07:35 AM
You'll have to figure out the template edits for vB4, but yes it does. I'm still using it on 4.1.3 since 3.6.x. Has been helpful when I get PM conversations I think deserve to be threads, so I can attribute it to the appropriate user at the PM date and time.

RaiinbowEyes
07-13-2011, 12:19 AM
I need this hack for VB 4.1.2. Can anyone tell me if i can use this??????
Thanks

I second this! I could really use this for v4 versions.

jl255
02-21-2013, 06:19 PM
can't seem to install this. it keeps getting timed out. what are the db changes? i have a huge board. any help will be appreciated. :)