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 |
#202
|
||||
|
||||
Looks nice iguanairs. Added a link to your button in the first post.
|
#203
|
|||
|
|||
Anyway to intergrate the WYSIWYG Editor?????? Be a nice addition
BTW, INSTALLED |
#204
|
||||
|
||||
Quote:
|
#205
|
|||
|
|||
Allright, Thanks for the reply. I'll look at the code and see what I can screw up
|
#206
|
|||
|
|||
Hello,
I have a problem with this hack which is with Opera latest version(754) and I didn't try any other. Linux or Windows Opera doesn't matter, neither works. Tried with different servers and Apache/php-config's under linux(Suse 7/8/9 and Redhat 7/9) no change. The problem: quick-editing with this hack by using Opera only works one time IOW as long as the URL still reads showthread?t=tid. After the first edit and if the URL is showthread.php?p=pid#pid then the next changes are posted fine(as one can find by manually refreshing) but the browser doesn't refresh the page by itself. Instead it just sits there showing the busy mouse pointer with the status line "completed reguest to <servername>" and that's it. There are no error messages in the apache log with debug on, there couldn't be as it POSTS fine like I said it's just that it doesn't refresh. So because of this I can't use it. I've tried everything of what was posted here as for changes, it doesn't make any difference as to this behaviour of Opera at all(IE 5.x,6.x and Firefox 0.6x-0.9x are fine BTW). Also tried fresh install of vb303, all the same. Did anyone come across this problem or has an idea why and how this could be happening as I don't know where to luck further since logs are empty and this is clearly because of something this hack is doing? TIA for looking into it. PS. Apache 1.3.x or 2.0.x(latest, .31/.51) doesn't matter either, so the problem has to be related to this hack and not the server config in any way. :tired: |
#207
|
||||
|
||||
It is possible to have an option to choose the thread subscription mode?
For example, you can have some members who want to subscribe and others members don't want. Your modification in the post #6 is a subscription mode for all people, not for each preference of each member. BTW, it's a very good hack |
#208
|
||||
|
||||
pco,
Your server type or settings shouldn't make any difference. Anytime you're dealing with javascript you're bound to run into problems with some browsers. Anyway, I'm at work right now but when I get home tonight I'll install the latest version of Opera and see whats going on. If I can reproduce the problem I'll try to find a way to fix it and post it here. PitchouneN64ngc, You could put a checkbox option in the quick edit form so that the user can decide if he wants to subscribe or not. You'd still have to have it checked or unchecked by default for all users b/c in order to check the users preferences for subscriptions I believe you'd have to add a query to showthread.php and that wouldn't really be worth it. But if you want to add the checkbox just do this: In the showthread_quickedit template find this: Code:
<if condition="$bbuserinfo['signature'] != ''"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" checked /><span class="smallfont">Signature</span></label></if> Code:
<input type="checkbox" name="emailupdate" value="1" checked /><span class="smallfont">Subscribe</span> |
#209
|
|||
|
|||
Thank you! Also I see now there's the variable "is_opera" in clientscript/vbulletin_menu.js and vbulletin_global.js. Perhaps looking at what it does(different) if it's Opera will help to find a solution.
|
#210
|
||||
|
||||
pco,
I was able to reproduce the problem. I've been trying to figure out whats causing it for the past 2 hours but haven't had any luck. I'll look into it some more this weekend but I dunno if I can fix it or not. For now, a temporary solution would be to hide the quick edit icon from those who use Opera. To disable it in opera open the postbit templates and find: Code:
<if condition="THIS_SCRIPT=='showthread' and $post['editlink'] and $bbuserinfo[userid]>0"> $quickedit </if> Code:
<if condition="THIS_SCRIPT=='showthread' and !is_browser('opera') and $post['editlink'] and $bbuserinfo[userid]>0"> $quickedit </if> |
#211
|
|||
|
|||
Thanks for confirmation and the temp fix. Although I won't use it for now where I intended to use it (on a bigger site) until there's a real solution as I don't want to withhold it from anyone. I hope you(or anyone else) can find a solution for it in the near future!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|