vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [HowTo] Quote Multiple Posts At Once (https://vborg.vbsupport.ru/showthread.php?t=45135)

Floris 10-28-2002 10:00 PM

[HowTo] Quote Multiple Posts At Once
 
[HowTo] Quote Multiple Posts At Once

v1.0.1 [build for vBulletin 2.2.8 Final] last update: 29/10/2002

_____ Introduction:
This was originally my idea and FireFly has been so cool to help me out and code it. I have been wanting this for a damn long time on my forums, and finally it has been realized!

The beta release has been beta a long time and no bugs have been found. After 450+ downloads here is the final 1.0 version for vBulletin 2.2.8 and it works 100% on a clean install.

This code modification works on vBulletin 2.2.x for sure!

_____ What to expect:
The code/template modification allows your users to check a checkbox next to each post in a thread. And when clicked on the 'post reply'-button, takes them to newreply.php with all quotes from all checked messages in the textarea.
This saves you a lot of time if you want to reply to more then one post in a thread, without having to go back and forward and make several posts or copy/paste all the time and get confused.

_____ What will happen when:
If you check one quote [ ] checkbox or more, it will quote those posts.
If no quote: [ ] checkbox is checked, then the 'post reply'-button acts like a normal postreply, nothing is quoted.
And if you click on the quote button in a post, it will just quote that post (even if any of the checkboxs are checked).

_____ Support:
Sure, but it depends on my knowledge and my free time. No alternation to the code modification / postbit / otherwise will be provided. All support goes through his thread, so please do not PM or E-mail me about it, thank you.

_____ Screenshots:
For screenshots, I have put some in the .zip file.

_____ Installation:
You have to apply a few template changes and a file change in order to get this to work. Download the attachment from this post and follow the installation steps. In about 10 minutes your board is tweaked and ready for more coolness.

_____ Update:
I just uploaded version 1.0.1 which is the same version, no bug fixes, but with the little tweaks and addons from N9ne. For those who installed 1.0.0, just upgrade from the .txt file from N9ne (see few posts up this thread).

Enjoy!

N9ne 10-28-2002 10:45 PM

Thanks for releasing this!

N9ne 10-28-2002 10:55 PM

Umm how do I get rid of those ugly white boxes behind the add reply image?

N9ne 10-28-2002 11:21 PM

I have made a modification. Instead of using the template modifications in the instructions for showthread, you can try these ;)

These will get rid of the white box, keep the hand cursor on mouse over, make the add reply button at the top of showthread work too.

This has been tested on 2.2.8 and works flawlessly.

mewgood 10-28-2002 11:38 PM

this is a good hack
but this will not work if you are using the quick reply hack
possible to fix that?
anyone?

N9ne 10-28-2002 11:49 PM

mewgood: Can you be more specific? This hack works if you have quick reply installed, but you can't use quick reply if you want to quote the selected posts...

TECK 10-29-2002 02:27 AM

yes you can...

Larry@IOG 10-29-2002 03:16 AM

/me slaps install very easy about 3-5 min in 2.2.8

Thanks

Larry

ZiRu$ 10-29-2002 05:01 AM

WOW! I like this better than Fireflys cause it dosent add a new button. Thanks I'll install tomorrow!

mewgood 10-29-2002 05:41 AM

ya thats what I mean
I can't use quick reply if I want to quote the selected posts...possible to change it ?

mewgood 10-29-2002 05:44 AM

anothr porblem
why this happen?

Floris 10-29-2002 09:55 AM

Quote:

Originally posted by ZiRu$
WOW! I like this better than Fireflys cause it dosent add a new button. Thanks I'll install tomorrow!
I am glad that you like it. This is just the final and tweaked version from the one FireFly released, the source code in the .txt file didn't change (that much).

Quote:

Originally posted by mewgood
this is a good hack
but this will not work if you are using the quick reply hack
possible to fix that?
anyone?

As said in the first post, this works 100% on a clean installation of vBulletin 2.2.x - Therefor, if you have installed other hacks, then adjust the code and places to modify templates to match the installation hack, it will then probably work. Ofcourse, the quick reply hack is a hack to quickly reply to the topic, not to do multiple quotes with. So, no, it won't work with the QR-hack, but I bet the normal functionallity to the post reply button, even with the QR-hack installed, will work.

Quote:

Originally posted by mewgood
anothr porblem
why this happen?

I do not know, maybe because it is an input button with a graphic over it. (Otherwise we would have a third button: see the beta hack for that code) Maybe you can fix it by removing the class="bginput" from the <input ..> tags (there are two that apply to this hack).

Quote:

Originally posted by Larry@IOG
* Larry@IOG slaps install very easy about 3-5 min in 2.2.8


Thanks

Larry

Glad you guys like it.

N9ne 10-29-2002 11:23 AM

mewgood: Simple use the steps I posted, they fix it.

[however the ZIP has been updated, and the hack is now 1.0.1 :)].

No one can complain that this doesn't work, as I'm almost certain it works with 2.2.4+ and should work on 2.2.x...

Chris M 10-29-2002 11:39 AM

Very nice:)

Satan

Schorsch 10-29-2002 02:07 PM

Hi xiphoid,

thanks for your great work!

one question, how can I align the checkbox more to the right ?

http://www.fetter-esel.com/images/checkbox.jpg

regards,
Schorsch

N9ne 10-29-2002 02:17 PM

Schorsch, please post your postbit template [just the segment which contains the box]

Schorsch 10-29-2002 02:30 PM

Quote:

Originally posted by N9ne
Schorsch, please post your postbit template [just the segment which contains the box]
it's exactly like in the install.txt:

Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="75%" align="left" valign="baseline">
<smallfont>$post[icon] <b>$post[title]</b></smallfont></td><td align="right" valign="baseline" nowrap>
<smallfont>quote: <input type="checkbox" name="quotes[$post[postid]]"></smallfont></td></tr></table>


N9ne 10-29-2002 02:35 PM

I will need more code than that as you have another hack installed, please post a larger segment of code ;)

Schorsch 10-29-2002 02:41 PM

Hi N9ne,

I just sent you my postbit template via PM.

regards,
Schorsch

edit: Thanks N9ne, works great now!

Dean C 10-29-2002 03:31 PM

How is this different from the Beta version released by FireFly?

- miSt

N9ne 10-29-2002 03:47 PM

This works flawlessly ;)

Floris 10-29-2002 05:08 PM

Quote:

Originally posted by Mist
How is this different from the Beta version released by FireFly?

- miSt

You obviously didn't read the thread.

It has the tweaks and final stuff all together with a few screenshots in one package, as a final version.

ZiRu$ 10-29-2002 06:08 PM

I installed the latest verion. I have a mini problem. my "quote:" is on 1 line and the checkbox is on the second line, Heres my postbit...what can i do?

Code:

<td width="20%" align="left">
<smallfont>
(<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post #$countposts</a>)</smallfont></td>

<td width="80%" align="left">
<smallfont>
quote: <input type="checkbox" name="quotes[$post[postid]]">
</smallfont></td>


Floris 10-29-2002 07:16 PM

Your code isn't the one I put in the installation file, you are missing the alignement that makes it displays on the right and the nowrap part which keeps everything in place.

Ian 10-29-2002 08:28 PM

I just installed the hack and must say it works awsome, hoever, I do have one slight problem. My, Last Thread Next Thread links seem to have a extra row of space bwtween the upper table. I attatched a picture to show the problem, the picture also includes my L33T driving skills.

cgwillis 10-29-2002 09:02 PM

Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.

WoodiE 10-30-2002 02:43 AM

I too am having the same problem as Schorsch...what can i do to move the check box over to the left more?

-WoodiE

WoodiE 10-30-2002 02:50 AM

Nevermind I fixed it...Very nice hack.

Thanks

-WoodiE

lordofgun 10-30-2002 03:08 AM

Quote:

Originally posted by cgwillis
Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.

Good question!

LangTuDaTinh 10-30-2002 03:19 AM

great hack but how come it only work /w the top post reply button for my forum? it doens't work /w the bottom post reply, please help...thanks

LangTuDaTinh 10-30-2002 03:24 AM

oppss..sorry, i forget to reply both in showthread....thanks ...it works w/ 2.2.8

Floris 10-30-2002 10:36 AM

Quote:

Originally posted by Ian
I just installed the hack and must say it works awsome, hoever, I do have one slight problem. My, Last Thread Next Thread links seem to have a extra row of space bwtween the upper table. I attatched a picture to show the problem, the picture also includes my L33T driving skills.
I think your showthread template has an extra space because of the </form> tags (maybe) Try removing the blank line between the </form> tag and the </table> tag. My code doesn't have any <br> in it to cause it. It could just be a html behaviour acting up.

Quote:

Originally posted by cgwillis
Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.

The awnser you could expect is no, and I am afraid to say that I think it is no. It requires too much code modifications to achieve this. (version 2.x hehe, but I doubt that will happen).

Quote:

Originally posted by WoodiE
I too am having the same problem as Schorsch...what can i do to move the check box over to the left more?


-WoodiE

Quote:

Originally posted by WoodiE
Nevermind I fixed it...Very nice hack.


Thanks

-WoodiE

That goes for everybody: It is just the template, everybody can place it anywhere withint the template to implement it in their own design of the postbit. I just put it in its own table, to the right, because that is where I wanted it, and that is where everybody from the beta thread showed to have it. I am glad that you could fix it, wasn't that hard eyh! And I am glad you like the hack.

Quote:

Originally posted by LangTuDaTinh
great hack but how come it only work /w the top post reply button for my forum? it doens't work /w the bottom post reply, please help...thanks
Matter of reading the words 'BOTH!!' from the installation file.. :P

Quote:

Originally posted by LangTuDaTinh
oppss..sorry, i forget to reply both in showthread....thanks ...it works w/ 2.2.8
See! :) I am glad you got it working.

Buddha 10-31-2002 01:33 PM

excellent hack buddy.
thank you very much. looks beautiful and works like a charm.

*installed*

adriandaz 10-31-2002 03:38 PM

class! thanks.

partang2 11-14-2002 06:39 PM

Works 100% for me! Thanx for this great hack! ;)

CRego3D 11-18-2002 02:03 AM

Quote:

Originally posted by TECK
yes you can...
you said it can be used with the "quick reply" box (instead of the "post reply" .. care to share how ?

ghroob 11-18-2002 10:07 AM

Sorry
I installed this good hack but there is one problem
If I close thread
Any member can post reply :)
Fix it please
I wait
It is good and imprtant hack any way

Thank you

ghroob 11-22-2002 02:10 PM

Quote:

Originally posted by ghroob

If I close thread
Any member can post reply :)

Sorry again :dead:

I am wrong :dead:

Only admin can reply
But members can't reply to closed post

Thank you for good Hack

Xer 12-07-2002 08:08 AM

great hack... working on my 2.2.9 bb

BlackDeath 12-24-2002 12:18 PM

Quote:

Originally posted by mewgood
anothr porblem
why this happen?

i am getting the exact error and i didnt see that anyone solved this issue? am i wrong?


All times are GMT. The time now is 04:29 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.01483 seconds
  • Memory Usage 1,829KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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