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

Reply
 
Thread Tools
iQuote vB3 - Fast & Easy Text Quoting Details »»
iQuote vB3 - Fast & Easy Text Quoting
Version: 1.10, by MoMan MoMan is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 09-13-2010 Last Update: 03-24-2011 Installs: 46
Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

New version (1.1) released 3/23/2011: added support for social groups.

This is a vBulletin 3 implementation of the following mod: https://vborg.vbsupport.ru/showthread.php?t=248504

It allows users to quickly quote selected parts of a post inline. Simply highlight some text, and the quote option will appear. As of v1.1, social groups are also supported, but the quoting will only work properly if you have this template mod installed.

On my board, this is one of my users' favorite features!

Note: this requires quick reply to be on and your showthread template must have the $template_hook['showthread_after_activeusers'] hook! To check if the mod is working, view the page of any showthread page and search for 'iquote'. If there are no matches, then the template hook isn't there.

Installation instructions are provided in the zip. Enjoy!

Download Now

File Type: zip iQuote_vB3.zip (34.1 KB, 237 views)
File Type: zip iQuote_vB3_v11.zip (33.0 KB, 192 views)

Screenshots

File Type: gif qq.gif (4.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
karabaja3, magic77, vijayninel, xorex

Comments
  #42  
Old 03-25-2011, 04:34 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by webuser00 View Post
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';
Reply With Quote
  #43  
Old 03-25-2011, 06:18 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
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') . '";');
}
Reply With Quote
  #44  
Old 03-25-2011, 11:29 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I was referring to that plugin. You can also re-download the product file, as I've made the update in it.
Reply With Quote
  #45  
Old 03-26-2011, 06:44 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks MoMan, appreciate it, working fine now.
Reply With Quote
  #46  
Old 07-18-2011, 08:45 AM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
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
Reply With Quote
  #47  
Old 07-26-2011, 10:25 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
},
Reply With Quote
  #48  
Old 08-09-2011, 09:08 AM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #49  
Old 08-09-2011, 12:07 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rcd_iquote.js

Note that you should download v1.0 not 1.1, as 1.1 has minified JS.
Reply With Quote
Благодарность от:
imedic
  #50  
Old 08-13-2011, 06:54 PM
elzarie elzarie is offline
 
Join Date: Sep 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Real Great , but can't get it to work although checked it that the hook is there
Reply With Quote
  #51  
Old 08-15-2011, 09:34 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this implementation ; it works great. I've just changed the appearance of the popup menu to make it minimalist. Thank you !
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:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05652 seconds
  • Memory Usage 2,352KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete