![]() |
Quick Edit Loading Text
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! :rolleyes:[/high] Installation instructions are in the .zip file, please click the install button and enjoy! :) |
Nice work, and nice idea. :)
|
nice work Brad lol im sure some one will now try to change the text to images....
also like the lil tip at the bottom Quote:
|
Quote:
Exactly! Like this: https://vborg.vbsupport.ru/showthread.php?t=110758 I know I'll be attempting that... :D Thanks, Brad! |
Exactly! Like that lol....
|
Just to followup, the "loading" graphic works great here too.
(All credit for this idea goes to Allan, who shared it in this thread BTW.) First upload an appropriate image to misc/images... one like this: https://vborg.vbsupport.ru/ (... there are others I posted in Allan's thread linked above, or you can find many appropriate ones via Google. Search for things like "loading.gif" or "progress.gif" or "progressbar.gif.") Then for the template edit, add in this instead: Code:
<!-- Quick Edit messages --> |
Quote:
this is more in coding in files than what allan has produced in phrases which on my board some how couldn't get it to work...i'll try this one.... |
Quote:
Allan's code mod worked great for me, added the loading graphic to Quick Reply. Brad's code mod works great, added the loading text to Quick Edit, Quick Delete, and Go Advanced. I just used what I learned from Allan, to add loading graphic to the text that Brad added to Quick Edit, Quick Delete, and Go Advanced. Make sense? |
you could basiclly do the same with $vbphrase[delete_wait_loo] or any of the others and just use the phrase as a gif instead with a alt=""
|
Quote:
|
Quote:
|
Quote:
As mentioned above though I merely merged your good idea with Allan's good idea ... happy to help and share the good ideas! :cool: |
Quote:
After installing the modification open vbulletin_quick_edit.js Find: Code:
// Show going advanced message Code:
// Show going advanced message Code:
// Show saving post message Code:
// Show saving post message Code:
// Show removing post message Code:
// Show removing post message Code:
// Hide sending post message and reset cursor Code:
// Hide sending post message and reset cursor Find: HTML Code:
<!-- Quick Edit messages --> HTML Code:
<!-- Quick Edit messages --> Also ctrl+f5 again to clear the cache. |
This should be default in 3.6 :)
|
Quote:
I've changed over to your modification, it all looks great. Thanks. (Now I'd love different "loading" graphics for Quick Reply as well. Allan did his with phrases though... so it doesn't seem possible.) |
Nice Brad ;)
@Tralala: Modify phrases to template of Brad: - $vbphrase[post_wait_loo] - $vbphrase[delete_wait_loo] - $vbphrase[bigreply_wait_loo] Change it with my modifications and work ;) |
Quote:
|
:) Nice....why not use advancely when surely gonna have it in 3.5.6 ;)
|
Quote:
thank you sir, will try it when i get home and let you know the outcome |
<a href="http://www.vbulletin.com/forum/showthread.php?t=176614" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=176614</a> <-- that was the request.
Thanks for this Brad! Thanks, Mat |
Quote:
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 |
Nice one. Works like a charm! :)
|
Quote:
|
Very cool :)
|
Works great!
Clicked Install! :D |
Nice... clicked install!
|
All times are GMT. The time now is 05:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|