Version: 2.00, by EvilLS1
Developer Last Online: May 2021
Version: 3.0.6
Rating:
Released: 01-03-2004
Last Update: 01-24-2005
Installs: 145
No support by the author.
This hack will allow your users to edit their posts without having to load the editpost page..
How it works: In the bottom right-hand corner of all your posts will be a small Quick Edit icon (users will only see it in posts which belong to them).. When you click it a text box will drop down below your post allowing you to edit it instantly in the thread itself.
This will save you a lot of time when fixing those spelling mistakes, typos, or broken links. It should also help save on bandwidth since your users will no longer need to load the editpost page.
Very easy to install.. 2 file edits, 2 template edits, and 1 template to add.
Known bug: Quick Edit will NOT work with Opera web browsers. Those who use Opera simply won't see the option to quick edit (icon will be invisible when viewed in that browser). It'll work fine in other browsers such as IE or firefox.
Support: Due to work my time is limited as of late so this hack is released AS IS with no support. However, several questions have already been answered in this thread.
Update (7-25-04): Fixed a minor bug with the QE window moving further to the left with each click in mozilla/firefox browsers. To update simply replace your showthread_quickedit template with the new one. Thanks to sv1cec for this bug fix.
I'm not really sure as I don't use the version which allows admins to edit all posts.. But you could try adding this to the showthread_quickedit template:
<phrase 1="$bbuserinfo[username]" 2="$date" 3="$time">$vbphrase['post_edited_by_x_on_y_at_z']</phrase>
Hmm... I tried adding that in several different places in the template and get parsing errors no matter where I put it. What is it supposed to do exactly? I don't really know how the moderator log is updated but I can't see how that would do it either. :ermm:
tmhall,
I was thinking maybe the phrase needed to be defined or something but I guess not. Seems like it should put the correct info in the modlog b/c even when using quick edit changes are still made through editpost.php. I wish I could tell you why its not doing that but I have no idea.
In FireFox the box appears somewhere in the middle of the screen. Is there any way to make the corner of it touch the button, just like in IE?
<if condition="$bbuserinfo['signature'] != ''"> is wrong. It only shows the signature box if the VIEWER has signature. It should show signature box if the poster has signature right? Got this trouble after alloying admin and mod to quickedit.
I just took out that conditional statement. The sig box is there all the time, but if it is checked when the user doesn't have signature, it still goes through, giving no errors.
Actually, changed to this code now: If there is a signature on the post, the box will be checked, if there is no signature it will be unchecked.