The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Edit! -Edit posts directly from within the thread itself Details »» | |||||||||||||||||||||||||||
Quick Edit! -Edit posts directly from within the thread itself
Developer Last Online: May 2021
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. Add Ons: *Show the "delete post" option for those who have permission in the Quick Edit form (also adds edit reason). (by sv1cec) *Show the "edit reason" field in the Quick Edit form. (Requested by Convergys) *Alternate Quickedit icon image (by ryancooper) *Another alternate Quickedit icon (by sv1cec) *Another alternate Quickedit icon (by charlesk) *Yet another alternate Quickedit icon (by iguanairs) *Give users the option to disable quick edit in the usercp (by pco) If you find this hack useful please click the install button. Screenshot attached: Show Your Support
|
Comments |
#282
|
|||
|
|||
Need some help here, a user found a possible bug...
The user is running Opera. In a thread in which he's already posted, if he attempts to submit a new post via the quick reply box, using the option-s shortcut to submit it, the new post does not show up, and instead, the most recent post he'd made in the thread gets the "Last edited by... tacked onto it. This only happend when he uses the option-s shortcut to submit, it works fine if he clicks the "Post Quick Reply" button. And this does not happen on IE using the Alt-s shortcut. So only on Safari, only with quick reply, and only with the option-s shortcut to submit. Quick edit is the only hack I have installed that involves posting or editing, so it's highly likely that it's the culprit. |
#283
|
|||
|
|||
OKay, I've figured out what's happening, but I don't know how to fix it.
First, a corretion, it slaps the "Last edited by.." on the user's FIRST post in the thread, not the last. Now, for what's happening. All it is is that Opera is sending the ctrl-s command to the hidden quick edit window instead of the main active window. Sine that window also has a submit button with the same keyboard shortcut, it submits the unaltered hidden edit box instead of the quick reply box. This does not happen on Windows IE, or Firefox on Mac. Okay, so now that I've figured out what the problem is, I have no idea if it can be fixed. Any way the code can be altered to make sure that Opera has the focus on the right window? |
#284
|
|||
|
|||
do you have a link to your forum and post?
|
#285
|
||||
|
||||
BaconDelight,
As noted in the first post Quick Edit does not work with opera and the code isn't even displayed in that browser. Check the code in the postbit template and you should find "!is_browser('opera')" in the conditional which determines whether or not the quick edit code is to be displayed. If you don't see it, that means you're either using an old version of quick edit or you're using someone elses add on version. Try submitting a quick reply in opera with ALT + S here at vb.org and you'll see that it doesn't submit here either.. Quick Edit isn't installed here. |
#286
|
|||
|
|||
Sorry, my mistake, I meant Safari, not Opera.
Quick eidt works, quick post works. But when you try to submit a quick post with ctrl-s in Safar, it sends the ctrl-s to the hidden quick edit window. |
#287
|
||||
|
||||
In that case, try this:
In the showthread_quickedit template find name="vbulletinform" and change the form name to something else (vbform will do). I'm not familiar with the safari browser but I think that will fix it. |
#288
|
||||
|
||||
If that doesn't work try changing the accesskey in this code to something else:
Code:
<input type="submit" class="button" name="sbutton" value="Save Changes" accesskey="s" tabindex="1" /> |
#289
|
|||
|
|||
Alright, so changing the access key sort of helps. Ctrl-s is now working, but now using the new access key for submitting a quick edit is doing something similar to the orignal issue. Namely, if the user has more than one post on the page that's displayed, using the new access key will not necessarily submit the correct quick edit window, it submits it to one of the other hidden quick edit windows on the page. The user that's having this problem also mentioned that clicking the "preview changes" in a quick edit window submitted it instead of going to the preview page. Again, these issues are only present with Safari, on Mac OSX. Anyone with experience with Safari have any ideas?
|
#290
|
|||
|
|||
Forgot to mention, I changed the form name as suggested in post #286 above and that didn't do anything.
|
#291
|
||||
|
||||
installed in 10 minutes and works great with no hitches in IE or safari
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|