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
  #32  
Old 03-02-2011, 12:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Joe, any luck with this?
No, never made head or tails of the new javascript, just kept the original that came with the 3.x version.
Reply With Quote
  #33  
Old 03-02-2011, 12:34 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #34  
Old 03-23-2011, 06:04 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've now updated this mod to version 1.1.

New features include reduction of the size of the JS (by 6kb) and support for quoting social group messages.

Note that in order for the quoting to work correctly within social groups, you need to be using this template: https://vborg.vbsupport.ru/showthrea...hlight=postbit, as the JS checks for the presence of an <a class="bigusername"> element to retrieve the userids. If you aren't using the template, the quoting will still work, but it won't reference usernames.
Reply With Quote
  #35  
Old 03-23-2011, 08:27 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update installed and working. Thanks. :up:

FYI - Still seeing the bug I mentioned in post # 26, in Opera / Firefox there is an extra line-break in the quote code. Anyone else confirm this or is it just me?
Reply With Quote
  #36  
Old 03-24-2011, 12:23 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't reproduce it, but I do have an idea of what might be causing it. Can I get a link to the site you're experiencing the issue on? It's likely because there's an extra line break in one of your postbit templates.

A potential fix would be to either edit the template, or to call a trim function on the username variable inside the JS.

HTML Code:
<a class="bigusername">
Username
</a>
Change to:

HTML Code:
<a class="bigusername">Username</a>
Reply With Quote
  #37  
Old 03-24-2011, 12:38 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
I can't reproduce it, but I do have an idea of what might be causing it. Can I get a link to the site you're experiencing the issue on? It's likely because there's an extra line break in one of your postbit templates.

A potential fix would be to either edit the template, or to call a trim function on the username variable inside the JS.

HTML Code:
<a class="bigusername">
Username
</a>
Change to:

HTML Code:
<a class="bigusername">Username</a>
That's very possible... will check it out...

The site is my forum. www.juot.net/forums/ but you'd have to register to try it. I'll check out the postbit now and report back. I did a lot of editing in it.
Reply With Quote
  #38  
Old 03-24-2011, 12:47 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that's exactly what it was, an extra line-break in the HTML code. Working great now, thanks. :up:
Reply With Quote
  #39  
Old 03-24-2011, 06:20 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
I've now updated this mod to version 1.1.

New features include reduction of the size of the JS (by 6kb) and support for quoting social group messages.
Thank You.
Reply With Quote
  #40  
Old 03-24-2011, 08:03 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A bug I've just picked up after installing the updated version. It prevents this hack from displaying at the bottom of threads. https://vborg.vbsupport.ru/showthread.php?t=197487

Any idea on how to fix it?
Reply With Quote
  #41  
Old 03-25-2011, 04:16 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In showthread_complete, change

$template_hook[\'showthread_after_activeusers\'] = "

to

$template_hook[\'showthread_after_activeusers\'] .= "
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:33 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.09724 seconds
  • Memory Usage 2,348KB
  • 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
  • (4)bbcode_html
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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