View Full Version : Adv. Editing Options for Mods and Admins
akanevsky
10-18-2005, 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)
peterska2
10-18-2005, 11:43 PM
Cheers for this. Downloaded to install in the morning :)
albarq
10-19-2005, 12:34 AM
installed :)
but doesnt worked :(
i cannot see the option to specify a custom date .
akanevsky
10-19-2005, 12:37 AM
i cannot see the option to specify a custom date
Make sure you log in from an admin account.
albarq
10-19-2005, 12:41 AM
:) i sm sure
i just see this option
https://vborg.vbsupport.ru/attachment.php?attachmentid=16657
akanevsky
10-19-2005, 12:56 AM
If you log in from an admin account that has a CANCONTROLPANEL access, everything should work fine. Or at least it does so on my board.
If you want me to see why it's not working on your board, make me a temporary admin account out there... :)
Brent H
10-19-2005, 02:26 AM
Same problem here
theArchitect
10-19-2005, 06:49 AM
Sensational. I am now only waiting on a couple more ports and all of my old hacks are back online.
*theArchitect skips for joy, then catching sight of himself in a mirror and realizing how girly he looks stops suddenly and looks around to see if anyone noticed*.
Edit: And I love the tick-box system on the read me file. Very funky.
SnowBot
10-19-2005, 08:27 AM
Got a DB error when importing the .xml file
Database error in vBulletin 3.5.0:
Invalid SQL:
ALTER TABLE post ADD editlevel TINYINT(3) DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'editlevel'
Error Number : 1060
Date : Wednesday, October 19th 2005 @ 05:25:53 AM
Script : http://www.synergyforums.com/forum/admincp/plugin.php
Referrer : http://www.synergyforums.com/forum/admincp/plugin.php?do=productadd
IP Address :
Username : Snowy
Classname : vb_database
Neutral Singh
10-19-2005, 08:54 AM
Post Author (available to admins only):
An administrator can specify a custom post author (it can even be a non-existent user, or in other words - a guest).
After installing the product, i do see a box called "Advanced Editing Options" with a drop down menu with items Author, Mod, S-Mod, Admin.
While replying in a thread so that it posted under a different user, i selected an option: Author and saved the the reply but it returns an error:
1. You did not specify a username for your post.
But, there is no field where i can enter an username. What am in missing here?
Thanks.
Neutral Singh
10-19-2005, 09:45 AM
This is to confirm that i do not see any space where i can enter a different user.
Snake
10-19-2005, 10:21 AM
I have installed the hack but I get the same problems those people are having.
Sal Collaziano
10-19-2005, 04:46 PM
I get the same DATABASE error as SnowBot..
How do we get around that issue?
akanevsky
10-19-2005, 05:44 PM
About DB Error: I have just released and uploaded a new package that works around the "had-Xenon's-hack-installed" problem.
About the other problem: I cannot recreate it on my board, therefore I will need an admin access to someone else's board to see the problem... :) Anybody?
one9er
10-19-2005, 05:55 PM
You have the download shut off. :ermm:
akanevsky
10-19-2005, 05:57 PM
Yes, I've just re-uploaded the file. Try again. :)
Rabbitoh Warren
10-19-2005, 06:08 PM
About the other problem: I cannot recreate it on my board, therefore I will need an admin access to someone else's board to see the problem... :) Anybody?I'm having the same problem. I can give you temp access to my forum. PM me and I'll send you the details.
akanevsky
10-19-2005, 06:10 PM
Ty. PMing...
SnowBot
10-19-2005, 06:18 PM
OK new file worked as in no error but still no box to enter username.
akanevsky
10-19-2005, 06:37 PM
Ok, I found the fix, thanks to Rabbit_Warren for giving me access to his board.
Problem source: Old version of the adv_editform template... (I'm still getting used to the product system).
Solution: Either download a new version of the XML, or replace the contents of adv_editform with the following:
<if condition="$bbuserinfo['editlevel'] > EDITLEVEL_AUTHOR">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_advanced')"><img id="collapseimg_editpost_advanced" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_advanced].gif" alt="" border="0" /></a>
$vbphrase[advedit_boxtitle]
</td>
</tr>
<tbody id="collapseobj_editpost_advanced" style="$vbcollapse[collapseobj_editpost_advanced]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<div class="fieldset">
<div>$vbphrase[advedit_boxdescription]</div>
</div>
<fieldset class="fieldset">
<legend>$vbphrase[advedit_fieldset_title]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>
<label for="sb_editlevel">
<select name="editlevel" id="sb_editlevel">
<option value="0" <if condition="$adv_data['editlevel'] == EDITLEVEL_AUTHOR">selected="selected"</if>>
$vbphrase[advedit_editlevel_author]
</option>
<option value="1" <if condition="$adv_data['editlevel'] == EDITLEVEL_MOD">selected="selected"</if>>
$vbphrase[advedit_editlevel_mod]
</option>
<if condition="$bbuserinfo['editlevel'] >= EDITLEVEL_SMOD">
<option value="2" <if condition="$adv_data['editlevel'] == EDITLEVEL_SMOD">selected="selected"</if>>
$vbphrase[advedit_editlevel_smod]
</option>
</if>
<if condition="$bbuserinfo['editlevel'] == EDITLEVEL_ADMIN">
<option value="3" <if condition="$adv_data['editlevel'] == EDITLEVEL_ADMIN">selected="selected"</if>>
$vbphrase[advedit_editlevel_admin]
</option>
</if>
</select>
$vbphrase[advedit_editlevel_andabove]
</label>
</div>
<if condition="$bbuserinfo['editlevel'] == EDITLEVEL_ADMIN">
<div>
<label for="tb_dateline">
<input type="text" name="newday" value="$adv_data[mday]" size="1" maxlength="2" id="tb_dateline_day" />.
<input type="text" name="newmonth" value="$adv_data[mon]" size="1" maxlength="2" id="tb_dateline_month" />.
<input type="text" name="newyear" value="$adv_data[year]" size="3" maxlength="4" id="tb_dateline_year" /> -
<input type="text" name="newhour" value="$adv_data[hours]" size="1" maxlength="2" id="tb_dateline_day" />:
<input type="text" name="newminute" value="$adv_data[minutes]" size="1" maxlength="2" id="tb_dateline_day" />
$vbphrase[advedit_dateposted]
</label>
</div>
<div>
<label for="tb_username">
<input type="text" name="newusername" value="$adv_data[username]" id="tb_username" /> $vbphrase[advedit_postauthor]
</label>
</div>
<div>
<label for="tb_ipaddress">
<input type="text" name="newipaddress" value="$adv_data[ipaddress]" id="tb_ipaddress" /> $vbphrase[advedit_ipaddress]
</label>
</div>
</if>
</div>
</fieldset>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<br />
</if>
SnowBot
10-19-2005, 06:48 PM
That solved it :) Great work and thanks for the fast fix.
akanevsky
10-19-2005, 07:30 PM
I'm glad the problem's fixed :) Hope there are no more. :)
albarq
10-19-2005, 07:33 PM
Great work :D
Snake
10-19-2005, 07:37 PM
Yes, well done. Thanks for your quick support!
Gizmo5h1t3
10-19-2005, 08:14 PM
/me clicks install..thats a quality hack m8
Valter
10-19-2005, 08:58 PM
Nice work, thanks! Installed.
Brent H
10-19-2005, 09:50 PM
How do I make this only visible to Super Admin?
Xenon
10-19-2005, 10:23 PM
looks good so far :)
Snake
10-19-2005, 10:33 PM
How do I make this only visible to Super Admin?
It displays for the administrator (and super administrators) only. :)
Brent H
10-19-2005, 10:35 PM
Ah, my mistake. :) Thank you!
Snake
10-19-2005, 10:39 PM
No problem! :)
theArchitect
10-20-2005, 12:53 AM
Hmm. I am having problems.
I installed it ok, but if I try a normal reply to a post (ie not quick reply) then when I click post reply I get
"you did not specify a username for your post".
This error occurs every reply I make, not just on posts I am editing with this feature.
akanevsky
10-20-2005, 12:57 AM
Hmm. I am having problems.
I installed it ok, but if I try a normal reply to a post (ie not quick reply) then when I click post reply I get
"you did not specify a username for your post".
This error occurs every reply I make, not just on posts I am editing with this feature.
What type of account are you sending the post from? Reg.User/Mod/Smod/Admin? The fix is easy, but I need to know how exactly you get the error.
theArchitect
10-20-2005, 01:07 AM
What type of account are you sending the post from? Reg.User/Mod/Smod/Admin? The fix is easy, but I need to know how exactly you get the error.
SuperAdmin.
It was another SAdmin that reported it and when I check I found the same problem.
I then tested it with a registered user account but had no problems.
Neutral Singh
10-20-2005, 05:08 AM
Works very nicely, now - Dark Visor, this is a very powerful & useful utility, thanks a ton for releasing. Regards
akanevsky
10-20-2005, 05:50 PM
SuperAdmin.
It was another SAdmin that reported it and when I check I found the same problem.
I then tested it with a registered user account but had no problems.
Admin? Weird.
Do you get such error from a mod/smod account?
And when exactly do you get an error - when you use quick reply to submit your post or when you click "go advanced"? Or maybe when you submit the advanced form?
akanevsky
10-20-2005, 10:06 PM
Unfortunately, I am not able to recreate your error on my board. Make sure you did all the steps corectly.
theArchitect
10-21-2005, 12:09 AM
Admin? Weird.
Do you get such error from a mod/smod account?
And when exactly do you get an error - when you use quick reply to submit your post or when you click "go advanced"? Or maybe when you submit the advanced form?
I can't explain it either as the mod works fine for Moderators and SuperModerators. It is only Admins and SAdmin that it fails on.
As for the possibility of me installing it correctly, I think I did, but would incorrectly doing any of the template changes cause this?
akanevsky
10-21-2005, 12:10 AM
Yes. For example if you add $adv_editform above the <form...> tag, you would get such an error. Make sure you add it under.
theArchitect
10-21-2005, 12:18 AM
Yes. For example if you add $adv_editform above the <form...> tag, you would get such an error. Make sure you add it under.
Thanks. I will look into this when I get home tonight.
Many thanks for your time.
SnowBot
10-24-2005, 06:04 AM
I am getting strange things from this hack. When i quote a post in my reply it does not update the last poster information on forum index, any ideas or is anyone else having this problem?
akanevsky
10-24-2005, 05:46 PM
Yes it does update, I checked.
nexialys
10-26-2005, 12:56 PM
i've reinstalled the hack 3 times, and it's not updating the forum stats... i did not read the code yet to find the bug, but without any special setting, i can't update the forum counts/stats actually when this hack is activated...
Rabbitoh Warren
10-26-2005, 01:09 PM
I noticed the same behaviour in regards to the forum stats and last poster info not updating so I went into the scheduled task manager and run the cron jobs manually. Since then it seems to be just fine. Weird huh?
SnowBot
10-30-2005, 04:45 PM
I noticed the same behaviour in regards to the forum stats and last poster info not updating so I went into the scheduled task manager and run the cron jobs manually. Since then it seems to be just fine. Weird huh?
What did you run because i am still getting this problem.
SnowBot
10-30-2005, 04:46 PM
Yes it does update, I checked.
Not for me it doesnt mate :(
akanevsky
10-30-2005, 04:48 PM
I installed the hack on two more sites and it works on both.
Conclusion: ... you-know-what ..
Rabbitoh Warren
10-30-2005, 10:36 PM
What did you run because i am still getting this problem.Actually, now that I think about it it wasn't a cron job I run. I updated the counters. Try rebuilding thread and forum information and see how it goes.
akanevsky
10-30-2005, 10:47 PM
If you still have the problem afterwards, PM me with admin and ftp details and I'll see if I can do anything
VBUsers
10-31-2005, 04:29 AM
ok now i need no moderator to be able to edit a supermods post and no super to edit an admins post ever. does this hack do that? on every post? with out having to set it. automatically? thanks
akanevsky
10-31-2005, 07:51 PM
I'd suggest you use Xenon's "Post Editing Hierarchy" hack. :)
However, I might integrate his functionality into this hack in some next version (if I get his permission)...
carolem
10-31-2005, 11:40 PM
Hi,
I have installed the product and this has been my first experience with installing a plugin and I do say it was quite easy and a joy to install!
I do have two questions:
1. Is it necessary to "revert" the editpost template before adding $adv_editform?
We have used Xenon's version and the template had been previously edited.
(I notice it seems to work fine without reverting the template.)
2. Is it possible to make the box for the day, month, and year wider? It is hard to see both of the two digit numbers in the box on our screen. How do we change the size of the box?
Many Thanks to Dark Visor, Xenon and everyone who helped to make this mod happen,
CaroleM
akanevsky
10-31-2005, 11:50 PM
1. Is it necessary to "revert" the editpost template before adding $adv_editform?
We have used Xenon's version and the template had been previously edited.
(I notice it seems to work fine without reverting the template.)
No. Unless you have a template from vBulletin 3.0.x currently installed.
It is hard to see both of the two digit numbers in the box on our screen.
What browser and platform are you using? I can see both digits on either opera, ie or mozilla firefox under Windows XP..
carolem
11-01-2005, 11:22 PM
It is hard to see both of the two digit numbers of the date in the box on our screen.
Also the year box only shows 3 digits, so it is hard to see 2005
What browser and platform are you using? I can see both digits on either opera, ie or mozilla firefox under Windows XP..
I am using Safari and Mac operating system 10.3.9
I just checked using Internet Explorer on the Mac and the date box is also small.
I also have a Mac with operating system 9.2 and the boxes there are also small using Internet Explorer.
Carolem
Rabbitoh Warren
11-01-2005, 11:58 PM
I am using Safari and Mac operating system 10.3.9I'm use Safari normally too, to fix it's a simple edit of the adv_editform template. Change the the bold figure below to your preference.
<input type="text" name="newmonth" value="$adv_data[mon]" size="3" maxlength="6" id="tb_dateline_month" />In my case, I changed all mine to 3 and the year field to 5. See attachment.
carolem
11-02-2005, 12:33 AM
Thanks,
I will take your suggestion!
I was just getting ready to post that I had this problem previously and it was discussed here
https://vborg.vbsupport.ru/showpost.php?p=527311&postcount=106
Carolem
akanevsky
11-02-2005, 05:57 PM
I will also include the fix in the next release.
RMS-Chef
11-02-2005, 09:04 PM
Now just to make sure, this can be used to restrict a moderator from editing an Admin's post. But this can only be done on a per post basis with said setting?
akanevsky
11-02-2005, 09:06 PM
But this can only be done on a per post basis with said setting?
Yes.
RMS-Chef
11-02-2005, 09:27 PM
FYI, I too am having the same issue as some of the above.
With this enabled, a new post does not show up on forumhome in the "Last Post" column.
carolem
11-04-2005, 04:29 AM
We are also having the issue of a new post does not show up on forumhome in the "Last Post" column.
Any suggestions?
Carolem
As per Carolem, my partner, last post details on forum index was not being updated even when replying to a thread and not making any username/time changes.
After uninstalling it's working right.
Will try it out again later tonight ...
Anyone else having this problem of replying to a thread and not showing last post details on forum index?
~ Mark
akanevsky
11-04-2005, 10:20 PM
I am not able to verify the problem on my board. Can some PM me their access info plz so that I can look? Thx.
akanevsky
11-04-2005, 11:55 PM
Bugfix release:
1.0.1
[F] Lastposters were not updated on newthread and newreply when replied by admin
To update, simply reload the product XML (two new plugins added).
Thanks to MJM for providing an access to a board on which the problem was evident. :)
SnowBot
11-05-2005, 09:55 AM
Thanks for the update, atleast now i know i wasnt going mad :)
Snake
11-05-2005, 04:10 PM
Yeah thanks for the update, works like a charm now. :)
theArchitect
11-10-2005, 01:27 AM
I am having a minor problem with this hack in that it does not seem to play well with Xenon's Message Editing Hierarchy (https://vborg.vbsupport.ru/showthread.php?t=82599&highlight=Advanced+Editing+Options) hack.
Everything works fine, unless a Mod tries to edit a post of someone of similar rank or higher.
ie If a Mod tries edit a registered users everything works fine. But if they try and edit the post a another Mod or an Admin then they get a plain white screen with the plain text of the post they were trying to edit.
If I disable Xenon's hack then I have no problems.
I would like to keep Xenon's hack so a workaround would be apprecaited.
akanevsky
11-10-2005, 06:05 PM
I could just integrate his hack into this one.
SoftWareRevue
11-13-2005, 03:07 PM
I've had this hack running for a couple weeks and love it.
However, there is a small problem that was just brought to my attention today.
When a user presents a new post and has the advanced editing options available to them, the time of the post is set according to when they started writing.
So, if it takes them a while for something lengthy, they post and then notice an error, the get the Last Edited By because it "appears" that the post was started some time sooner.
So, is there a way to have this hack display only when a post is edited?
silurius
11-16-2005, 02:01 AM
Could you please provide screenshots? Thanks!
SoftWareRevue
11-16-2005, 03:48 AM
Maybe I just explained it wrong.
Admins and Super Mods have "Advanced Editing Options" available to them whenever they post.
I would like to have the Advanced Editing Options available only when editing.
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.
I, actually, probably went into too much detail.
All I really need to know is if this can be configured to display only on edit.
thalamus
11-16-2005, 08:37 AM
I've discovered something a little strange after installing this very good plugin - every time I (or another admin who has the facility to amend poster and date etc) makes a 'normal' post (i.e. from ourselves), it doesn't show up as being 'read' and maintains its unread status until you physically have to select 'Mark Forum Read' from the drop down. Is there something in the template amendments that would have caused this to happen, so that I can check in the right places?
Thanks again for a very useful mod :)
akanevsky
11-16-2005, 05:52 PM
Could you please provide screenshots? Thanks!
Look in the original Xenon's thread.
Maybe I just explained it wrong.
Admins and Super Mods have "Advanced Editing Options" available to them whenever they post.
I would like to have the Advanced Editing Options available only when editing.
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.
I, actually, probably went into too much detail.
All I really need to know is if this can be configured to display only on edit.
I'll make a checkbox - "use/not use custom time", which will be off by default.
I've discovered something a little strange after installing this very good plugin - every time I (or another admin who has the facility to amend poster and date etc) makes a 'normal' post (i.e. from ourselves), it doesn't show up as being 'read' and maintains its unread status until you physically have to select 'Mark Forum Read' from the drop down. Is there something in the template amendments that would have caused this to happen, so that I can check in the right places?
Thanks again for a very useful mod
I'll look into it.
SoftWareRevue
11-16-2005, 06:01 PM
. . . I'll make a checkbox - "use/not use custom time", which will be off by default. . ..That will be perfect!
[edit]
durned typos
Snake
11-16-2005, 06:29 PM
Vision, great hack but is it possible to re-place the Advanced Options below the "Additional Options". It could be alot better.
hohleweg
11-20-2005, 05:09 PM
hi
i have problem
when i write a post and i read it, its dont unread and i see on "new posts" the post.
although I read remain the contribution unread thus fat written that lie that? greeting jo
akanevsky
11-20-2005, 09:07 PM
although I read remain the contribution unread thus fat written that lie that? greeting jo
English please thank you very much.
Vision, great hack but is it possible to re-place the Advanced Options below the "Additional Options".
This is just a matter of a template edit... :]
Hellraider
11-22-2005, 04:12 PM
I think holeweg wants to point out the same issue mentioned before by thalamus: ;)
Posts that have been read by admins are not marked as being read.
Sal Collaziano
11-22-2005, 05:11 PM
Hey. I just noticed that when I go to post a new thread, on top of the title area, I have the Advanced Editing Options showing up - even before I submit the post. Did something go wrong? Or is this normal? I don't see it happening on another site I admin with this feature installed...
DocBenny
11-22-2005, 05:21 PM
Ok how do I install this.. I imported it through install product..but nothing happens??
Hellraider
11-22-2005, 05:29 PM
Ok how do I install this.. I imported it through install product..but nothing happens??
The installation manual is contained within the attached file.
DocBenny
11-22-2005, 05:35 PM
So I need to change the actual templates? I don't want to mess something up
akanevsky
11-22-2005, 05:42 PM
Hey. I just noticed that when I go to post a new thread, on top of the title area, I have the Advanced Editing Options showing up - even before I submit the post. Did something go wrong? Or is this normal? I don't see it happening on another site I admin with this feature installed...
That is by design :)
The site you are talking about probably has a 3.0.x vBulletin board with Xenon's original hack installed there.
So I need to change the actual templates? I don't want to mess something up
The best way not to mess something up is not to install hacks. ;)
However, according to the manual you I believe that you DO need to change actual templates.
Sal Collaziano
11-22-2005, 05:47 PM
That is by design :)
The site you are talking about probably has a 3.0.x vBulletin board with Xenon's original hack installed there.
Thank you. Do you know of any way to fix this?
DocBenny
11-22-2005, 05:47 PM
haha... ok I will give it a shot
akanevsky
11-22-2005, 05:47 PM
Why do you want to "FIX" it? It's how it is supposed to work.
DocBenny
11-22-2005, 06:02 PM
I'm mostly interested in the editing hiearchy.. how do I set that up so super-mods and mods can't edit admin's posts?
When I go edit.. I see some advanced options now, but do I have to do anything else so that the editing hierarchy is set in place?
Sal Collaziano
11-22-2005, 06:06 PM
Oh, it's supposed to be there? It just seems strange to have these edit options available before I even post the message.. Can I control you sees this? Is it just me, or my other admins, supermods and moderators as well?
Both boards are running 3.5... I actually prefer not seeing the option to edit before I submit the post.
Sal Collaziano
11-22-2005, 06:09 PM
On second thought.. That's pretty interesting... Maybe I'll just keep it as is. :)
akanevsky
11-22-2005, 06:09 PM
Is it just me, or my other admins, supermods and moderators as well
Read hack description, features section.
Concerning the "see it or not", it was requested by a few people and that's why I did it. I am not going to undo it... Besides, the presence of that form doesn't harm you.
DocBenny
11-22-2005, 06:10 PM
I guess that maybe this is the wrong hack for the hierarchy.. I might have misunderstood..
akanevsky
11-22-2005, 06:19 PM
I guess that maybe this is the wrong hack for the hierarchy.. I might have misunderstood..
Yes, I suggest you use Xenon's message editing hierarchy hack for your purposes.
Sal Collaziano
11-22-2005, 06:30 PM
It's good. I like it now. :D
sub_ubi
11-23-2005, 02:48 AM
This hack is great, thanks!
DocBenny
11-23-2005, 04:11 AM
I tested it out.. It worked fine.
Just a bit scary for me having more than one admin. Just in case sometime you are off on vacation and are in bad terms with another admin they can pretty much post under your name and IP adres and can write things that can ruin your reputation haha. So not for me, but I can see this working great for some.
It was great fun though for couple of moments, it worked really good. Good job.
Snake
11-24-2005, 04:43 PM
English please thank you very much.
This is just a matter of a template edit... :]
But what am I supposed to do exactly? Can you explain?
Snake
11-26-2005, 12:20 PM
Yo Vision, no reply yet?
akanevsky
11-26-2005, 12:35 PM
No... Go to http://www.w3schools.com/ if you don't know HTML...
This hack involves just 3 templates modifications, and all you need is to move those modifications within those same templates to where you want to.
Snake
11-26-2005, 12:38 PM
Alright, that gives me a hint atleast.
akanevsky
11-26-2005, 03:12 PM
UPDATE: VERSION 1.0.2
Changes: The Checkbox! (See Screenshot)
Update: Simply uninstall and re-import the product XML.
D.Ilyin
11-26-2005, 05:26 PM
Psionic Vision installed ;)
btw how can i restrict acces to this form to moders and groups who have rights to edit post of others peoples?
May be it's future request? :)
And another sugestion :)
на дефолтном скине все нормально но если скин не дефолтный то общий вид полей ввода отличается..... Вобщем то мелочь но не приятно :)
akanevsky
11-26-2005, 05:33 PM
Читать умеешь?
Post Editing Hierarchy (available to mods, s-mods and admins):
Administrators: Can restrict editing to moderators (and above), supermoderators (and above) or admins only.
Supermoderators: Can restrict editing to moderators (and above) or supermoderators (and above).
Moderators: Can restrict editing to moderators (and above) only.
Post Author (available to admins only):
An administrator can specify a custom post author (it can even be a non-existent user, or in other words - a guest).
Post Date/Time (available to admins only):
An administrator can specify a custom date and time for the post.
Post IP (available to admins only):
An administrator can specify a custom IP for the post.
D.Ilyin
11-26-2005, 05:49 PM
хм.... но ведь это можно только для конкретного поста или я ошибаюсь?
Хотелось бы дать определенным группам права допустим на изменение автора темы.
Например: админы\супермоды могут менять все
Модераторы: авторов и дату.
Т.е. чтобы устанавливать данные права вручную для групп.
Я это имел ввиду. :(
Сори что ввел в заблуждение.
Snake
11-27-2005, 11:21 AM
What the hell...
akanevsky
11-27-2005, 11:35 AM
Nothing, calm down :)
The guy just gave me some feature suggestion in Russian. That's all.
I am not accepting that suggestion though.
theArchitect
11-27-2005, 11:52 AM
Nothing, calm down :)
The guy just gave me some feature suggestion in Russian. That's all.
I am not accepting that suggestion though.
I kind of see where he is coming from.
I trust my mods and am happy for them to have full editing capabilities, but I also like the Post Edit Hierarchy. So for me I would like to see that incorporated in this hack so a SuperMod can't edit an admins post by default.
But I agree that it is not necessary to have different permissions for different staff ranks (unless I misunderstood his comments, which is possible as my Russian is almost non-existant).
akanevsky
11-27-2005, 11:58 AM
But I agree that it is not necessary to have different permissions for different staff ranks (unless I misunderstood his comments, which is possible as my Russian is almost non-existant).
You understood it correctly :)
I trust my mods and am happy for them to have full editing capabilities, but I also like the Post Edit Hierarchy. So for me I would like to see that incorporated in this hack so a SuperMod can't edit an admins post by default.
I would also like Post Editing Hierarchy be integrated into this, but for that I need Xenon's permission. Which, he won't give :(
Boofo
11-27-2005, 02:53 PM
Anthony, would there be a way to allow only SuperAdmins access to be able to use this? That would calm the fears of the member that posted he didn't really trust his other Admins if someone was out of town or whatever.
I could use this if that was possible. ;)
akanevsky
11-27-2005, 04:56 PM
Yes, it is possible. :)
However, I need you to specify, whether you want to let only superadmins use the hack,
or you want to let only superadmins have the extra features of the hack, having regular admins as only mod/smod rights?
Boofo
11-27-2005, 05:06 PM
Yes, it is possible. :)
However, I need you to specify, whether you want to let only superadmins use the hack,
or you want to let only superadmins have the extra features of the hack, having regular admins as only mod/smod rights?
I would like the option of ONLY allowing SuperAdmins use this hack and then be able to allow Admins and on down like you have it now. Like you go from Mod to SuperMod to Admin for permissions. I want to take it one step higher to include SuperAdmin instead of stopping at Admins. Does that make any sense at all? Sorry if it is confusing. ;)
What would you propose as the ideal solution? ;)
akanevsky
11-27-2005, 05:09 PM
Ok, gotcha. I'ma do the following:
- Add a new edit level, which is for superadministrators;
- Add a chooser option of "allow x-and-higer" use this hack; (Will have to figure out how to make custom choosers in admincp options)
What do you think?
Boofo
11-27-2005, 05:16 PM
Ok, gotcha. I'ma do the following:
- Add a new edit level, which is for superadministrators;
- Add a chooser option of "allow x-and-higer" use this hack; (Will have to figure out how to make custom choosers in admincp options)
Ok, sounds great!
Would there also be a way to allow a certain user to be able to use this also in case maybe they weren't in the proper permissions range? I will be happy with the above if this is not possible. ;)
akanevsky
11-27-2005, 05:19 PM
No, even though the latter is possible, it would be an unnecessary effort, IMHO :)
Cause why would you want a regular user to edit post permissions? :)
Boofo
11-27-2005, 05:23 PM
No, even though the latter is possible, it would be an unnecessary effort, IMHO :)
Cause why would you want a regular user to edit post permissions? :)
Ahhjhh, but what if I want one mod to have the permisssion but not any other staff? Or 1 admin and not the others? You see what I mean? It just gives you that much more flexibility in case you get boards that have a bunch of admins they don't trust and a Mod or SuperMod they do, just for example. ;)
akanevsky
11-27-2005, 05:58 PM
So be it! ;)
Boofo
11-27-2005, 06:50 PM
My faith has been restored. ;)
Looking forward to it. ;)
akanevsky
11-27-2005, 08:26 PM
Your faith shall not have its restoration left unpaid ;) There will be a very convenient extra thingy added. In fact, I'm almost done. Testing it out...
EDIT: Yay, it's working as perfectly and flexibly as I wanted it to be.
Ok, making a new package now.
Boofo
11-27-2005, 09:11 PM
Has Christmas come early to the 'ol Boofmeister? ;)
theArchitect
11-27-2005, 09:40 PM
Your faith shall not have its restoration left unpaid ;) There will be a very convenient extra thingy added. In fact, I'm almost done. Testing it out...
EDIT: Yay, it's working as perfectly and flexibly as I wanted it to be.
Ok, making a new package now.
Fantastic. I eagerly await the release.
akanevsky
11-27-2005, 11:02 PM
Has Christmas come early to the 'ol Boofmeister?
I believe so. :)
1
:banana: NEW VERSION: 2.0.0 :banana:
New Features: See First Post
Screenshots (+3): See First Post
Upgrade Guide:
1. Uninstall the product XML.
2. Re-install the product XML using the file from the new archive.
Note - do NOT use overwrite. Product ID has changed, some plugins were removed, some were added.
3. Perform the new file edit for functions.php (sorry, but I need a place that works EVERYWHERE in vBulletin. And they have no superglobal hook).
4. Upload the two extra files (to find out where, see the manual).
Please read the "Note" section in the 1st post to avoid the arousal of unnecessary questions.
theArchitect
11-27-2005, 11:29 PM
Please read the "Note" section in the 1st post to avoid the arousal of unnecessary questions.I know you wanted to avoid arousal, but I am aroused. :surprised:
As you have a new product ID (which means overwright isn't necessary), I guess that I need to uninstall the original hack and then clean install this one?
theArchitect
11-27-2005, 11:32 PM
Oh, and i have requested a SuperGlobal hook on vB.com.
theArchitect
11-27-2005, 11:44 PM
I2. Perform the new file edit for functions.php (sorry, but I need a place that works EVERYWHERE in vBulletin. And they have no superglobal hook).Could you use init_startup?
akanevsky
11-27-2005, 11:45 PM
You simply need to un-install the XML and then install the new one.
Oh, and i have requested a SuperGlobal hook on vB.com.
Thank you very much. :P I would be too lazy to do that anyways.
Boofo
11-27-2005, 11:47 PM
There are vb file edits in it now? We might have to move it. ;)
Boofo
11-27-2005, 11:51 PM
Will this also work on 3.5 RC3 and who is it set for at default? ;)
akanevsky
11-27-2005, 11:53 PM
Could you use init_startup?
I'll check.
EDIT: Yes, I can. To be updated in a minute.
There are vb file edits in it now? We might have to move it.
Hold on with that.
Will this also work on 3.5 RC3
Should, but not tested.
and who is it set for at default?
Default for users: No Override
Default for system-wide: Mods and Above
Boofo
11-28-2005, 12:01 AM
Can you also shorten the filename a bit. EditPlus 2 is having fits with it as the filename is too long. ;)
akanevsky
11-28-2005, 12:03 AM
No, sorry. Please use Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), as that is the best programming editor available under Windows platform. ;)
UPDATE: 2.0.0 (once again)
If you downloaded and installed the update from a few posts above, cancel the file change and reinstall the xml. :P
The screenshots from the prev. update are still applicable :P
Boofo
11-28-2005, 12:06 AM
No, sorry. Please use Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), as that is the best programming editor available under Windows platform. ;)
UPDATE: 2.0.0 (once again)
If you downloaded and installed the update from a few posts above, cancel the file change and reinstall the xml. :P
Nom problem, I'll shorten the file name when I download it. It does make the box on the right stretch though, you might want to think about shortening your filenames in the future. Conformity.
And Notepad++ doesn't even come close to EditPlus 2. ;)
theArchitect
11-28-2005, 12:12 AM
..And Notepad++ doesn't even come close to EditPlus 2. ;)And both of those pale into insignificance next to BBEdit. ;) :squareeyed:
Jenta
11-28-2005, 12:25 AM
And both of those pale into insignificance next to BBEdit.
but not as much as TextPad
Anyways, back on topic. Thanks for the update. Looks like it has come a long way.
One question and forgive me if my lazy butt missed it. Do you still need to rebuild thread info for the dateline to change?
Boofo
11-28-2005, 12:28 AM
but not as much as TextPad
Anyways, back on topic. Thanks for the update. Looks like it has come a long way.
One question and forgive me if my lazy butt missed it. Do you still need to rebuild thread info for the dateline to change?
He should be doing that when you submit the changes, if he isn't already.
Jenta
11-28-2005, 12:33 AM
Sounds good. I think I have the initial release installed and only used it a couple of times. I noticed last thread info or something didnt change right away. Don't recall exactly.
Time to upgrade...thx!
Boofo
11-28-2005, 12:36 AM
Sounds good. I think I have the initial release installed and only used it a couple of times. I noticed last thread info or something didnt change right away. Don't recall exactly.
Time to upgrade...thx!
I don't know if he si doing that in the code or not. I just meant he should add that if he hasn't. I haven't looked at the code yet.
akanevsky
11-28-2005, 12:39 AM
And Notepad++ doesn't even come close to EditPlus 2.
That is a matter of personal preference. I prefer something that is rather simple and loads as quickly as notepad.
The reason I use Notepad++ are: It has no bugs and it is often updated; It does not use spaces instead of tabs, as some other editors do; And it has a rather simplistic user interface, which is what I look for in all my software. And which none of yous' editors possess. For ya'll inforamtion, Notepad++ is a winner in all the polls I've seen so far on this topic. :)
However, let's not discuss it here. ;) I'll make a thread "Personal Programming Suite", where everyone will be able to list what they use :)
I don't know if he si doing that in the code or not. I just meant he should add that if he hasn't. I haven't looked at the code yet.
That bug has already been fixed in, I think, version 1.0.1. At least - according to the changelog. :) No need to look at the code for that purpose. ;)
Time to upgrade...thx!
Dam' straight it is! :)
Boofo
11-28-2005, 01:16 AM
I'm getting this error on 3.5 RC3 when I go in to edit a user in the Admin CP.
Fatal error: Call to undefined function: get_editlevels() in /xxxx/xxxx/xxxx/xxxx/admincp/user.php(551) : eval()'d code on line 19
akanevsky
11-28-2005, 01:21 AM
Really? I suppose 3.5 RC3 doesn't have all the hooks 3.5.0^ GOLD does.
Whatever is the case, I do not possess a copy of RC3, so I cannot help you :(
I can only refer to:
Time to upgrade...thx!
and say that it's true for you too :)
The only way you can try to fix the problem is to move the contents of the init_startup plugin to the end of init.php :)
P.S> Thanks for clicking "Install".
Boofo
11-28-2005, 09:17 AM
Tha'st ok, I'll use it when I upgrade or learn to live without it for now. ;)
akanevsky
11-28-2005, 06:48 PM
If you have downloaded the hack prior to now, download it again and overwrite the XML. That will remove time-related issues that have first appeared in this Invites Hack (https://vborg.vbsupport.ru/showthread.php?p=834779#post834779), and it will also make your board protected from the same issues with other hacks, should they ever have a reason appear.
Gizmo5h1t3
11-28-2005, 07:40 PM
did as instructed m8, and i got this on my board...
board is now dead.....
Fatal error: Cannot redeclare get_editlevels() (previously declared in /home/******/public_html/board/includes/init.php(292) : eval()'d code:22) in /home/******/public_html/board/global.php(375) : eval()'d code on line 292
any ideas??
akanevsky
11-28-2005, 07:58 PM
Make sure you have uninstalled the previous version of the hack PRIOR TO installing this one. The plugin that was in global.php has been removed in the new version. You probably have it left over from the old one.
Gizmo5h1t3
11-28-2005, 08:08 PM
thanks for the advice..shame it wasnt seen b4 my board was lost....
over 12 months of stuff gone????
gutted
akanevsky
11-28-2005, 08:18 PM
If you've read the instructions carefully, you would see that it says "Uninstall the old product XML". How come you haven't done that?
Anyway, calm down. Your board is not gone. Use the following tool to temporarily turn off plugin system:
http://www.vbulletin.com/forum/showpost.php?p=925305&postcount=6
Once you turn it off, you can easily uninstall the old version of the hack.
After which, you can install the new one. :)
theArchitect
11-28-2005, 08:29 PM
If you've read the instructions carefully, you would see that it says "Uninstall the old product XML". How come you haven't done that?
Anyway, calm down. Your board is not gone. Use the following tool to temporarily turn off plugin system:
http://www.vbulletin.com/forum/showpost.php?p=925305&postcount=6
Once you turn it off, you can easily uninstall the old version of the hack.
After which, you can install the new one. :)
^ Yeah that.
Also, never install any hack without first backing up your DB.
I have found that most hacks (if not all) hacks work perfectly fine on a new board (ie a board with no other hacks or mods). But when you install the same hack on a board with a load of mods, then errors can and do occure. Even fatal ones which delete all but 16 of your vB tables (happened to me once).
SO, BACK-UP, BACK-UP AND MAKE COPIES OF THE BACK-UP LOCALY AND ON YOUR SERVER!
akanevsky
11-28-2005, 08:30 PM
SO, BACK-UP, BACK-UP AND MAKE COPIES OF THE BACK-UP LOCALY AND ON YOUR SERVER!
Or, make sure to EXACTLY follow instructions :P
Snake
11-29-2005, 12:18 PM
Yay for the new update! :)
carolem
12-05-2005, 02:04 AM
I am having trouble with getting version 2 to work right.
#1 - I don't see the place where I can edit the date and user name of a post.
#2 - I get the following error when I try to edit a message:
Database error in vBulletin 3.5.1:
Invalid SQL:
UPDATE post SET
userid = 0,
username = '',
ipaddress = '',
editlevel = 2,
showsignature = 0,
allowsmilie = 1,
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
iconid = 0,
attach = 0
WHERE postid = 250;
MySQL Error : Unknown column 'editlevel' in 'field list'
Error Number : 1054
Everything worked just fine in the previous version.
Carolem
Hoffi
12-05-2005, 07:45 AM
@carolem: Edit them in the ACP. And the Error can't be solved by this Hack, there is no Plugin that use a Hook for that function.
@Psinoc Vision: I would prefer if you can use an own PhraseType instead putting all into the Global Type. If you don't know how, I may help you with this.
carolem
12-05-2005, 12:18 PM
I uninstalled and reinstalled the product. (I do confess that previously I did not uninstall the old product before I added the new product.)
The database error no longer appears, but I still only see the box that lets you change
Author
Mod or
S Mod
as the attachment shows and I do not see the box to change the author of the post or the date of the post.
We do not use Moderators or Super Mods at this site - only admin is able to use the advanced editing function.
Carolem
Hoffi
12-05-2005, 01:07 PM
Ah, forget my Last post. I just noticed, that I was in the wrong Thread.
This Hack works perfect.
akanevsky
12-06-2005, 12:12 AM
@Psinoc Vision: I would prefer if you can use an own PhraseType instead putting all into the Global Type. If you don't know how, I may help you with this.
Thanks. I do know how, esspecially with Andreas's new hack. I might do that in some future version.
Carolem,
Make sure you followed all readme steps correctly.
carolem
12-06-2005, 01:02 AM
I have checked everything and reloaded the 2 files - uninstalled and reinstalled the product and still only see the box that lets you change
Author
Mod or
S Mod
I still have the old editpost_advanced template and the old adv_editform template from the old versions - could that be messing up anything?
I am using Safari on mac and also get the same results with Internet Explorer.
Carolem
akanevsky
12-06-2005, 01:05 AM
Yes. You need to reinstall EVERYTHING, and that includes templates.
carolem
12-06-2005, 01:25 AM
Yes. You need to reinstall EVERYTHING, and that includes templates.
You mean revert the 2 old templates because I don't need them anymore?
How do I re install the other templates?
Carolem
akanevsky
12-06-2005, 09:24 AM
As I said, you need to reinstall everyting, including templates.
To reinstall templates: if you have customized the hack template for any of the styles, then yes you need to revert the template for each of those styles.
carolem
12-07-2005, 11:28 AM
I have resolved my problem.
I reverted the 2 old templates that were no longer relevant to this hack
(the old editpost_advanced template and the old adv_editform template)
and now it is working again!
Thanks for such an essential hack!
Carolem
carolem
12-07-2005, 11:31 AM
I do notice the date boxes are a bit smaller now and it is harder to see the dates at a quick glance without scrolling in the date box. Is there an easy way that I could fix that?
Carolem
DavidN
12-12-2005, 12:35 PM
This hack rocks :D
soniceffect
12-12-2005, 09:30 PM
Hmmm .. downloaded as never tried this on 3.0 .. looks good :) .. thinks me take a looksy
akanevsky
12-12-2005, 09:44 PM
thinks me take a looksy
Yes don't forget to click where appropriate.
Exernon
12-13-2005, 12:00 AM
Just one comment on this one, once you edit a post, the host name is messed up. Any chance, we can also edit this part?
akanevsky
12-13-2005, 12:09 AM
the host name is messed up
Never heard of that one. What do you mean?
Lionel
12-16-2005, 07:51 PM
This is a great hack. I used without problems, until yesterday. It is conflicting with another great hack just released and on its way to become a major hack: Quickclip.
The problem is at newpost_process or newpost_complete hook location. Since Adv Editing verifies only for quickreply, when quickclip tries to post, we get a vb error message saying that no username was specified.
Is there a way for Adv Edit not to monopolize that location? I am posting here because Adv Editing will eventually prevent other hacks from using that hook location.
akanevsky
12-16-2005, 08:12 PM
Technically, there is no way. Adv. Editing Options have to use vBulletin's datamanager, which means that if there is no username, the system thinks that there is no username, and everything else works accordingly. However, other hacks can probably work around that problem - but that is a question that needs to be asked in the thread of a problematic hack. Sorry, but I cannot help you here.
P.S. Why would you want to post quickclips with no valid username, anyway?
Lionel
12-16-2005, 08:19 PM
Quickclip uses a username. Adv editing allows the bypass for quickreply only. So when quickclip posts, Adv Editing thinks there are no username.
OK, since I want to keep your nice hack, I will make a mental note for that and tweak any other would_want_to_use that process hack, although the tweak to allow other hacks should be in yours.
akanevsky
12-16-2005, 08:23 PM
So once quickclip uses the username, that username is no more in the system?
edit: where exactly does quickclip post from?
Lionel
12-16-2005, 08:29 PM
With quickclip, every allowed user create their own set of "canned" responses. It displays a small form below quickreply where you select your preset response to automatically post it.
more about it here
https://vborg.vbsupport.ru/showthread.php?t=103027
akanevsky
12-16-2005, 08:34 PM
So like, if I only use custom username if it was specified, will that solve the problem?
Lionel
12-16-2005, 08:36 PM
??? you loose me here. Quickclip uses normal username and permissions system. I believe each user has their own space in db to store their responses.
Lionel
12-16-2005, 08:48 PM
I think that the problem could be from
if (!$vbulletin->GPC['fromquickreply']
akanevsky
12-16-2005, 08:52 PM
Umm... If I were the author of quickclip, I would use "fromquickreply" as a hidden value of the form. Actually, I would replicate the behavior of the quick reply form ($_POST-wise) to the fullest extent possible. :( Anyhow, I'll look into what I can do to create better compatibility from my side (although I shouldn't, really).
Lionel
12-16-2005, 09:00 PM
hehe you are a genius... <input type="hidden" name="fromquickreply" value="1" /> is a fix for it.
akanevsky
12-16-2005, 09:05 PM
Well, thanks, but tell that to the author of the hack. Basically, if a hack form is supposed to act the same as the regular form, it should simply have all the same hidden parameters :)
Lionel
12-16-2005, 09:06 PM
I posted the fix in the other thread and a link to your suggestion
akanevsky
12-16-2005, 09:20 PM
Thanks man. :)
Smiry Kin's
12-17-2005, 05:48 PM
very usfull, hope it works with 3.5.2!
akanevsky
12-17-2005, 05:52 PM
It does, don't forget the install button.
carolem
12-19-2005, 06:58 PM
I do notice the date boxes are a bit smaller now and it is harder to see the dates at a quick glance without scrolling in the date box. Is there an easy way that I could fix that?
Carolem
We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.
When I checked using a PC (not a mac) everything was fine.
I am attaching a screen shoot so you can see what this looks like on a Mac.
You had provided a fix for this in an earlier version - is there a way to fix it again?
I would be happy to try to edit a file myself if you would provide instructions.
Thanks,
Carolem
Smiry Kin's
12-19-2005, 07:02 PM
We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.
When I checked using a PC (not a mac) everything was fine.
I am attaching a screen shoot so you can see what this looks like on a Mac.
You had provided a fix for this in an earlier version - is there a way to fix it again?
I would be happy to try to edit a file myself if you would provide instructions.
Thanks,
Carolem
oh yeh.
i want a mac :(
p.s maybe you can edit the box size?... have a fiddle around with it, im just gonna install this n have a go. :)
Rabbitoh Warren
12-20-2005, 12:12 AM
We use Macs. I have checked both using Safari browser and in Internet Explorer on a mac and I get the same result with the date box being too narrow to show 2 numbers.
Sheesh! It's a called search people...
https://vborg.vbsupport.ru/showpost.php?p=810444&postcount=55
carolem
12-20-2005, 12:38 AM
Sheesh! It's a called search people...
https://vborg.vbsupport.ru/showpost.php?p=810444&postcount=55
Thanks, I was looking at that post previously, but I did not think that the adv_editform template applied in the 3.5 version.
My problem is now solved!
I see now where I should have realized this on my own!
Carolem
akanevsky
12-20-2005, 09:26 AM
Yes, cause people post multiple irrelevant posts and I cannot keep track of everything in my threads :( I'll try to make sure I do this in next releast.
TCattitude
12-26-2005, 07:24 PM
Well, thanks, but tell that to the author of the hack. Basically, if a hack form is supposed to act the same as the regular form, it should simply have all the same hidden parameters :)
I have a seemed problem with this hack and "forms hack (https://vborg.vbsupport.ru/showthread.php?t=93970&page=27&pp=15)". This is the problem:
https://vborg.vbsupport.ru/showpost.php?p=856436&postcount=401
...i already post in that thread, but, if you can help me to solve this too, please, i will be thankful.
Greetings
akanevsky
12-26-2005, 08:03 PM
This hack was written so that it would not initiate conflicts with other hacks.
However, it is impossible to prevent other hacks from initiating a conflict with this hack. All I can tell you is that you should seek help from the author of the Forms Hacks. Thanks.
FD929
12-29-2005, 03:45 PM
This is a wonderful hack although I have a problem. I allow members to delete their own threads. After I lock a thread for editing by a member, they can still see the 'delete thread' in the thread tools dropdown and can use it.
akanevsky
12-29-2005, 04:32 PM
Then don't allow members to delete their own threads.
At the moment, the hack cannot work with global tools that involve mass post management and stuff, and that is said in the first post.
FD929
12-29-2005, 05:20 PM
Yeah that's not an option. If that issue ever arose I'll just move the offending member into my limited usergroup though I don't foresee that happening. Thanks Anthony.
akanevsky
12-29-2005, 06:19 PM
I could make it so that it would say "protected posts detected, operation impossible" when, say, a moderator tries to modify a thread that contains posts over his/her editlevel... Idk whether that'd be good though.
FD929
12-29-2005, 06:47 PM
I could make it so that it would say "protected posts detected, operation impossible" when, say, a moderator tries to modify a thread that contains posts over his/her editlevel... Idk whether that'd be good though.
The reason I would need this is lets say a member decides to start a flamewar for whatever reason, but then gets called out and decides to delete the thread. Then I decide I want the thread back so I restore it and lock the first post. Well he can no longer edit that post, but can still delete the thread through the thread tools dropdown.
So the hack is only effective for locking posts, (which is wonderful in itself and great thanks for that) but I also need it for threads themself.
I have the workaround I described above so it's really not a big deal and a huge thanks for what it already is capable of. Just maybe something to think about for the next release. :)
Mudvayne
01-08-2006, 02:39 PM
ok got a prob.. chk this plz.. I'm using vb 3.5.3 with ur hack 2.0.0
thnx in advance for ur solution :D
Settler
01-21-2006, 07:29 AM
привет
its possibly to code this hack for vB 3.5.2
Bro_Joey_Gowdy
02-02-2006, 04:48 PM
Any updates on the compatability with vb3.5.3 ?
the Sandman
02-08-2006, 02:50 PM
Any chance you could add an option for Administrators to remove the "Last edited by" notation from a post if it happens to have one?
SaN-DeeP
02-25-2006, 03:13 PM
Installation worked fine, although i get this message trying to add/edit a post/thread:
Uncached templates: adv_editform (1)
I have Microstats installed on by board, running 3.5.4
Regards,
Mudvayne
02-25-2006, 03:38 PM
Installation worked fine, although i get this message trying to add/edit a post/thread:
Uncached templates: adv_editform (1)
Hello.. SaN-DeeP.. I got the same prob.. I used a plugin.. Attach that.. Might u got help :).. Just upload the plugin via AdminCP->Download/Upload Plugins..
SaN-DeeP
02-25-2006, 06:28 PM
thanks Shuvo for your instant help
Regards,
Thanatos
03-06-2006, 11:42 PM
Just to let users know, this can break the forms hack.
My forms would erratically stop working or give me errors, until I disabled this (I disabled every plugin 1 at a time and tested 3 times; this one caused issues consistantly) mod.
akanevsky
03-06-2006, 11:49 PM
That has already came up before. Please read through the thread to see the answer to that issue.
Edit: Because I am in a good, here is the summary of my answer: my hacks are written with the existence of other hacks in mind, therefore my hacks do not contain "monopoly" that can disrupt other hacks' work. Other hacks, however, can be written in a poor fashion that can result in a conflic between itself and any one of my hacks. This, as you may understand, is not in my power to prevent.
...
Concerning the uncached template, that is, of course, important, but not important enough to release a new version just for that.
To fix that problem before there is a release, add the following plugin @ global_start:
$globaltemplates[] = 'adv_editform';
Any chance you could add an option for Administrators to remove the "Last edited by" notation from a post if it happens to have one?
Yes, I'll look into that.
Can you code this for 3.5.2
No, because this ALREADY IS for any 3.5.x version of vBulletin.
hotwheels
03-07-2006, 11:48 PM
I had to uninstall this hack for now...........Not sure what happened, but when i would start a new thread, just named it test and wrote tester in the message section, it used 50 queries to show the thread..........normally on my site it is only 12 queries.
It is a kewl hack though.............thanks for sharing it with us.
Paul M
04-01-2006, 12:00 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';
:)
akanevsky
04-07-2006, 10:44 PM
I had to uninstall this hack for now...........Not sure what happened, but when i would start a new thread, just named it test and wrote tester in the message section, it used 50 queries to show the thread..........normally on my site it is only 12 queries.
It is a kewl hack though.............thanks for sharing it with us.
I don't know what happened either, but I can guarantee that this hack is not the cause of 50 queries.
Paul M
04-07-2006, 11:30 PM
For some reason, since installing this, the owner of some threads seems to get changed, it's only threads that a mod/admin has posted in, and they become the owner (also, only the thread record is changed, not the first post). There is no pattern I can see (yet), and it's only about 1 a day so it's not a major problem. I'm curious more than worried atm, not really had any time to investigate what might cause this yet. :confused:
akanevsky
04-07-2006, 11:34 PM
Ok, please keep me updated.
Paul M
04-08-2006, 12:00 AM
Okay - if an administrator edits a post (full edit, not ajax) then when the edit is saved, the thread record gets altered - changing the thread starter to the member whose post got edited.
e.g. ;
Member A creates a new thread - in the forum thread listing they are shown as the thread creator and last poster.
Member B now posts in that thread - Member A is still the creator, Member B is the last Poster.
An administrator now edits Member B's post (full edit, not ajax) and saves it.
Now, Member B is shown as the thread creator, and the last poster.
If you view the thread, the first post is still Member A
akanevsky
04-08-2006, 12:06 AM
Okay, thanks. I'll look into it.
Deska
04-08-2006, 02:01 PM
Cool hack, but I got:
Uncached templates: adv_editform (1)
I saw Paul post above but how to add it?
Thank's...
akanevsky
04-08-2006, 02:24 PM
Plugin System->Add Plugin
Deska
04-08-2006, 02:33 PM
Other feature request:
- Enable/Disable on selected forum
Brown23
04-08-2006, 11:01 PM
Fantastic hack. Will install.
bashy
04-09-2006, 05:14 PM
Hi
I did try this but as it conflicted with the GARS system i had to uninstall...
Bloody shame mind as its a great hack :)
akanevsky
04-09-2006, 05:16 PM
This hack does not conflict with anything. Other hacks conflict with it. :)
Also, about the 40 queries or whatever: I just realized what was causing it.
These are the editlevels that are calculated for each post (which is done for the purpose of hiding the edit button on uneditable posts). Right now, the way to avoid too many queries is to have less posts per page. Later, I'll fix the problem by removing the calculation (which will cause a print_no_permission() to appear) upon an attempt to edit an uneditable post, but that's better than queries.
Paul M
04-09-2006, 05:27 PM
This hack does not conflict with anything. Other hacks conflict with it. :)Well that's one view - but it will conflict with/break anything that uses the standard vb build new post function, so you may be somewhat alone in that slightly tinted view of things :p However, I posted a fix for GARS (which can be used for other hacks as well) on the previous page (post #201) - people really should read before posting :)
akanevsky
04-09-2006, 05:29 PM
No, it's not a view.. it's a fact.
If I make a hack in a way that ensures that it would not conflict with other hacks, other hacks can still be done in a way that will conflict with any other hack. Here is a simple example:
My hack works, but someone else wrote a hack that contains an "exit;" statement at "global_start". My hack would not work with such hack, obviously. But is it my fault?
Paul M
04-09-2006, 05:41 PM
No, it's not a view.. it's a fact.Whatever. I'm sure people will make up their own minds what conflicts with what. Feel free to ask for my fix to be removed if it bothers you. :)
akanevsky
04-09-2006, 05:45 PM
Of course they will :) But that does not change anything.
akanevsky
04-09-2006, 05:57 PM
<font size="3">NEW RELEASE: 2.0.1</font>
To upgrade, simply overwrite the product XML.
eNforce
04-09-2006, 06:02 PM
was this problem (https://vborg.vbsupport.ru/showpost.php?p=944143&postcount=205) fixed in the new release?
akanevsky
04-09-2006, 06:59 PM
Yes.
Gizmo5h1t3
04-09-2006, 06:59 PM
was this problem (https://vborg.vbsupport.ru/showpost.php?p=944143&postcount=205) fixed in the new release?
dunno if wotever that was, was fixed, but after overwriting the xml, my boardis now completely borked...and i cant get into my admin cp either to change it...
ffs
akanevsky
04-09-2006, 07:03 PM
Do you get any error messages?
EDIT: Use this http://www.vbulletin.com/forum/showthread.php?t=148082 to disable hooks, then re-download and overwrite again.
Paul M
04-09-2006, 07:06 PM
Yes.Sure ? It still does the same here, and the only changes I can see are one hook dropped, and the template caching.
akanevsky
04-09-2006, 07:06 PM
Are you sure you have downloaded a fresh version? Because it has another minor change in the editpost_update_thread hook.
Paul M
04-09-2006, 07:18 PM
I downloaded it when you first posted the update, I take it from that reply that you've updated again since then - I'll get another copy. :)
akanevsky
04-09-2006, 07:27 PM
Yes, please do.
Paul M
04-09-2006, 07:31 PM
Done, tested, (and yes - fixed). :D
Gizmo5h1t3
04-09-2006, 07:43 PM
seems something else must be conflicting with it on my board......version 2.0.0 works fine, but the 2.0.1 version totally borks things up.
btw...the added code into global.php to disable hooks works fine......thxs for the tip
akanevsky
04-09-2006, 07:45 PM
Can you be more specific about how "2.0.1 borks things up"?
Gizmo5h1t3
04-09-2006, 07:48 PM
sorry m8...lol
it gave a parse error at the top of my index page....something to do with global.php, as ive now fixed it, i cant tell you what the exact error weas....
also, it totally locked me out of the admin cp...giving me the error about cookies, and the header???
sorry i cant be more specific, but as i said, i got it fixed now......uninstalled it, and re installed 2.0.0
akanevsky
04-09-2006, 07:54 PM
Are you sure that you have downloaded a fresh copy of 2.0.1 after this post?
https://vborg.vbsupport.ru/showpost.php?p=945507&postcount=223
Because I've updated the package once more after I announced about the update.
Any chance you could add an option for Administrators to remove the "Last edited by" notation from a post if it happens to have one?
This would be very cool!
I like to remove users - edited by- if irrelevant.
It'd be a great time saver, compared to ...
AdminCP > Maintenance > Execute SQL Query > Paste ...
DELETE FROM editlog WHERE postid = 3389 > Continue ...
Mark :)
akanevsky
04-10-2006, 10:56 AM
Ok. :)
Deska
04-12-2006, 01:09 AM
How to enable it on GARS?
I already put $adv_editform code in GARS template but not shown, btw I use Paul code hack also.
Thank's...
akanevsky
04-12-2006, 11:28 AM
I don't know what GARS is, so I cannot help you on the matter.
Deska
04-12-2006, 09:59 PM
I don't know what GARS is, so I cannot help you on the matter.
GARS: Geek Article and Review System
Released here: https://vborg.vbsupport.ru/showthread.php?t=108514
Thank's for any help :)
akanevsky
04-12-2006, 10:09 PM
Ok, now, I am not providing integration with any 3rd party addons.
By the way, if you have the last version of adv.editing options installed, you don't need paul's global[] hook anymore.
Deska
04-12-2006, 10:50 PM
It's work after I remove Paul code :)
Thank's Psionic Vision
Paul M
04-12-2006, 11:12 PM
By the way, if you have the last version of adv.editing options installed, you don't need paul's global[] hook anymore.I assume this is referring to the template cache, as GARS and Reported Post creates New Thread will not work without the 'bypass' for them.
Deska
04-13-2006, 02:36 AM
Hi Paul,
I'm not try newthread yet, but edit thread in GARS is work.
Paul M
04-13-2006, 03:37 AM
I'm referring to creating new threads. :)
sassy1
04-14-2006, 11:42 AM
Please can someone help
I get this error message.
Call to undefined function: get_editlevels() in /home/xxxxx/public_html/forum/admincp/user.php(554) : eval()'d code on line 27
I installed as per instructions but i had to disable it because
half of the user manager panel had dissappeared not to mention
you couldnt see any of the options when trying to edit a thread.
I really love this and i want to get it working.
thanks in advance
:confused:
akanevsky
04-14-2006, 12:42 PM
Make sure you've installed everything correctly.
sassy1
04-14-2006, 01:08 PM
I have uninstalled and installed twice and the same problem.
please help.
:confused:
Deska
04-14-2006, 01:55 PM
sassy1, which vBulletin version you have?
I install it on vBulletin v3.5.4 with no problems, make sure you use latest version hack.
sassy1
04-15-2006, 12:47 AM
I have vbulletin version 3.5.3
and yes i have installed the latest version of the hack.
I have tried again and i still get the same thing
i cant understand it.
I am not giving up i want that hack on my board.
:)
akanevsky
04-15-2006, 12:51 AM
Have you installed product xml?
sassy1
04-15-2006, 01:06 AM
yes i have uninstalled it and reinstalled.
and i get excatly the same error.
please help
:confused:
akanevsky
04-15-2006, 01:24 AM
Then it's conflicting with another hack. can't help you here.
sassy1
04-15-2006, 01:25 AM
Psionic Vision just to let you know
in your screanshot 3
in the usermanager where there are 2 columes
i only have the left one the right on disappears
with the hack.
:confused:
akanevsky
04-15-2006, 01:29 AM
This hack works properly with an unhacked vB 3.5.4. Please seek the source of the problem within your own board.
And stop posting here. Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.