vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   MultiQuote (https://vborg.vbsupport.ru/showthread.php?t=59702)

Chroder 10-01-2004 02:23 AM

Just letting everyone know, I'm making a total new one that's a little better. Works the same, but more sleek on the underside.

Also checks for user permissions (to ensure they aren't getting a post out of a staff forum, for example, by just plugging random post ids into the cookie).

I'll post it one of these days once I get around to debugging it.

MickDoneDee 10-02-2004 06:52 AM

If I wanted to use checkboxes instead of the graphics I would insert this code in the postbit template:
Code:

<input type="checkbox" name="multiquote[]" style="border:2px;border-style:outset" title="Multi Quote" />
instead of:
Code:

<img src="$stylevar[imgdir_button]/mq_img_off.gif" alt="$vbphrase[multi_quote]" border="0" width="21" height="15" name="mq_post_$post[postid]" id="mq_post_$post[postid]" onclick="multiquote($post[postid], this)" style="cursor: hand" />
but what changes do I need to make to the mq_script template?

MickDoneDee 10-02-2004 12:31 PM

*install* on vB3.0.3 without problems. Earlier versions didn't seem to use cookies. Why are cookies used with this version?

Chroder 10-02-2004 02:52 PM

You need cookies, or the selected posts to be quoted would be lost when you left one page for another, meaning no cross-thread or cross-forum (or even cross-page) mutli-quoting.

To change the images to checkboxes, the easiest would just be what VAN suggested. But you could just attach an onclick to the checkbox and alter the Javascript to test for checked state instead of image src.

Chroder 10-02-2004 07:17 PM

If anyone wants to try out the newest one, here it is. I've tested it and it works fine, but it'll be nice if anyone else wants to try it and confirm. This one was created from the ground-up using vB3.0.3.

theArchitect 10-04-2004 02:38 AM

Quote:

Originally Posted by Chroder
If anyone wants to try out the newest one, here it is. I've tested it and it works fine, but it'll be nice if anyone else wants to try it and confirm. This one was created from the ground-up using vB3.0.3.

I must be missing something. Where do I find the multiquote.js file.

It wasn't in multiquote.zip. And it wasn't in the first attachment either.

Chroder 10-04-2004 07:55 PM

LoL

Good point! Updated the archive in post #76.

theArchitect 10-04-2004 10:41 PM

Sensational
mod. Certainly one of my favourites.

*theArchitect clicks install*.

MickDoneDee 10-05-2004 07:17 AM

I have the original installed. Is it worth switching across to the new version? I have 3.0.3.

Lionel 10-07-2004 01:23 AM

I changed the conditional in postbit to <if condition="$post['replylink'] && THIS_SCRIPT == 'showthread'">
because it was also displaying the hack image in PM . I was getting a javascript error in private message (you cannot really do multiquote in there anyway)


All times are GMT. The time now is 12:02 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.01976 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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