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 09-13-2010 10:00 PM

iQuote vB3 - Fast & Easy Text Quoting
 
1 Attachment(s)
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!

Kolektor 09-14-2010 08:32 AM

nice cool idea!

Wonksta 09-14-2010 10:29 AM

Awesome!

jorge_kai 09-14-2010 11:12 AM

this mod is awesome! !

work for me in one of my sites: fansdeapple.com

but not in other one: htcmania.com :(

any idea?

thanks!!

bada_bing 09-14-2010 01:23 PM

Does not work in vb 3.85

UNINSTALLED...

MoMan 09-14-2010 04:17 PM

If it doesn't work for you, your showthread template is likely missing the $template_hook[showthread_after_activeusers] hook. Read the readme before complaining!

jorge_kai 09-14-2010 04:38 PM

works, thanks!!

drsli 09-14-2010 05:14 PM

This is really awesome! I added it right away to our forum and it works perfectly. Thank you very much for sharing. :)

FrankieGersnet 09-15-2010 08:45 AM

Quote:

Originally Posted by MoMan (Post 2098177)
If it doesn't work for you, your showthread template is likely missing the $template_hook[showthread_after_activeusers] hook. Read the readme before complaining!

Where does one enter this as I can't get this interesting mod to work either? :(

MoMan 09-15-2010 12:00 PM

In your template.

FrankieGersnet 09-15-2010 12:31 PM

Quote:

Originally Posted by MoMan (Post 2098572)
In your template.

Sorry - far from an expert, so where about in my template? I assume in the 'showthread' part of my style manager but where about?

I've tried a couple of random places but still doesn't seem to work unfortunately.

Thanks for your help.

:)

MoMan 09-15-2010 01:06 PM

Open up your style manager, then select and open your showthread template. Click on the "view original" link and do a control-f for the above code- that'll tell you where to look in your version.

Note: if your showthread template is currently NOT customized, then you likely uploaded the files to the wrong place. All the instructions are in the readme file attached in the zip.

Arcade Fire 09-15-2010 04:20 PM

Works fine, thanks!!

slobra 09-15-2010 09:25 PM

Installed and voted 5, nice mod. :) Has anyone complained about security token errors after installing this? I'm using 3.8.2. Maybe just a coincidence, but after install even though several users tested successfully I did have a user complain about a security token error when trying to upload images to an unrelated new post. I don't see any value="$session[sessionhash]" code in any of the templates from this mod so I doubt it's related, but thought I'd ask. Haven't installed any other mods.

MoMan 09-16-2010 01:53 AM

This only includes a single JS file and some css- so no, I don't think so.

NAZIA 09-19-2010 12:49 AM

So we can not use this, with FB like button?

MoMan 09-20-2010 02:47 PM

Sure you can!

Thelonius Beck 09-20-2010 08:14 PM

Awesome! Thank you.

NAZIA 09-24-2010 09:16 AM

but it is not working . here at my site.
will try to do something for this.. :)
thanks for tha mod

Mike08 09-24-2010 11:43 AM

Thanks ;)

D102 09-28-2010 01:59 PM

Thanks for porting this great add-on to vB3! Is there any way to customize the position (cursor offset) of the popup menu?

webuser00 10-01-2010 09:38 PM

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)

MoMan 10-19-2010 07:10 AM

Quote:

Originally Posted by D102 (Post 2104232)
Thanks for porting this great add-on to vB3! Is there any way to customize the position (cursor offset) of the popup menu?

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)

Both of these things sound like they'd be very easy to do with some simple JS. You should ask Vitaly for help on that!

BirdOPrey5 10-20-2010 02:06 AM

Thanks... nice mod... any way to get it to copy smilies and images though?

WebkinzCoast 10-21-2010 06:15 PM

Still not working for me? I have the right hook, and I'm positive that I uploaded the files in the right places.

BirdOPrey5 10-23-2010 04:57 PM

There's a bug in Opera... It inserts a line-break after the "=" in-between the username and the post id number when quoting part of a post, so you get something like:

[quote=
soyl;891627]Not the latest, I know, but I'm on a slow connection and I always reject its attempts to update.[/quote]


or, when rendered:

Quote:

Originally Posted by
soyl;891627
Not the latest, I know, but I'm on a slow connection and I always reject its attempts to update.

Edit: also happening in firefox... OK in Chrome.

MoMan 10-25-2010 10:00 PM

You guys should check vitaly's thread for potential upgrades or improvements to the JS.

BirdOPrey5 10-25-2010 11:11 PM

I looked in the original thread and he has a link to his website with the vb4 version:
http://github.com/rcdesign/vb-iquote

The VB4 version has a single javascript file to upload, a lot smaller than the 3 in this version... do you know if the vb4 javascript file will work on this version?

viper357 03-02-2011 05:06 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2114184)
I looked in the original thread and he has a link to his website with the vb4 version:
http://github.com/rcdesign/vb-iquote

The VB4 version has a single javascript file to upload, a lot smaller than the 3 in this version... do you know if the vb4 javascript file will work on this version?

Joe, any luck with this?

vijayninel 03-02-2011 08:07 AM

Thanks working perfectly. :)

BirdOPrey5 03-02-2011 12:28 PM

Quote:

Originally Posted by viper357 (Post 2168584)
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.

viper357 03-02-2011 12:34 PM

Thanks.

MoMan 03-23-2011 06:04 PM

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.

BirdOPrey5 03-23-2011 08:27 PM

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?

MoMan 03-24-2011 12:23 AM

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>

BirdOPrey5 03-24-2011 12:38 AM

Quote:

Originally Posted by MoMan (Post 2176801)
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.

BirdOPrey5 03-24-2011 12:47 AM

Yes, that's exactly what it was, an extra line-break in the HTML code. Working great now, thanks. :up:

viper357 03-24-2011 06:20 AM

Quote:

Originally Posted by MoMan (Post 2176651)
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. :)

viper357 03-24-2011 08:03 AM

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?

MoMan 03-25-2011 04:16 AM

In showthread_complete, change

$template_hook[\'showthread_after_activeusers\'] = "

to

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


All times are GMT. The time now is 06:05 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.02788 seconds
  • Memory Usage 1,818KB
  • 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
  • (4)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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