Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Quick Edit! -Edit posts directly from within the thread itself Details »»
Quick Edit! -Edit posts directly from within the thread itself
Mod Version: 2.00, by EvilLS1 (Member) EvilLS1 is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.6 Rating: (1 vote - 5.00 average) Installs: 145
Released: 04 Jan 2004 Last Update: 25 Jan 2005 Downloads: 27
Not Supported  

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:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot.jpg
Views:	1790
Size:	43.1 KB
ID:	18540

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Quick Edit! -Edit posts directly from within the thread itself EvilLS1 vBulletin 2.x Full Releases 126 30 Jan 2004 06:01

  #211  
Old 24 Sep 2004, 08:47
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
Thanks for your modification with the email update feature
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer
Reply With Quote
  #212  
Old 25 Sep 2004, 13:35
Overlord Overlord is offline
 
Join Date: Jun 2002
Just installed this hack.. very nice works like a charm, although some of my members on dialup are complaining of a 30 second to 60 second delay in thread loading times (doesn't seem to bother me) but is there any way to add a switch to this hack from the user cp? So members can either decide to have it on or off?
Reply With Quote
  #213  
Old 25 Sep 2004, 17:36
pco pco is offline
 
Join Date: Jul 2004
Either radio buttons or a single checkbox in User Options, here's single checkbox:
In admincp make a new user profile field called say "Use Quick Edit" Type "Multiple Selection Checkbox", press continue. Enter description of your choice and in the field Options just add 1 Option called "No" (without the quotes). Edit the other field options as required ie. "field editable by user YES" but "not shown on memberlist" etc. Set the "Display page" to "Options: other", then press save and read what the field number is for this field, ie. field8. Now edit the postbit(_legacy) template(s) and change the line(s) starting with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Additionally put this around your showthread_quickedit template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Don't forget to change the 8 from above to your field number.

The Quick Edit will still be switched on now for everyone in their profiles by default. Those who want to have it off/not loaded anymore have to tick the "No" box in their UserCP Options to get rid of it. If you want to have it the other way round(Quick Edit off for everyone by default) then name the Quick Edit field Option "Yes" and not "No" and remove the exclamation marks:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

becomes


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Good luck
__________________
http://www.serverknecht.de

Last edited by pco : 11 May 2005 at 07:38.
Reply With Quote
  #214  
Old 25 Sep 2004, 20:56
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Overlord,
Unless you set it up so that admins can quick edit everyones posts this hack should have no real effect on load times. If you install it as intended the only extra things that must load in showthread is the little icon and the hidden text which is only loaded in posts that belong to the person who is viewing the thread (a small avatar would take longer to load than the text).

Quick Edit uses the same standard javascript functions which vbulletin uses to make all of the little drop down boxes (like when you click on someones username, search, thread tools, etc.) so no extra javascript is loaded. You do have to wait until the whole thread finishes loading before quick edit becomes functional, but this doesn't add to the load times.


pco,
Thats a nice addition. I'll add a link to your post in the add-ons section in the first post of this thread so that others can use it.
__________________
V4MuscleBike.com
Reply With Quote
  #215  
Old 25 Sep 2004, 21:19
pco pco is offline
 
Join Date: Jul 2004
EvilLS1, your nice hack deserves support But please don't forget to look into the Opera problem if you can find some time. I didn't look any further into it yet as I'm very busy. The only other thing I did was saving a "t=tid" page and "p=pid" page to disk and doing a diff on them. What is different is the URL only it seems apart from some other unimportant/no difference making is_moz/is_ie check. Then one more thing I've noticed(ethereal) which is that somehow Opera doesn't seem to load vbulletin_global.js if "p=pid" so it is certainly as you say somehow related to JS. Therefore the question remains "what is it doing", and I'm no JS expert in any way.
__________________
http://www.serverknecht.de

Last edited by pco : 11 May 2005 at 07:37.
Reply With Quote
  #216  
Old 26 Sep 2004, 01:50
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
I haven't had a chance to experiment with it anymore yet but I'll try again tomorrow night and let you know if I find a fix. No guarantee though, 'cause I'm no JS expert either.
__________________
V4MuscleBike.com

Last edited by EvilLS1 : 26 Sep 2004 at 01:53.
Reply With Quote
  #217  
Old 26 Sep 2004, 02:35
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
*clicks install*.

Sensational hack. Something which will come in very handy.

But have noticed that in addition to Opera, it also doesn't work with Netscape on a Mac. Though for your records (if you don't already know) it does work on Safari.

This is a real bummer as I now have to switch back to Firefox. I only moved to Netscape last week as the install button on vB.org doesn't work with Firefox.

Last edited by theArchitect : 26 Sep 2004 at 02:41.
Reply With Quote
  #218  
Old 26 Sep 2004, 02:56
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Also, while I think about it. Is there any way to get this working with moderator permissions?

At the moment I can still see my normal edit post button but I can't use the Quick Edit feature with posts I have not written.
Reply With Quote
  #219  
Old 26 Sep 2004, 03:02
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Yes that is possible, but its not a good idea IMO and here's why: With the way this hack works it must load the post text two times in posts where the viewer has the ability to quick edit. So if you set it so that admins can quickedit all posts the post text for every post within a thread will be loaded twice in his browser (once viewable and once hidden) which could slow down the load time a bit. Theres also a problem with the moderater log not showing some info for posts that were quick edited by mods & admins. This is why I didn't include that feature with the hack in the first place. If you still want to allow staff to edit all posts theres instructions for that add-on somewhere in the first few pages of this thread.
__________________
V4MuscleBike.com
Reply With Quote
  #220  
Old 26 Sep 2004, 03:16
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by EvilLS1
Yes that is possible, but its not a good idea IMO and here's why: With the way this hack works it must load the post text two times in posts where the viewer has the ability to quick edit. So if you set it so that admins can quickedit all posts the post text for every post within a thread will be loaded twice in his browser (once viewable and once hidden) which could slow down the load time a bit. Theres also a problem with the moderater log not showing some info for posts that were quick edited by mods & admins. This is why I didn't include that feature with the hack in the first place. If you still want to allow staff to edit all posts theres instructions for that add-on somewhere in the first few pages of this thread.
Thankyou. And a very good reason not to include it.
Reply With Quote
  #221  
Old 26 Sep 2004, 03:23
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by theArchitect
*clicks install*.

Sensational hack. Something which will come in very handy.

But have noticed that in addition to Opera, it also doesn't work with Netscape on a Mac. Though for your records (if you don't already know) it does work on Safari.

This is a real bummer as I now have to switch back to Firefox. I only moved to Netscape last week as the install button on vB.org doesn't work with Firefox.
Also the Quick Edit system has just come online in my Netscape browser *YA*.

So scratch that as a possible bug.
Reply With Quote
  #222  
Old 26 Sep 2004, 04:34
Overlord Overlord is offline
 
Join Date: Jun 2002
Ok.. thanks guys. I have it set so that Super Mods can edit, as on our forums they have been able to edit normally and requested that they be able to again.. so load time is a little steeper. I'll add that switch though to compensate, I didn't realize it was that simple.
Reply With Quote
  #223  
Old 26 Sep 2004, 10:52
silentwille silentwille is offline
 
Join Date: Aug 2004
Hello

It is possible to move the window of quick edit ??

If yes, thanks to give me the code
Reply With Quote
  #224  
Old 13 Oct 2004, 01:22
kirupa kirupa is offline
 
Join Date: Dec 2002
Hey Evil!
Great hack. On our board @ http://www.kirupaforum.com, I have the Quick Edit installed with the changes you mentioned here: http://www.vbulletin.org/forum/showp...&postcount=207

Yet, even when I uncheck the "Subscribe" field, I am still subscribed to that thread. Most of the members have that same problem also. Do you happen to have a suggestion on how I could resolve this issue?

Thanks!
Kirupa :nervous:
Reply With Quote
  #225  
Old 13 Oct 2004, 01:53
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Kirupa,
Make sure you deleted this line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
V4MuscleBike.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 02:22.

Layout Options | Width: Wide Color: