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)
-   -   Multiquote (https://vborg.vbsupport.ru/showthread.php?t=91185)

Andreas 06-29-2005 09:10 PM

But $show['replylink'] is defined nowhere ....

Chris M 06-29-2005 09:16 PM

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

Satan

Chris M 06-29-2005 09:22 PM

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

Andreas 06-29-2005 09:27 PM

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?

Chris M 06-29-2005 09:41 PM

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

Andreas 06-29-2005 09:52 PM

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?

Chris M 06-29-2005 09:56 PM

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

Andreas 06-29-2005 10:02 PM

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?

Chris M 06-29-2005 10:05 PM

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 :p

Satan

Joe Gronlund 06-29-2005 10:08 PM

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


All times are GMT. The time now is 10:38 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.01194 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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