Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Multiquote Details »»
Multiquote
Version: 1.00, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 3 Rating:
Released: 06-26-2005 Last Update: 11-15-2005 Installs: 96
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Multiquote

Credits
This is a port of the vB 3.0.X-Version of Multiquote made by Chroder - all credits to him and Hoffi for the images.

Description (copy & paste as I am lazy )
This multiquote hack allows your members to select multiple posts to quote from. These posts can be on a different
page, in a different thread, or on an entirely different forum. Don't worry, the hack checks to make sure the user
has read permissions on the post so no sneaky members can insert random post ID's in hopes to find what's going on
in your secret staff forums.

This Hack is not designed to work with Quick Reply, it also does not quote the last post of a Thread if you click the New Reply button, as this button is meant to reply without quoting the last post.

Details
1 Plugin XML
1 Phrase
1 Template Edit
2 Images
1 JS File
No file edits!

Note: As I did not test this extensivly i'll class it as Beta

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-29-2005, 09:10 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But $show['replylink'] is defined nowhere ....
Reply With Quote
  #23  
Old 06-29-2005, 09:16 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it wouldn't work with $post['replylink'], and does work with $show['replylink'] for me o_O

Satan
Reply With Quote
  #24  
Old 06-29-2005, 09:22 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the error I get when I use $post['replylink']:

Quote:
The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxx/public_html/forums/includes/adminfunctions_template.php(3504) : eval()'d code on line 188

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Satan
Reply With Quote
  #25  
Old 06-29-2005, 09:27 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange. Does work just fine for me.
And I really can't understand why this would happen, seeing as postbit itself uses $post['replylink']
Anyone else expiriencing the problem?
Reply With Quote
  #26  
Old 06-29-2005, 09:41 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Strange. Does work just fine for me.
And I really can't understand why this would happen, seeing as postbit itself uses $post['replylink']
Anyone else expiriencing the problem?
Hrm strange now I don't see the image on showthread when I use $show['replylink'] and when I try and use your template code it gives me that error :ermm:

It also gives me this error upon trying to view a thread when I click "continue" regardless:

Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxx/public_html/forums/includes/class_postbit.php(241) : eval()'d code on line 188
Satan
Reply With Quote
  #27  
Old 06-29-2005, 09:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really strange. Which Version do you use?
Although it does not make sense, did you try to just put the Code in a new Template and save it, does this compile without errors?
Reply With Quote
  #28  
Old 06-29-2005, 09:56 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of vB? 3.5.0 Beta 3

I put it in it's own template, and got this:

Quote:
The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxx/public_html/forums/includes/adminfunctions_template.php(3504) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
It's obviously something wrong in this line:
Code:
<if condition="$post['replylink'] AND $show['multiquote']">
:ermm:

Satan
Reply With Quote
  #29  
Old 06-29-2005, 10:02 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you put only this line then the </if> is missing ...

HTML Code:
<if condition="$post['replylink'] AND $show['multiquote']">
	<img src="$stylevar[imgdir_misc]/mq_img_off.gif" alt="$vbphrase[multiquote]" border="0" width="21" height="15" name="multiquote_$post[postid]" id="multiquote_$post[postid]" onclick="toggleMultiQuote($post[postid], this)" style="cursor:pointer" />
</if>
This is the whole code and does compile just fine for me?
Reply With Quote
  #30  
Old 06-29-2005, 10:05 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange - I took out the ' s and it was fine o_O

Another problem though, unrelated to templates... I think...

If I have a thread with, say, 5 replies - If I select the multi-quote button for posts, 1, 3, 4 and 5, it will only quote posts 1, 3 and 4 :ermm:

What is happening to the last post in the thread?

Edit: The template code you posted above works, but the same code from your .txt file doesn't o_O Weird

Satan
Reply With Quote
  #31  
Old 06-29-2005, 10:08 PM
Joe Gronlund Joe Gronlund is offline
 
Join Date: Jun 2005
Location: Toronto, Ontario, Canada
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Strange. Does work just fine for me.
And I really can't understand why this would happen, seeing as postbit itself uses $post['replylink']
Anyone else expiriencing the problem?

I did with beta 3 just today
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07535 seconds
  • Memory Usage 2,313KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete