vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Nick & Quote in QR (https://vborg.vbsupport.ru/showthread.php?t=99100)

akanevsky 10-22-2005 10:00 PM

Quick Nick & Quote in QR
 
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*=============================================*\
|| Quick Nick & Quote in QR
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 05, 2009
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*=============================================*/

DESCRIPTION

This product gives you an opportunity to quickly insert a post owner's nickname or a quote of some on-screen selection into your quick reply. Works properly in Opera, Internet Explorer and Mozilla, both in WYSIWYG and regular editor, and under Windows 9x, ME and XP platforms.

STATISTICS

File Uploads: 1
File Changes: 1
Products to Install: 1


FEATURES
[list][*]Insert Name Link in Posts (in Dropdown)[*]Insert Quote of Selection Button in Posts (next to the Quote Button)[*]Auto-Detection of Quote Format (between 3.5.x & 3.8.x)[*]

VERSION HISTORY

1.1.0
[+] Eliminated template edits.
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Added support for the new quote format first introduced in vBulletin 3.6.x.

1.0.2
[F] Fixed the empty-textarea-newline bug.

1.0.1
[F] Added compatibility with older browsers and platforms.
[+] One less file edit (but one more template edit ;)

1.0.0
First Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

nexialys 10-23-2005 03:34 PM

i'm soooo quick, the attachment is not even there yet.. lol

good thing, i was hoping someone make this because i'm a crap of coders...

akanevsky 10-23-2005 03:41 PM

Quote:

i'm soooo quick, the attachment is not even there yet.. lol
lol ;)
I did this back on 3.0.6, never released here for some reason. Now I finally did tho :)

Neutral Singh 10-24-2005 10:47 AM

Very Sweet! i used to love this hack in phpbb boards but for that dreaded file-edit. Is there no wayaround to make it code-edit free ? Thanks

luck777jojo 11-03-2005 03:41 AM

running 3.5, hack doesn't seem to be working.

akanevsky 11-03-2005 08:02 PM

Quote:

running 3.5, hack doesn't seem to be working.
Define "doesn't seem to be working".
And make sure Javascript is enabled in your browser.

luck777jojo 11-04-2005 01:00 AM

javascript is enabled.... the problem is posts don't get quoted in QR, just gives me a blank QR box and when posting the message no quotes show up either.

Mastar 11-04-2005 01:28 AM

When I click the 'q-Quote' button nothing happens, nothing changes.

Virtuosofriend 11-04-2005 09:35 AM

Quote:

Originally Posted by luck777jojo
javascript is enabled.... the problem is posts don't get quoted in QR, just gives me a blank QR box and when posting the message no quotes show up either.

same here tested in 2 boards one of them had a fresh install of vb.

akanevsky 11-04-2005 09:25 PM

Hmm... I really can't verify the problem, but I do get users on my board complaining about this. I'll see what I can do.

akanevsky 11-08-2005 11:53 AM

Update:
1.0.1
[F] Added compatibility with older browsers and platforms.
[+] One less file edit (but one more template edit ;)

(method KISS was utilized instead of the fancy one in version 1.0.0 ;)

TO UPGRADE:
Uninstall the previous version completely.
Install this one.
Enjoy the effects :)

D.Ilyin 11-09-2005 02:14 PM

Dark Visor there is two sugestions for this hack: (а можно по-русски? :) )
1. when setting's for posting with QR are set to "click the button "Quik reply" for activate this option" you hack do nothing :(. Will be greate to do the same and install the text.
2. when puch nick or quick quote they placed on second line, not first.

Thank's :).

akanevsky 11-09-2005 05:42 PM

1. Хак не может работать, если QR не активен. Как только он активизируется, кнопки начинают работать. Должны по крайней мере.
2. Ничего не могу с этим поделать - vB вставляет "начальную строчку" при загрузке окна. Зачем - непонятно, но как бы то ни было :)

D.Ilyin 11-10-2005 05:07 AM

А нельзя, как нибудь связать те же действия что забиты за кнопкой https://vborg.vbsupport.ru/external/2005/11/2.gif и добавить те что выполняются вашим хаком? Сори в JS не очень соображаю :(.
Насколько я понял на ИМХО стоит ваш хак но он отрабатывает первую строчку нормально.

akanevsky 11-10-2005 06:06 PM

На ИМХО стоит не мой хак. Тот, что стоит на ИМХО, не использует vBulletin API. Но тем не менее, я попробую убрать проблему со строчкой.

akanevsky 11-10-2005 07:36 PM

Update 1.0.2:
Fixed a minor (cosmetical) empty-textarea-newline bug.
Наздоровье :)

InfidelMatt 11-15-2005 07:13 PM

Question: Does this allow you to quote multiple posts? As in, if I go and hit 'quick edit' on three different posts, will they all show up in my quick reply box?

Thanks,

Matt

akanevsky 11-15-2005 07:30 PM

Quote:

Question: Does this allow you to quote multiple posts?
Yes.

D.Ilyin 12-07-2005 01:41 PM

Nick with \ (for example /\B/\) inserts like /B/

[UPDATED]
And .... I have a favour to ask of you.......
just found this vB3.5 Extensions......
Can you tell where i must place this code:
Quote:

<phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase> <if condition="$show['backlink']"><a href="$GLOBALS[backlinkurl]"><img border="0" src="$stylevar[imgdir_misc]/backlink.gif" class="inlineimg" alt="$vbphrase[view_original]" /></a></if>
in your "code modification"?
What for? Then the QQuote instert code with backlink.

Thanks in advance.

da420 12-10-2005 10:31 PM

Looks like a good usefull hack.

Quick Question. Anyone got this working flawless on 3.5.1 ?

Thank You.

akanevsky 12-10-2005 11:15 PM

It is working on 3.5.1.

da420 12-11-2005 04:12 PM

Alright I did the file, and template edits per manual's instructions. I uploaded the gif file to the image/buttons directory. And, this is what I get after it's all said and done. It's only the text, and nothing happens at all when you click the button. Doesn't bring you down to the quote, nor does it put the quote in the QR box.

akanevsky 12-11-2005 04:15 PM

It doesn't look like my hack at all...

da420 12-11-2005 05:30 PM

How so ? It is. I followed the directions included in the zip file in this thread. The quick nick works fine, but the quick quote does not show the image I uploaded to the buttons folder, and even when you click on the text it does not add the Quote in the Quick Reply box.

akanevsky 12-11-2005 05:58 PM

>> How So
Cause my hack does not display "Quote the Selection" text..

da420 12-11-2005 06:10 PM

Yes. But I followed your directions included in the zip to a T. I even started from scratch and tryed again and it's still doing the exact same thing. I uploaded my gif to the images/buttons folder, made the file edit in vbulletin_textedit.js, made the 2 template edits in postbit, and postbit_legacy, and made the edit in SHOWTHREAD, and installed the product.

The code that made that text, was what was in your instalation instructions...

akanevsky 12-11-2005 06:34 PM

Well, it works for everyone else.

da420 12-11-2005 06:36 PM

Oh, Ok... I see how it is...

akanevsky 12-11-2005 06:48 PM

Well, I cannot help you unless I can reproduce a problem. If you want, show me your board in a "not working" condition...

da420 12-11-2005 08:27 PM

eh... i just followed what was in your zip file... i had to replace the button with one that matched my style... but i didnt think that would matter... here, i will link you to my template that the problem is happening on... Thank you...

http://mindifidoaj.com/index.php?styleid=4

akanevsky 12-11-2005 09:17 PM

But I have to register there to see the button...

da420 12-11-2005 09:26 PM

ill send you a test account login via pm... thanks...

onkel.joi 01-04-2006 02:09 PM

Is it possible instead of botton to have a text for quick quote?

Jayphen 03-23-2006 08:46 PM

Is there any way to have this work with "who quoted me" ?

Stifler 04-04-2006 03:59 AM

Quote:

Originally Posted by Psionic Vision
>> How So
Cause my hack does not display "Quote the Selection" text..

thats the 'alt text' for it and is displayed if the image is not, in firefox.
i'm still getting 2 blank lines added in there.

akanevsky 04-07-2006 10:50 PM

Quote:

Is it possible instead of botton to have a text for quick quote?
Yes, feel free to modify the template as you wish.

Quote:

Is there any way to have this work with "who quoted me" ?
Not without an extra modification.

Ig@r 04-11-2006 04:18 PM

Can you modify script, so nick will be inserted when user click this button ??? https://vborg.vbsupport.ru/

akanevsky 04-11-2006 04:44 PM

Quote:

Originally Posted by Ig@r
Can you modify script, so nick will be inserted when user click this button ??? https://vborg.vbsupport.ru/images/sm...quickreply.gif

You just click "Quote message in reply"...

Ig@r 04-13-2006 06:40 PM

I dont need whole quote, just username, and want it appear in the box before user press "post reply"

akanevsky 04-13-2006 06:55 PM

Then you might want to replace the code on that button with the code for the "Insert Nick" button.


All times are GMT. The time now is 02: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.01309 seconds
  • Memory Usage 1,820KB
  • 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
  • (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