Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Edit Loading Text Details »»
Quick Edit Loading Text
Version: 1.0a, by Brad Brad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-20-2006 Last Update: Never Installs: 17
Uses Plugins Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

I'm sure you've noticed that posting a quick reply displays a 'Posting reply, please wait' message while the post is begin sent to the server. Ever wonder why Quick Edit doesn't do the same? I know I have...

With this modification installed a short message is displayed in the postbit template when a user edits or deletes a post via the quick edit box. I felt this was something that should have been in the code by default (and I think it will be in an up-coming version) so I made it myself and decided to release it to the community.

Requirements

1 file to edit (to file /vbulletin/clientscript/vbulletin_quick_edit.js)
2 template edits (to templates postbit, and postbit_legacy)
1 Product file import (for the phrases)

Important note

Because this modification requires that you edit the javascript files, you will have to clear your web browser's local cache before it will start working. You can do this by clearing the entire cache, or pressing ctrl+f5 while viewing any thread on your forum. [high]Please make sure you do this before you seek support! I have a feeling this is going to account for 99% of the support requests I get for this modification! [/high]

Installation instructions are in the .zip file, please click the install button and enjoy!

Show Your Support

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

Comments
  #22  
Old 03-22-2006, 06:48 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad
All these additions and other ways of doing them are good, but a little messy. Here is how I would do it.

After installing the modification open vbulletin_quick_edit.js

Find:

Code:
	// Show going advanced message
	fetch_object('qe_advanced_' + vB_QuickEditor.postid).style.display = '';
	document.body.style.cursor = 'wait';
Replace with:

Code:
	// Show going advanced message
	fetch_object('qe_advanced_' + vB_QuickEditor.postid).style.display = '';
	fetch_object('qe_image_' + vB_QuickEditor.postid).style.display = '';
	document.body.style.cursor = 'wait';
Find:

Code:
		// Show saving post message
		fetch_object('qe_posting_' + vB_QuickEditor.postid).style.display = '';
		document.body.style.cursor = 'wait';
Replace with:

Code:
		// Show saving post message
		fetch_object('qe_posting_' + vB_QuickEditor.postid).style.display = '';
		fetch_object('qe_image_' + vB_QuickEditor.postid).style.display = '';
		document.body.style.cursor = 'wait';
Find:

Code:
	// Show removing post message
	fetch_object('qe_delete_' + vB_QuickEditor.postid).style.display = '';
	document.body.style.cursor = 'wait';
Replace with:

Code:
	// Show removing post message
	fetch_object('qe_delete_' + vB_QuickEditor.postid).style.display = '';
	fetch_object('qe_image_' + vB_QuickEditor.postid).style.display = '';
	document.body.style.cursor = 'wait';
Find:

Code:
		// Hide sending post message and reset cursor
		document.body.style.cursor = 'auto';
		fetch_object('qe_posting_' + vB_QuickEditor.postid).style.display = 'none';
Replace with:

Code:
		// Hide sending post message and reset cursor
		document.body.style.cursor = 'auto';
		fetch_object('qe_posting_' + vB_QuickEditor.postid).style.display = 'none';
		fetch_object('qe_image_' + vB_QuickEditor.postid).style.display = 'none';
Open the postbit, and postbit_legacy templates.

Find:

HTML Code:
		<!-- Quick Edit messages -->
		<br />
		<div id="qe_posting_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[post_wait_loo]</strong></div>
		<div id="qe_delete_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[delete_wait_loo]</strong></div>
		<div id="qe_advanced_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[bigreply_wait_loo]</strong></div>
		<!-- Quick Edit messages -->
Replace with:

HTML Code:
		<!-- Quick Edit messages -->
		<br />
		<div id="qe_posting_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[post_wait_loo]</strong></div>
		<div id="qe_delete_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[delete_wait_loo]</strong></div>
		<div id="qe_advanced_$post[postid]" style="display:none; margin-top:6px" align="center"><strong>$vbphrase[bigreply_wait_loo]</strong></div>
		<br />
		<div id="qe_image_$post[postid]" style="display:none; margin-top:6px" align="center"><img src="$stylevar[imgdir_misc]/loading.gif" alt="Loading...." border="0" /></div>
		<!-- Quick Edit messages -->
Last but not least upload an image named 'loading.gif' to your misc image directory located at: /vbulletin/images/misc. Some styles may have other paths, so you'll need to upload the image for each style!

Also ctrl+f5 again to clear the cache.

ok brad did everything as instructed with mod installed and this info...somehow still don't work as shown in the pics is there something i have to do in admin cp to activate or modify to get to work?

thank you.

Edited: ok the edit post part (Go Advance) seem to work but the post and rempve seem to be not working
Reply With Quote
  #23  
Old 03-23-2006, 07:39 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one. Works like a charm!
Reply With Quote
  #24  
Old 04-12-2006, 06:29 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Floris
This should be default in 3.6
Excellent idea.
Reply With Quote
  #25  
Old 04-27-2006, 12:12 AM
lucky64's Avatar
lucky64 lucky64 is offline
 
Join Date: Nov 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool
Reply With Quote
  #26  
Old 04-27-2006, 01:08 AM
Desihunk Desihunk is offline
 
Join Date: Mar 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!

Clicked Install!
Reply With Quote
  #27  
Old 02-04-2007, 11:21 AM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice... clicked install!
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 10:54 PM.


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.04162 seconds
  • Memory Usage 2,282KB
  • Queries Executed 21 (?)
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
  • (8)bbcode_code
  • (2)bbcode_html
  • (2)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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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