vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Edit Loading Text (https://vborg.vbsupport.ru/showthread.php?t=111026)

puertoblack2003 03-22-2006 06:48 PM

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

Snake 03-23-2006 07:39 PM

Nice one. Works like a charm! :)

davidw 04-12-2006 06:29 PM

Quote:

Originally Posted by Floris
This should be default in 3.6 :)

Excellent idea.

lucky64 04-27-2006 12:12 AM

Very cool :)

Desihunk 04-27-2006 01:08 AM

Works great!

Clicked Install! :D

Chicago_VLNU_4s 02-04-2007 11:21 AM

Nice... clicked install!


All times are GMT. The time now is 03:23 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.01118 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete