Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Quick Edit! -Edit posts directly from within the thread itself Details »»
Quick Edit! -Edit posts directly from within the thread itself
Version: 2.00, by EvilLS1 EvilLS1 is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

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.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #242  
Old 11-28-2004, 11:31 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Charles,
The delete post option was posted by someone else (not me), but I believe the instructions you need to follow are posted just below where it says "Below is my version of the showthread_quickedit template".. You'd just need to replace your quickedit template with the one he posted.

IMHO its not a good idea to allow mods/admins to quickedit all posts 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 quick edit all posts the instructions are posted somewhere in the first few pages of this thread.

Dewayne
Reply With Quote
  #243  
Old 11-29-2004, 02:59 AM
charlesk charlesk is offline
 
Join Date: Nov 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


The delete post option was posted by someone else (not me), but I believe the instructions you need to follow are posted just below where it says "Below is my version of the showthread_quickedit template".. You'd just need to replace your quickedit template with the one he posted.

The problem is that he changed other stuff too... there are hard-coded colors and stuff in there. I guess I can do a compare and figure out what I need to change.

IMHO its not a good idea to allow mods/admins to quickedit all posts and here's why...

I agree with your reasoning, and I don't have to edit others' posts very often anyway. Thanks again, Dewayne.

c
Reply With Quote
  #244  
Old 11-29-2004, 11:25 PM
charlesk charlesk is offline
 
Join Date: Nov 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EvilLS1: I'm confused about the Opera status of the hack. In the main post you say it doesn't work with Opera.. but then later on page 1 you write "Yes, I've tested this with Mozilla, IE, and Opera. Works fine with all of them. The VB2 version has also been updated to work with all browsers." I have a user on Opera who doesn't see the QEdit box and am wondering if there is a workaround.

Thanks. --c
Reply With Quote
  #245  
Old 11-30-2004, 12:54 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by charlesk
EvilLS1: I'm confused about the Opera status of the hack. In the main post you say it doesn't work with Opera.. but then later on page 1 you write "Yes, I've tested this with Mozilla, IE, and Opera. Works fine with all of them. The VB2 version has also been updated to work with all browsers." I have a user on Opera who doesn't see the QEdit box and am wondering if there is a workaround.

Thanks. --c

It doesn't work with Opera. There was two versions of this hack. The first version worked with opera but caused errors in other browsers.. This version doesn't work with opera but runs smoothly in Firefox and Internet Explorer. Those who use Opera simple won't see the quick edit icon.
Reply With Quote
  #246  
Old 11-30-2004, 12:27 PM
charlesk charlesk is offline
 
Join Date: Nov 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay thanks for the clarification, appreciate it. --c
Reply With Quote
  #247  
Old 12-15-2004, 10:13 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by charlesk
Okay thanks for the clarification, appreciate it. --c
I have just tried to implement the Quick Edit System on another board and am getting

Parse error: parse error in /home/httpd/vhosts/amanteballo.com/httpdocs/forum/editpost.php on line 774

I can't immediatly think what could be causing this as I have implemented this hack on another board.
Reply With Quote
  #248  
Old 12-15-2004, 10:19 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theArchitect
I have just tried to implement the Quick Edit System on another board and am getting

Parse error: parse error in /home/httpd/vhosts/amanteballo.com/httpdocs/forum/editpost.php on line 774

I can't immediatly think what could be causing this as I have implemented this hack on another board.

That is very strange, as this hack doesn't even make changes to editpost.php. Whats on line 774?
Reply With Quote
  #249  
Old 12-16-2004, 02:30 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EvilLS1
That is very strange, as this hack doesn't even make changes to editpost.php. Whats on line 774?
Sorry, my bad. I had installed Xenon's Hidden Post Advanced hack incorrectly and it was messing with yours.

Sorry for troubling you.
Reply With Quote
  #250  
Old 12-16-2004, 01:09 PM
version2's Avatar
version2 version2 is offline
 
Join Date: Feb 2003
Location: Philly
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All right. What can I do to REALLY make sure that signatures do not get chopped off. SOmetimes the quickedit box comes up with the sig checkbox greyed out and when this happens it ALWAYS strips out the sig.
Reply With Quote
  #251  
Old 12-16-2004, 08:46 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by version2
All right. What can I do to REALLY make sure that signatures do not get chopped off. SOmetimes the quickedit box comes up with the sig checkbox greyed out and when this happens it ALWAYS strips out the sig.
Version2,
I wish I knew what to tell you in order to fix that but I honestly have no idea. Someone else mentioned having that problem earlier but I can't reproduce it on my own site I have no way to figure out whats causing it. I'll experiment with it some more on my test forum this weekend and try to reproduce it.. If I figure out something I'll let ya know.
Reply With Quote
 


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05249 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete