vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - iQuote vB3 - Fast & Easy Text Quoting (https://vborg.vbsupport.ru/showthread.php?t=250449)

MoMan 03-25-2011 04:34 AM

Quote:

Originally Posted by webuser00 (Post 2105713)
Is there any way to have it jump down to the quick-reply box once a user selects some text to quote?

(this would avoid having the user manually scroll down to the quick-reply portion to see the text)

An update on this:

While I won't be implementing this feature because users on my board almost always use it to multi-quote, this is very easy to add if you know some basic JS (which I've picked up since the original release of this mod ;)).

In the main event handler, right before the final return statement, simply add this line:

Code:

window.location.hash='qrform';

viper357 03-25-2011 06:18 AM

Quote:

Originally Posted by MoMan (Post 2177223)
In showthread_complete, change

$template_hook[\'showthread_after_activeusers\'] = "

to

$template_hook[\'showthread_after_activeusers\'] .= "

Just to clarify, I can't find that template, is that in the plugin Add js to showthread?
Code:

if ($vbulletin->userinfo['userid'] > 0)
{
    eval('$template_hook[\'showthread_after_activeusers\'] = "' . fetch_template('rcd_iquote_clientscript') . fetch_template('rcd_iquote_context_menu') . '";');
}


MoMan 03-25-2011 11:29 PM

Yes, I was referring to that plugin. You can also re-download the product file, as I've made the update in it.

viper357 03-26-2011 06:44 AM

Thanks MoMan, appreciate it, working fine now. :)

imedic 07-18-2011 08:45 AM

Quote:

Originally Posted by MoMan (Post 2177225)
An update on this:

While I won't be implementing this feature because users on my board almost always use it to multi-quote, this is very easy to add if you know some basic JS (which I've picked up since the original release of this mod ;)).

In the main event handler, right before the final return statement, simply add this line:

Code:

window.location.hash='qrform';

Finnaly I get this on 3.8 :) Iupii Installed and working like a charm. Unfortunately I am newbie in basic JS and cant find the place where to add the line you said.
It would be great to say it in the usual format:
In file :
Find: ....
After add: window.location.hash='qrform';
Suggestion:
You might solve all problems if this line is not coming in effect if you hold CTR (o other key) so you can multi quote (if you hold CTRL) and reposition the page to quick answer as it is obvious you want to reply to something you quoted :)
Or you can add another link in menu appearing, quick multiquote or single multiquote (obvious what each will do). I can run wild and wished for a quote this in a PM to user link too... I am using this mod (quote message in a PM to user that is very handy) ....

Many thanks for this as it is one of the handiest mods I have ever used on vb4 and did not have (yet) on 3.8
Voted, installed and best mark for you. :)
This interactivity with the content should be the new direction vb should go ...

PS Did I mention I love this mod :)

MoMan 07-26-2011 10:25 AM

You would probably want to replace this code:

Code:

        // scroll to saved position if possible
        if (false !== s)
        {
            window.scrollTo( s[0], s[1] );

            // Verify that page is scrolled, otherwise try again (make sense for IE & Opera only)
            window.setTimeout( function() {
                var s_now = iQuote.getScrollXY();
                if ( s_now[0] != s[0] || s_now[1] != s[1] )
                {
                    window.scrollTo( s[0], s[1] );
                }
            }, 10 );
        }

        return false;
    },

with:

Code:


        window.location.hash='qrform';
        return false;
},


imedic 08-09-2011 09:08 AM

Many thanks for your reply. Unfortunately I have not find the code to replace.
Can you please specify the file that needs to be edited. I have looked in all files from upload folder.
Sorry for coming so late but I was caught in many other projects.

MoMan 08-09-2011 12:07 PM

rcd_iquote.js

Note that you should download v1.0 not 1.1, as 1.1 has minified JS.

elzarie 08-13-2011 06:54 PM

Real Great , but can't get it to work although checked it that the hook is there :(

cclaerhout 08-15-2011 09:34 AM

Thank you for this implementation ; it works great. I've just changed the appearance of the popup menu to make it minimalist. Thank you !


All times are GMT. The time now is 03:30 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.01534 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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