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
  #32  
Old 07-06-2003, 07:02 PM
larryd larryd is offline
 
Join Date: Nov 2001
Location: Newark, DE
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok seems Im the only one to run into problems, hopefully you can help me out.

Forums are at http://www.newcelica.org/forums/index.php

I followed all the instructions and when I try and click the radial it gives me a javascript error on the bottom of the page stating

Line 711
Char 1
Error Object Expected
Code 0
URL http://www.newcelica.org/forums/show...postid=1219521

Nothing actually pops up to edit anything. Im not sure what the problem is, figure it might have something to do with the quick quote that Im using. Im running your QuickQuote II.
Reply With Quote
  #33  
Old 07-06-2003, 11:22 PM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having this problem too! I'm running Quick Quote II without problem, and I used the instructions for the QQ users.

I'm using IE6 and VB 2.26 if that's any help.

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

Ok, I think thats whats causing your problem then. Those instructions are for people who installed my first QuickQuote hack (not Quick Quote II).. Sorry about that, I should have been more clear about it. Follow the instructions in the first post and it will work for you.

larryd, did you also use those instructions? If not, what browser are you using? Make sure you added the javascript to the headinclude template..
Reply With Quote
  #35  
Old 07-06-2003, 11:48 PM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still didn't work - until I put the JS in the headinclude (you'd said to skip that if one had QQ installed). Working fine now.

Great hacks!

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

Quote:
until I put the JS in the headinclude (you'd said to skip that if one had QQ installed).
Yeah I meant if you had QQ1 installed (there's 2 quick quote hacks).. Anyway, sorry about that.. Guess I should have explained it more clearly. I updated the instructions so not to confuse anyone else. Glad its working for ya now.
Reply With Quote
  #37  
Old 07-07-2003, 02:32 AM
larryd larryd is offline
 
Join Date: Nov 2001
Location: Newark, DE
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats what it was, I did not add the script into the headinclude. That would make alot of sense huh THANKS and great hack.
Reply With Quote
  #38  
Old 07-07-2003, 08:42 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooh, I think I found a bug! Well maybe not a bug, but a little problem. Or big one, depending on your board setup......

I have one forum on my board that allows guests to post - basically in case it's a member with problems or someone having probs registering. Anyway, I was having a look thru that forum just now - logged out - and there is one post there by an Unregistered (actually a member who forgot to log in). I was intrigued to see the quick edit button there. So I clicked it and ya, up the box popped! So I guess, the unregistered will be able to edit each others posts.

Not a major problem from my standpoint as guests rarely post there, and I can switch off the access so they can email me if they have tech probs. I should imagine for people with boards that allow guests to post it would be a bit of a problem though.

Have I mentioned how much I love this hack?? It's saving me a ton of time!
Reply With Quote
  #39  
Old 07-07-2003, 08:48 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, might not be as bad as it looks. Just edited said post but I got the No Permissions page - which is interesting as Guests do have permission to post there. Maybe because Guests can't edit their posts? Hmmm. I can't see how it would know who the original guest was, so I'm guessing in spite of the edit button and box coming up that Guests posts can't be edited via the quick edit? Cool. Be amusing to watch people try.
Reply With Quote
  #40  
Old 07-07-2003, 08:58 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah all the same permissions in editpost.php still apply. If you want the quick edit button to be invisible to unregistered posters just use this code in admin/functions.php instead of the code you added from the instructions.

Code:
if ($post[username] == $bbuserinfo[username] and $bbuserinfo[userid] !=0) {
    $edittext = htmlspecialchars($post[pagetext]);

eval("\$quickedit = \"".gettemplate('showthread_quickedit')."\";");
} else {
$edittext="";
$quickedit="";
}
Reply With Quote
  #41  
Old 07-07-2003, 08:11 PM
DelFDgfd_gT DelFDgfd_gT is offline
 
Join Date: Oct 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant click my post reply button anymore. wtf?
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 01:08 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.14826 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_code
  • (1)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