vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Quick Quote (https://vborg.vbsupport.ru/showthread.php?t=158614)

ragtek 09-23-2007 10:00 PM

Quick Quote
 
This Add-On adds an "insert selected text" link into your editor, with witch you can insert it :)

Screenshot is in german, the part is: "markierten text einf?gen", when you select something in a post and click on it, it will be included in the textarea.


Updates/Changelog:
29.09.2007 Version 1.1:
  • WYSIWYG editor is now supported
  • Versioncheck url is now existing ;)
07.10.2007 Version 1.2:
  • username and postid are also now taken(that means if you quote the text it will now be quoted as by the normal vb function
13.10.2007 Version 1.3:
  • names are now "right" using username instead of musername
  • works now also if the "quick reply box"no "direct answer" now needed also available in the other mode
14.10.2007 Version 1.3.1:
  • now using phrases
  • one little bugfix
i replaced by me the quick quote button with this function=> http://www.ragtek.org/tutorials/quickquote.htm
If you wanna support me/my add-ons pls press the donate button :) 70 cent's are 70 cents and better then nothing :)

PoetJA-1975 09-24-2007 08:07 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=149441" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=149441</a>

skrazydogz 09-24-2007 09:08 AM

Wenns damit noch Probleme gibt warum wird es dann veröffentlicht ? Oder sollen wir Betatester spielen? Hauptsache mit Bugs glänzen oder?

ragtek 09-24-2007 09:32 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1345790)

thx haven't seen this befor.
Looks better than my, because of the onmouse event*g*

ragtek 09-24-2007 09:33 AM

Quote:

Originally Posted by skrazydogz (Post 1345818)
Wenns damit noch Probleme gibt warum wird es dann ver?ffentlicht ? Oder sollen wir Betatester spielen? Hauptsache mit Bugs gl?nzen oder?

learn english ;)

and who sais that it doesn't work?

Snake 09-24-2007 11:41 AM

Thanks!

PoetJA-1975 09-24-2007 10:06 PM

Quote:

Originally Posted by ragtek (Post 1345838)
thx haven't seen this befor.
Looks better than my, because of the onmouse event*g*

Thing is that neither works with the WYSIWYG editor

Your modification would be AWESOME = But I think most Forum Admins have the WYSIWYG editor set as default for Members....

Anyway - I wonder how difficult (or easy :P ) it will be to have the mod work for the WYSIWYG editor?

At anyrate - Thanx for the sharing ;)

Jacquii.

ragtek 09-25-2007 05:01 AM

i'm looking for a solution :)
but until now i havent found anything

PoetJA-1975 09-25-2007 09:41 PM

hmmmm - Well I wish ya luck LOL - And will be subscribing to this thread, as it really is a nice modification - just have to get it to work with the WYSIWYG editor ;)

Jacquii.

ragtek 09-26-2007 06:15 AM

I have found a way, that seems to work.
I'll try to implement it in the next week, because at moment i have no time for this.

PoetJA-1975 09-26-2007 09:29 AM

AWESOME - I'll be looking forward to it!
Thanx,

Jacquii.

ragtek 09-29-2007 08:35 AM

phu
after many many hours coding and trying in the morning i can present you version 1.1

PoetJA-1975 09-29-2007 09:25 AM

Oh My! Exciting stuff! will give it a go a little later after getting over a treacherous hangover :/

Thanx for the share DUDE ;)

Jacquii.

ragtek 09-29-2007 09:29 AM

no prob :)

FleXy 09-30-2007 12:37 PM

unfortunately, this mod does not mark username in quote (who post quoted text).

ragtek 09-30-2007 12:46 PM

no it doesn't
i didn't need this feature

FleXy 09-30-2007 04:20 PM

sounds bad, because RedTyger can, but thay can not work with "WYSIWYG editor"
how users will know who wrote quoted text... and for who message was pointed.
need option to choose need username in quote or not...

thanks for so quick answer.

2all: any ideas how to edit javascript or templates to add feature "who wrote quoted text"? I mean merge this mod features and RedTyger mod features.

ragtek 09-30-2007 04:52 PM

i don't want to make it with the onmouseup method, because this can make sometimes trouble in my eyes
i like my method with the link more

and here i cant get the username
sorry

but you are welcome to make this

https://vborg.vbsupport.ru/showpost....7&postcount=17

FleXy 09-30-2007 06:51 PM

sorry, how can i define postUsername at quote_ragtek.js ?
will this work?

Quote:

vB_Editor[QR_EditorID].insert_text("[quote' + postUsername + ']"+ str +"[ / quote]", false);
I think this possibility need to add like an option in 1.2 version of this mod (method choose in administrator options menu)

ragtek 09-30-2007 07:09 PM

no
i mean: change the code in the other add-on
not mine

there stands: fetch_object('vB_Editor_QR_textarea').value += newlines + '
Quote:

Originally Posted by + postUsername + ';' + postPostid +
' + newQuickQuote + '

';
and instead of .value + i use the vbullet method

PoetJA-1975 10-01-2007 12:40 AM

Oh WOW! This is a fabulous fabulous modification RAGTEK
The thing is - I like to have the "quoted by..." text as well...
So a small donation ($10 maybe more) if you can make version 1.2 to included the quoted by text!

At anyrate - a lovely share - Thanx so much ;)

Jacquii.

PoetJA-1975 10-01-2007 02:01 AM

So I edited the showthread_quickreply edit just a little bit to include a clickable image instead of the text...

Looks like:
http://img237.imageshack.us/img237/1825/43296751ct3.gif

showthread_quickreply
Code:

<a href="javascript:sel('$editorid')"><IMG SRC="....../quotedtext-button.gif" title="Add Selected Text To Post As Quoted" width="230" height="22" border="0"></a><br />
I included a "default" black & white image if anyone wants it...
I'll be happy to make default colors of your board - Let me know via PM if interested.
ALSO - just realized this modification works with the PM System as well = Very nice!

Jacquii.

ragtek 10-01-2007 07:51 AM

yes, the part with the img i also want to make, but with an small image*g*

i have to look how i can make the part with the username without an onmouseover event

PoetJA-1975 10-01-2007 11:48 AM

LOL - Ok RAGTEK - thanx!
But of course I'm a bit of a size queen so LARGE image :P

Jacquii.

FleXy 10-03-2007 05:53 PM

Quote:

Originally Posted by ragtek (Post 1350663)
i have to look how i can make the part with the username without an onmouseover event

this will be nice
many thanks

ragtek 10-07-2007 10:57 AM

*update*

FleXy 10-07-2007 06:58 PM

THANK YOU!
great news, now will test !

PoetJA-1975 10-07-2007 10:37 PM

http://img222.imageshack.us/img222/9143/94926637ym2.gif

I couldn't find the $template_hook[postbit_controls] in either of my postbit templates - so I added in another place:

HTML Code:

<a href="javascript:sel('$post[postid]','$post[musername]')">Markierten Text einf?gen</a>
The image below is the result and it doesn't work at all :(
Help please!

ALSO thanx for working on the modification - I'll be sending a donation soon!

Jacquii.

FleXy 10-07-2007 11:26 PM

does not work for me at vb 3.6.8 after reinstall plugin and upload javascript.

i receive: [ qxxuote =undefined;vB_Editor_QR ]text

Caligatio 10-10-2007 01:36 PM

I suggest changing '$post[musername]' to simply '$post[username]' as musername also includes the bold and italic tags, making the quote dysfunction.

Other than that, works wonderfully on 3.6.4! Even though there is no template hook in postbit, adding it simply made no difference! :)

And of course, let us not forget the required worshiping *worships*. I had been dreaming of finding something exactly like this for a while now (and I am a WYSIWYG lover)! :D

Illustrious 10-12-2007 10:40 PM

Yes, please do implement the fix for the no-markup username.

Illustrious 10-13-2007 04:31 AM

Also, I seem to notice that it doesn't add in line breaks for WYSIWYG. It also fails to add in any relevant BBCode for the quoted text either.

PoetJA-1975 10-13-2007 08:13 AM

Hey RAGTEK - I fixed the issue by simply adding the template hook text!
So it works perfectly now - I really appreciate you taking the time to make the modification compatible with WYSIWYG editor AND so that it quotes the name!

I just made a small donation - Another donation if you can fix the above issue...

Thanx,

Jacquii.

ragtek 10-13-2007 08:17 AM

hi
sorry for long nothing hearing of me
now i see what i make wrong with musername
i don't use this "future" in my board(all heve the same "syntax" so i havent seen that

will fix it soon
thx 4 reporting

ragtek 10-13-2007 08:31 AM

Quote:

Originally Posted by Illustrious (Post 1358752)
Also, I seem to notice that it doesn't add in line breaks for WYSIWYG. It also fails to add in any relevant BBCode for the quoted text either.

hi
linebreaks: i don't wanted them, but could implement it if liked or post how it could be enabled

bbcode: yes, thats true, thats not working and it can't work with my method

ldwebtech 10-13-2007 06:57 PM

As the same way i need quick refresh button. it just refreshes the posts only not the full site page. Can u try to code for me plz . I need it badly.

Regards
ldwebtech

ragtek 10-13-2007 08:32 PM

Quote:

Originally Posted by ldwebtech (Post 1359162)
As the same way i need quick refresh button. it just refreshes the posts only not the full site page. Can u try to code for me plz . I need it badly.


Regards
ldwebtech

what do you mean with this?
sorry i don't undertand your request

ldwebtech 10-14-2007 09:31 AM

Quote:

Originally Posted by ragtek (Post 1359225)
what do you mean with this?
sorry i don't undertand your request

Check this screenshot u will get an idea

http://imagehost.torrentsgalaxy.com/...jyzgnmzkyl.jpg

If i click quick refresh button it refreshes the posts only.not the full page.

Ex : i repled to this thread now. With out rerfresh the page u just click quick refrsh button to view new replies.If u do it for me i will be very thanq full to u .

Thanks in advance .

Caligatio 10-14-2007 11:27 AM

Hm, I find that very rude, but *shrugs*.

Just wanted to point out that not only does it not include the BBcode as mentioned before, it doesn't include smilies either. And even though you updated, the posbit_legacy still doesn't have that template_hook (frankly it would be quite odd for a template to have a hook, but maybe 3.6.8 is odd like that).

And also, it would be best if you made the instructions and the text for clicking to get quoted in quick reply in English, or at least offer the same thing in English for those who are not so familiar with modifications and how they work, or German.

ragtek 10-14-2007 11:32 AM

ups f**k sorry,
it seems that i have uploaded the german version

ok with the hooks you have right
that's why i wrote
Quote:

add in postbit/postbit_legacy template....where you like
and because of bbcode & smilies: i wrote in post nr 35 that that can't work with my method, sorry


All times are GMT. The time now is 04:57 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.01288 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (10)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