![]() |
Um what??
I installed the Quote In A Box hack a little bit ago and I was testing the quotes out and when I hit the quote button it goes to the reply page like normal but at the top of the page it says:
PHP Code:
|
Please post lines 40-50 of newreply.php
Looks like you have forgotten something, or made a typo. |
There's lines 41-51
$postdate=vbdate($dateformat,$postinfo[dateline]); $posttime=vbdate($timeformat,$postinfo[dateline]); $pagetext=$postinfo[pagetext]; $pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext); eval("\$message = \"".gettemplate("quotereply",1,0)."\";"); } } $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); This is line 45, the one that I think is causing the parse error: PHP Code:
Hope someone can see something wrong. |
Try changing
PHP Code:
PHP Code:
|
Make sure that in the quotereply template you don't have something like $originalposter[/i], there must be a space between them (or PHP will think it's an array).
|
That was it firefly, I had it like you said:
$originalposter[/i] Instead of: $originalposter [/i] Thanks, now it is fine. |
All times are GMT. The time now is 01:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|