View Full Version : Adv. Editing Options for Mods and Admins
sassy1
04-15-2006, 01:55 AM
Thankyou for your last post.
To tell me to upgrade to version 3.5.4 that i accept.
The only hacks running on my board at the moment are
your Hide hack resurrection expanded.
your warning system
and the Aria style skin.
Thanks for you help and support anyway.
:)
akanevsky
04-15-2006, 10:33 AM
Yeah, see if upgrading helps. Because prior versions might lack the init_startup hook, which would be causing the problem.
Mikecp421
04-19-2006, 02:45 AM
I cant get this file to open once it is downloaded, anyone else having that problem?
Deska
04-19-2006, 07:02 AM
I cant get this file to open once it is downloaded, anyone else having that problem?
I have no problem at all :)
Maybe your connection not stable and download not complete yet...
Mikecp421
04-19-2006, 10:33 PM
nope I downloaded like 15 other hacks even from the same coder. I will try again today
nothing, can someone send it to me, or host it somewhere I can DL it?
akanevsky
04-19-2006, 10:36 PM
I think that there might be a problem with your computer.
Be reasonable, what's the probability of downloading 15 hacks from the same coder, witness the fact that noone else has a problem with opening the files, and be unable to do so yourself?
Mikecp421
04-20-2006, 12:39 AM
guy, I realize that, but I downloaded another hack from you, its not a problem downloading it is a problem opening the zip, it says it is an invalid winzip32.exe file. Can someone just try to open the zip. Entertain the notion for just a second before convicting me. I just got 3 other hacks from your profile and they worked, so either my winzip is prejudiced or there could possibly be a problem with the file. Thanks
Paul M
04-20-2006, 01:36 AM
The zip opens fine for me.
Mikecp421
04-20-2006, 02:15 AM
arghh why am I only having problems with this one zip??
Nathan2006
04-20-2006, 07:31 AM
Thank you Anthony
Install:cool:
Boofo
04-20-2006, 04:41 PM
Anthony, sorry if I missed it, but is there a way to set this up so only admins can have access to use it? Or specific members?
Rabbitoh Warren
04-20-2006, 05:34 PM
Anthony, sorry if I missed it, but is there a way to set this up so only admins can have access to use it? Or specific members?
Boofo ? you can do both if you wish. You can set a minimal usergroup requirement via the Admin CP -> vBulletin Options -> Advanced Editing Options for Mods and Admins and then override that setting for individuals users.
Boofo
04-20-2006, 05:39 PM
Boofo ? you can do both if you wish. You can set a minimal usergroup requirement via the Admin CP -> vBulletin Options -> Advanced Editing Options for Mods and Admins and then override that setting for individuals users.
Ah, ok, thanks. I didn't see the setting in the vb settings list. Doh on me. ;)
Mikecp421
04-20-2006, 11:14 PM
**update** i was able to do it on my home computer, weird, but thanks anyway
akanevsky
04-21-2006, 11:32 PM
Boofo – you can do both if you wish. You can set a minimal usergroup requirement via the Admin CP -> vBulletin Options -> Advanced Editing Options for Mods and Admins and then override that setting for individuals users.
Yup, what he said (and thanks for finally replying in one of my threads / congrats on "master coder") :)
**update** i was able to do it on my home computer, weird, but thanks anyway
No problem.
Boofo
04-22-2006, 12:01 AM
Yup, what he said (and thanks for finally replying in one of my threads / congrats on "master coder") :)
I only got Master Coder status because Crap Coder was too hard for them to spell, I think. ;)
Excellent job on the hack here, sir. ;)
I do need to ask one question though, what is the custom time checkbox for? If we change the time we have to tick that for it to take effect?
akanevsky
04-22-2006, 12:07 AM
Excellent job on the hack here, sir.
Thank you, sir ;)
I do need to ask one question though, what is the custom time checkbox for? If we change the time we have to tick that for it to take effect?
Yes, you need to check the box. That was created in order to prevent a side effect (here's someone's quote from before):
You know. Sometimes you're replying to a thread, get distracted or get into something that requires research, and it can be quite a while before you actucally click Submit.
But, since the Advanced Editing Options are displayed then, the post is marked as being posted at the time you started writing. It can cause it to be out of order.
If you don't check the box, either the system time will be used (on new posts) or no change will be made (on post edit).
Boofo
04-22-2006, 12:13 AM
Thank you, sir ;)
Yes, you need to check the box. That was created in order to prevent a side effect (here's someone's quote from before):
If you don't check the box, either the system time will be used (on new posts) or no change will be made (on post edit).
Good idea. I think I ran into that same sort of problem earlier today on another hack. ;)
When you get some time, IM me or pm me and I will give you my IM info. I need your expertise on something. ;)
arob42
04-28-2006, 12:54 AM
Will this hack allow a user to overide the system default so that he can always edit his post, and not be restricted by the system-wide edit time limit I have configured?
akanevsky
04-28-2006, 12:58 AM
What does edit time limit have to do with this hack?
arob42
04-28-2006, 03:18 AM
What does edit time limit have to do with this hack?
Maybe nothing, but that's why I'm asking. I have my forums configured so that a user may go back and modify his post for the next hour after posting. Some users, those paying a subscription, I would like this edit time limit to be overriden so they can go back and edit their posts whenever they want. Seems like this hack would allow a user or usergroup to edit all posts, but I'd like to limit it to only that users' posts. Is that possible to do?
akanevsky
04-29-2006, 01:13 AM
Maybe nothing, but that's why I'm asking. I have my forums configured so that a user may go back and modify his post for the next hour after posting. Some users, those paying a subscription, I would like this edit time limit to be overriden so they can go back and edit their posts whenever they want. Seems like this hack would allow a user or usergroup to edit all posts, but I'd like to limit it to only that users' posts. Is that possible to do?
Then have your users automatically join a secondary usergroup which has expanded time limit, this can be done without a hack.
arob42
04-30-2006, 07:44 AM
I could be overlooking something but it seems like the "vBulletin Options" --> "Message Posting and Editing Options" --> "Time Limit on Editing of Posts" is a global option and applies to all user groups. I need a way to override this on a per-group basis.
akanevsky
04-30-2006, 10:48 AM
Okay, I'll think about adding such per-group option to this hack.
Caiman
04-30-2006, 02:43 PM
Just a quick question, if I use this hack to alter the time and date a post was made, is that a permanent adjustment, i.e. if I were to turn the product off for any reason, would the new date in the post edited remain?
Thanks
akanevsky
04-30-2006, 02:51 PM
Yes, time and date adjustments permanent because they directly modify the post table.
FYI ...
When creating new post and changing username the email notification (I has set to receive all posts) shows as being sent by my username, not changed-to username.
Anyway, I usually add ... Posted for username ... then remove after posting when I post for another member.
I use this feature when info is sent to me to post in for a member, or to help members collate images/text from one of our galleries into an article at the forum.
...but I'm just curious if it can be made to show changed username in the email notification ...
- Username has just posted in the Blahblah Forum
- Username has just replied to a thread you have subscribed to entitled
akanevsky
05-04-2006, 12:04 AM
Thx for pointing that out.
Boofo
05-06-2006, 09:14 PM
I like this hack, but it broke my 'reported post creates new thread' for staff members - and the same for GARS, so I've applied a small fix to my copy of the hack.
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 //
I've also added a 'cache_templates' hook ;
$globaltemplates[] = 'adv_editform';
:)
Paul, will we need to do this with any hack that conflicts with it then? And since I don't run GARS, is it ok to leave that part if it out or leave it in? ;)
Paul M
05-06-2006, 10:11 PM
Paul, will we need to do this with any hack that conflicts with it then? And since I don't run GARS, is it ok to leave that part if it out or leave it in? ;)1. I would assume so.
2. Yes you can leave out GARS if you don't use it.
(BTW, you don't need to cache the template anymore, Psionic Vision added that in a recent update).
Boofo
05-06-2006, 10:36 PM
1. I would assume so.
2. Yes you can leave out GARS if you don't use it.
(BTW, you don't need to cache the template anymore, Psionic Vision added that in a recent update).
Thank you, sir. Does it hurt anything to leave it in since I am not suing GARS? Please let us know if you find any more hacks that break so we can add them. ;)
I only added the code above. I didn't add the template cache code as I have the new version with it. ;)
Paul M
05-07-2006, 03:05 AM
Does it hurt anything to leave it in since I am not suing GARS?
Nope, leaving it in will not hurt anything.
sickboy6ths
05-09-2006, 11:29 AM
Installed the hack, looks interesting, but I seem to have problems with it..
When I look in users, my name.. it shows me that i'm an s-admin (at the adv. editing options).
But when I edit a post, the only extra option I get is:
Advanced Options
.... or above can edit this post!
that's all, so I can select who can edit the post etc, but all the other options do not show up... any ideas? :)
akanevsky
05-09-2006, 07:17 PM
....
What exactly do you mean by "...."?
sickboy6ths
05-11-2006, 08:57 AM
What exactly do you mean by "...."?
It only shows the option to select which usergroup may edit the message, all the other functions arent there. the ... stands for the options that you have in that drop down box.
akanevsky
05-11-2006, 05:44 PM
The other options only show up for admins and superadmins.
Bro_Joey_Gowdy
05-11-2006, 07:47 PM
Is it by chance compatable with 3.5.3 ?
EDIT:
Installed in less than a minute and appears to work fine for 3.5.3
:banana:
akanevsky
05-11-2006, 07:51 PM
Yes, it is compatible with all 3.5 versions.
Dr.Viggy
05-15-2006, 01:35 AM
*installed
sickboy6ths
05-15-2006, 10:27 AM
The other options only show up for admins and superadmins.
I already told you that I am an (s-)admin on that board, see my quote below.
Anyway, *uninstalled*
Installed the hack, looks interesting, but I seem to have problems with it..
When I look in users, my name.. it shows me that i'm an s-admin (at the adv. editing options).
But when I edit a post, the only extra option I get is:
Advanced Options
.... or above can edit this post!
that's all, so I can select who can edit the post etc, but all the other options do not show up... any ideas? :)
Stoebi
05-16-2006, 02:29 AM
Hi,
an option says:
Author (If user doesn't exist, the post is going to be a guest post.)
If I leave the field empty and i've saved the post, the post has no author.
My first wish:
Optionally adjustable in ACP, which name should be used, if the field is left empty (default guest or unregistered).
My second wish:
#231 (https://vborg.vbsupport.ru/showpost.php?p=945881&postcount=231) with your Ok in post #232
#277 (#278)
Kind Regards, Stoebi
servan
05-29-2006, 04:09 PM
*installed
Very usefull for me and y my Moderators. If i edit a post and the user re-edit it and delete my notes... :-\ This mod is the perfect solution!
Thank you very much, Psionic Vision.
akanevsky
05-29-2006, 04:14 PM
Yup :)
I'd like to add to the request ...
- ability to remove 'edited by ...' from users posts.
also ...
- ability to add 'edited by ...' in specific posts for usergroups who do not have 'edited by' showing by default.
Thanks!
Mark
Derek
06-04-2006, 07:49 AM
I installed this as said to by the directions, but I don't even get the extra box that other people are having problems with.
Psionic Vision, could you please PM me a way to contact you over IM so I can set you up with an account on my forums?
Zowners
06-17-2006, 02:52 PM
Hmmm nice hack.
Thanks
akanevsky
06-17-2006, 03:30 PM
Yup, I know :)
Has anyone got this working with 3.6?
I'm thinking of upgrading a small site to 3.6 Beta 4 but not without this.
Thanks,
Mark
akanevsky
07-06-2006, 11:53 AM
lol, why is everyone in such rush to upgrade to a BETA of 3.6?
hehe because we want to check out the features in a live environment and nag the developers for improvements in any functionalities of said features before it's too late ;)
Also they are hinting that the next release might be RC.
Nonetheless I'll hold off till you advise, as this addon is too important.
jailer
07-07-2006, 05:14 PM
Awesome.
Thanks so much for saving me so much work.
:) :) :)
jailer
07-07-2006, 06:04 PM
Actually - not working for me. Kinda.
;)
Works 100% great on default style, but not on my one other installed style - of course, I need to edit those templates too, right.
lol.
Silly me.
*n00b*
FYI This appears to be working without any problems > 3.6 RC2 :)
akanevsky
07-24-2006, 11:55 AM
Could, thank for letting me know.
Great hack and installed (just what I need for staff to post "News" under an alias)
However, the extra options are not showing up in the AdminCP, my menus goes :-
Attachments
Users
Usergroups
Followed the instructions to the letter
Using vB 3.6 RC2
admincp folder renamed to something else (and set in vbulletins config.php) and yes, I put the advedit_users.php into the renamed admincp folder :)
Great hack and installed (just what I need for staff to post "News" under an alias)
However, the extra options are not showing up in the AdminCP, my menus goes :-
Attachments
Users
Usergroups
Followed the instructions to the letter
Using vB 3.6 RC2
admincp folder renamed to something else (and set in vbulletins config.php) and yes, I put the advedit_users.php into the renamed admincp folder :)
Ok ignore me, copied the xml to the includes folder (not includes/xml)
fixed :)
Any chance the input fields can be made to use the standard vBulletin style "bginput"
I'm using a dark background style with blue input boxes (see attach)
Chirag patel
08-02-2006, 05:42 AM
I was able to chage the username but I cant chage the time and date for somereason.. any ideas....
Did you tick the box ...
Apply Custom Date & Time? (If you leave this unchecked, real date & time will be used.)
NeonG
08-02-2006, 01:43 PM
I used this Mod in vB 3.5.4 and i wouldent miss it, but now i'm going to use a vB 3.6
Will be there a 3.6 version or can i use this hack on 3.6 too?
It's working fine for me on 3.6 RC2 .
I think Psionic Vision will wait till 3.6 Gold before moving it up.
HappyPike
08-03-2006, 02:52 AM
Very useful addon, Psionic Vision. :)
However, can you add a note to the first post to warn big boards that importing product could take a while? Altering post table took 30+ minutes on my board. :( I have some 4 million posts.
MegaHertz
08-21-2006, 01:26 AM
Doesn't seem to want to work on vB 3.6.0 Gold on either forum I have it installed on.
Mudvayne
08-21-2006, 03:48 AM
Works fine for me in vB 3.6 Gold!
SportsZone
08-27-2006, 07:38 PM
Awesome hack! It also works flawlessly on 3.6.
Great job, mate :)
vengefuldeath87
08-29-2006, 11:42 AM
works perfectly on 3.6, the only thing i dont like is the placement of the edit options on the post edit window, but that only took a quick change to move it further down. Also, on 3.6 the templates are slightly different, but, its still fairly easy to find where to make the template changes.
gatrok
09-17-2006, 08:04 AM
installed it - 5 minutes work. haven't really tested every detail but seems to work in 3.6.1 ;)
thanks! really great work - very helpful mod for me.
silurius
09-21-2006, 11:19 PM
Installed it quickly on vB 3.6.1 but I can't render posts to be older than 2004.
silurius
10-05-2006, 04:21 PM
Upgraded to 3.6.2 and have found that I can no longer go into an advanced edit on posts. Could this be related to this hack? I reverted the editpost template again, to no avail.
Edit: I reverted all three templates, and disabled all products, and still have this problem.
Paul M
10-05-2006, 04:39 PM
This works fine on 3.6.2 - reverting the templates isn't going to help as the hack involves adding a variable to them, if you don't do the template edit then you're not going to get the AEO options appear.
imported_infitech
10-28-2006, 02:38 PM
i uninstalled all my hacks - but this one im keeping.... great hack friend
akanevsky
10-28-2006, 04:16 PM
i uninstalled all my hacks - but this one im keeping.... great hack friend
Good to know :)
Valter
11-05-2006, 12:00 AM
It seems it doesn't work for me on 3.6.2 in edit-post part. New thread/new reply works fine.
Form is loaded but when I type another username and hit 'Save' then post username/ip-address/timestamp info is lost.
imported_infitech
11-07-2006, 08:13 PM
It seems it doesn't work for me on 3.6.2 in edit-post part. New thread/new reply works fine.
Form is loaded but when I type another username and hit 'Save' then post username/ip-address/timestamp info is lost.
anyone?
im about to upgrade to 3.6.2 and i just wanted to know how well it works with it
Deepdog009
11-11-2006, 09:07 PM
works a bunch 3.6.3
update temps and beauts
O-ta
TosaInu
11-12-2006, 10:41 AM
Installed the update and checked everything is there:
Fatal error: Cannot redeclare get_editlevels() (previously declared in /xxx/xxx.xxx.xxx/betavb/includes/init.php(292) : eval()'d code:22) in /xxx/xxx.xxx.xxx/betavb/global.php(349) : eval()'d code on line 24
UncoderMom
11-15-2006, 02:23 PM
Ooooh god!! I wish I had this last week whenthe cpanel update screwed the time up on my server!!!
Thanks for this!!
Installing now!
Klopek
11-15-2006, 10:04 PM
Is there some similar hack that doesn't requite manual template modification ? i have a lots of subforums with different styles and don't want to edit them all...
akanevsky
11-15-2006, 10:52 PM
i have a lots of subforums with different styles and don't want to edit them all...
Then perhaps this hack is not for you.
I doubt you can find or even have someone create an identical hack with no modifications.
UncoderMom
11-17-2006, 12:16 AM
I cheat! lol I child all my styles and revert ones that dont make much difference. hehe Very rarely do I have to edit mutiple styles!
TosaInu
11-22-2006, 05:46 PM
Installed the update and checked everything is there:
Fatal error: Cannot redeclare get_editlevels() (previously declared in /xxx/xxx.xxx.xxx/betavb/includes/init.php(292) : eval()'d code:22) in /xxx/xxx.xxx.xxx/betavb/global.php(349) : eval()'d code on line 24
The older versions works, but it has the 'bug' of not showing when an admin posts. This new version creates above error message. Any pointer please?
akanevsky
11-22-2006, 06:06 PM
The older versions works, but it has the 'bug' of not showing when an admin posts. This new version creates above error message. Any pointer please?
Uninstall the older version before installing the new one.
mhc1576
11-22-2006, 09:10 PM
When editing a post with some attachments and upploading more than one time before saving the post again the attachments from one of the upploads dissapear and the other is posted with user 0.
The next time the post is edited the rest may or may not dissapear.
This issue is with 3.6.3 and only present with AEO enabled.
akanevsky
11-23-2006, 03:37 PM
When editing a post with some attachments and upploading more than one time before saving the post again the attachments from one of the upploads dissapear and the other is posted with user 0.
The next time the post is edited the rest may or may not dissapear.
This issue is with 3.6.3 and only present with AEO enabled.
How exactly do I reproduce the problem?
mhc1576
11-23-2006, 05:36 PM
It may be a timing issue. I found attachments under user 0 and some users complains about loosing attachments.
I tried different ways to recreate it with single upploads but was not successful recreating the problem.
At one occation the username was lost and the attachment was saved under user 0 but still accessible.
1 So I did set the upload to 10 at a time.
2 Created a thread and uploaded 10, (1-10) saved the thread.
3 Edited and uploaded 10 more (11-20), saved the thread.
4 Edited again and uploaded 10 more (21-30), saved the thread.
5 Edited and uploaded 10 more (31-40), then uploaded 10 more (41-50) before leaving the attachment upload window, saved the thread.
Then the first uppload (31-40) was lost when saving.
6 Edited again and saved and now the (41-50) appeared under user 0.
Another way I found on a 3.5.4 Forum was if you create a new thread and change the user, write the post, upload an attachment and save, then the attachment was lost. Since this was some time ago I do not recall if it was saved under the wrong user or user 0.
After I discovered the problem I just changed the way I used the hack and changed the name afterwards instead.
May be a related problem to the above.
PHP 4.4.2
Zend Engine v1.3.0
ionCube PHP Loader v3.1.16
Zend Extension Manager v1.0.9
Zend Optimizer v2.6.2
MySQL 4.1.21-standard
Hope this may help,
Many thanks for your excellent Mods and your way of supporting them and taking time to investigate issues like this.
Best Regards
Hakan
Edit: The problem I describe relates to AEO 2.0.1, havent tested 2.0.2 as I just saw the release after posting this.
akanevsky
11-23-2006, 05:39 PM
Uhm... Why would you want to post attachments as someone else though? This hack is not designed to work with attachments.
mhc1576
11-24-2006, 05:32 AM
Uhm... Why would you want to post attachments as someone else though? This hack is not designed to work with attachments.
Well, I have a lot of older people that needs help publishing and we also build knowledgebases, gradually improving the information.
I do not fully understand what you mean by the hack not supporting attachments?
Are you able/intrested to reproduce the problem or will you leave it as is?
Arngrim
11-24-2006, 06:23 AM
Here's the error I receive when trying to [Add Product] :
Database error in vBulletin 3.5.4:
Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Adv. Editing Options for Mods & Admins', 'cache_templates', 'if (in_array(THIS_SCRIPT, array(\'newthread\', \'newreply\', \'editpost\')))\r\n{\r\n $globaltemplates[] = \'adv_editform\';\r\n}', 'psionic_advedit');
MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, November 23rd 2006 @ 11:50:24 PM
Script : http://www.omitted.com/forums/admincp/plugin.php
Referrer : http://www.omitted.com/forums/admincp/plugin.php?do=productadd
IP Address : (Omitted)
Username : (Omitted)
Classname : vb_database
I attached that line that was suggested if any problems arose to each of the three templates, though after uninstalling the product and adding it again I got the same database error. Any ideas? (Yes, all the steps were followed, et cetera.) Cheers.
Paul M
11-24-2006, 07:45 AM
The current product xml is a vb 3.6 format file, and will not load into vb 3.5, you will have to wait for the author to upload a file in the correct format.
akanevsky
11-24-2006, 11:45 AM
The current product xml is a vb 3.6 format file, and will not load into vb 3.5, you will have to wait for the author to upload a file in the correct format.
Thanks, Paul, for pointing that out. File re-uploaded.
Arngrim
11-25-2006, 03:09 AM
No worries, cheers guys. Worked like a charm this time. Though this is the wrong area, I might also add that this problem was duplicated with your Advanced Warning System MOD. Exact same error, so I'm guessing that was a vB 3.6 Product as well?
akanevsky
11-25-2006, 12:03 PM
No worries, cheers guys. Worked like a charm this time. Though this is the wrong area, I might also add that this problem was duplicated with your Advanced Warning System MOD. Exact same error, so I'm guessing that was a vB 3.6 Product as well?
I already fixed that thread too. :) I just forget to remove the executionorder from the product XML sometimes.
anogales
12-18-2006, 02:10 PM
i migrated an old board on a legacy platform.
I cut and pasted the messages, and then edited the dates. when you view the post its fine. BUT, when you are looking at the index of posts, the last date posted has not been modified.
http://xs410.xs.to/xs410/06511/laastpost.jpg
how can i change the "last date" to reflect the "date of posting".
http://xs510.xs.to/xs510/06511/datedate.jpg
chris1979
12-22-2006, 10:18 AM
Will this work with 3.6.4?
akanevsky
12-22-2006, 06:16 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=132291" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=132291</a>
Hey, when you update it, set it up so when a user makes a post, it automatically shows on the users' profile that that when when they last logged in. It's a pain to have it show that their last log in was a while ago when you just made a post from their screenname.
Bro_Joey_Gowdy
07-31-2007, 07:08 PM
Uninstalled and Reinstalled updated version here:
https://vborg.vbsupport.ru/showthread.php?t=132291
SEW810
04-01-2009, 07:31 PM
Still workin' on vbulletin 3.8.1
Nice MOD, i Love it
rrudeboy
06-27-2009, 01:08 AM
*awesome* mod...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.