![]() |
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! |
nice cool idea!
|
Awesome!
|
this mod is awesome! !
work for me in one of my sites: fansdeapple.com but not in other one: htcmania.com :( any idea? thanks!! |
Does not work in vb 3.85
UNINSTALLED... |
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!
|
works, thanks!!
|
This is really awesome! I added it right away to our forum and it works perfectly. Thank you very much for sharing. :)
|
Quote:
|
In your template.
|
Quote:
I've tried a couple of random places but still doesn't seem to work unfortunately. Thanks for your help. :) |
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. |
Works fine, thanks!!
|
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.
|
This only includes a single JS file and some css- so no, I don't think so.
|
So we can not use this, with FB like button?
|
Sure you can!
|
Awesome! Thank you.
|
but it is not working . here at my site.
will try to do something for this.. :) thanks for tha mod |
Thanks ;)
|
Thanks for porting this great add-on to vB3! Is there any way to customize the position (cursor offset) of the popup menu?
|
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) |
Quote:
Quote:
|
Thanks... nice mod... any way to get it to copy smilies and images though?
|
Still not working for me? I have the right hook, and I'm positive that I uploaded the files in the right places.
|
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:
|
You guys should check vitaly's thread for potential upgrades or improvements to the JS.
|
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? |
Quote:
|
Thanks working perfectly. :)
|
Quote:
|
Thanks.
|
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. |
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? |
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"> HTML Code:
<a class="bigusername">Username</a> |
Quote:
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. |
Yes, that's exactly what it was, an extra line-break in the HTML code. Working great now, thanks. :up:
|
Quote:
|
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? |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|