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

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

Version: 2.2.x Rating:
Released: 06-28-2003 Last Update: Never Installs: 69
 
No support by the author.

Hi,

This hack will allow your users to Edit their posts without having to load the editpost page..

How it works: In the bottom lefthand corner of all your posts will be a small "QuickEdit" radio button (users will only see it in posts which belong to them).. When you click it a small text box will instantly drop down below your post allowing you to edit it in the thread itself.
This will save you a lot of time when fixing those spelling mistakes, typos, or broken links.

Very easy to install.. One file edit, two template edits, and one template to add.

Credits: Thanks to T?Pau's javascript add-on this hack now works with Mozilla.


screenshots
View after clicking the QuickEdit radio button:
Screenshot #1

View before button is clicked:
Screenshot #2

Download Quick Edit (Click Here).

Update: For those who prefer an image button instead of a radio button use these instructions.
Note: Image button version does not work with mozilla browsers!

Screenshot of image button version

Also, added a check box for the signature to both versions.

Quick Edit for VB3 can be found here.




If you find this hack useful please click the install button.

Show Your Support

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

Comments
  #42  
Old 07-07-2003, 08:15 PM
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This ++++ right here doesnt allow me to post repliers using the post reply button. again, another bug with your hack.

PHP Code:
#### In your postbit template find:


    
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>


#### Replace with:


<TABLE height=0 cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR><TD>$quickedit </td>
<
TD align=right><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></TD></TR></TBODY></TABLE
Please fix this! And fix your Quick Quote II hack also.
Reply With Quote
  #43  
Old 07-07-2003, 08:33 PM
T?Pau T?Pau is offline
 
Join Date: Jan 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 12:07 AM EvilLS1 said this
T?Pau,
I just tested your code with Opera 7 and it works fine for me.. Also works with Mozilla now. Good job! With your permission I'd like to update the hack instructions and add your javascript for mozilla. I'll give credit to you for that in the main post of coarse. Let me know.
Sure no problem

But still Opera loads the newrepy.php not the editpost.php, when I click the Submit button. The form action goes to editpost.php and Mozilla & IE are both working. Any idea why this happenes ?
-->http://star-trek-galaxy.net/forums/f...p?s=&forumid=7
Reply With Quote
  #44  
Old 07-07-2003, 09:02 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

T'Pau,
Thats strange because it should go to editpost.php with any browser as long as the form action says action="editpost.php". Which version of Opera are you using? Its working fine for me with Opera 7.

Ramsy, check my reply to your post in the Quick Quote thread. You did add the javascript to the headinclude template correct?
Reply With Quote
  #45  
Old 07-07-2003, 09:28 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

T'Pau,
I went to your forum and viewed the page source in one of your threads.. I found this at the top (above the messages):

Code:
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="ab85079a3d8c5a772a701d7972966aca">
<input type="hidden" name="threadid" value="1036">
And then the closing tag </form> for this form is at the bottom of the page..

What I can't figure out is why you have a newreply form that starts at the top of the page.. Unless its from another hack that you've installed. I think this is whats causing your problem..

{edit} I think I know why that form is there. I bet you have the Quote multiple posts hack (by xiphoid) installed .. If so, thats whats causing it to go to newreply instead of editpost in Opera. The quote multiple posts hack adds a form around the entire section that contains the messages.. This hack places a hidden form in each postbit.. You can't embed a form inside of another one, so I'm pretty sure thats whats causing it.

To test it, just temporarily remove this bit of code from the showthread template:
Code:
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
Reply With Quote
  #46  
Old 07-09-2003, 04:28 AM
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

removing the multi quote hack worked, thanks, installed.
Reply With Quote
  #47  
Old 07-09-2003, 06:49 AM
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey dude, How can I make it so that QuickEdit
is under Quick Reply?
Reply With Quote
  #48  
Old 07-10-2003, 03:14 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:49 AM Ramsy de Vos said this in Post #46
Hey dude, How can I make it so that QuickEdit
is under Quick Reply?
I don't think thats possible. The form has to be in the postbit.
Reply With Quote
  #49  
Old 07-11-2003, 11:44 PM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible that this (or the quote hack I installed before it) could in some way interfere with the Options settings? I can't see how they could, but since installing these 2 I've noticed a few probs on the board getting logged out etc. I checked my Options, and the Browse board with cookies had mysteriously been turned off. I reselected it and saved, but it keeps reverting to No. It's fine in the AdminCp panel btw. I can't see how either of these hacks could have such an effect, but the problem only cropped up after installing so I wondered if there was a connection.

Anyone else had this, and knows how to fix it?

Thanx.
Reply With Quote
  #50  
Old 07-11-2003, 11:57 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:44 AM PhoenixBB said this in Post #48
Is it possible that this (or the quote hack I installed before it) could in some way interfere with the Options settings? I can't see how they could, but since installing these 2 I've noticed a few probs on the board getting logged out etc. I checked my Options, and the Browse board with cookies had mysteriously been turned off. I reselected it and saved, but it keeps reverting to No. It's fine in the AdminCp panel btw. I can't see how either of these hacks could have such an effect, but the problem only cropped up after installing so I wondered if there was a connection.

Anyone else had this, and knows how to fix it?

Thanx.
Hmm.. Thats strange, but I don't think this hack could effect those settings.. I've been using it on my board for a few weeks now and haven't had any problems like that. You could try uninstalling it and see if the problem goes away, but I highly doubt this is causing it.
Reply With Quote
  #51  
Old 07-12-2003, 12:12 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstall it?? No chance!

Think this has to be one of my favourite hacks, so not ever uninstalling it, even if everybody kept getting logged out.

Didn't think it could be this though, so it's just probably one of those weird things that happen from time to time.
Reply With Quote
Reply


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:56 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.05268 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (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