Quick Title help

Dasher

Seasoned Veteran
Joined
Sep 22, 2009
Messages
2,611
Reaction score
0
FP$
6
I just installed Quick Title Edition. When I go to edit a post or do anything that has to do with posting I get this error:
Parse error: syntax error, unexpected T_VARIABLE in /home/badandon/public_html/posting.php on line 1289

Here's line 1289, before and after it:
//-- mod : quick title edition -------------------------------------------------
//-- add
$template->assign_vars(array(
'S_TOPIC_ATTR' => !empty($post_data['attr_id']) ? true : false,
'TOPIC_ATTRIBUTE' => $qte->attr( implode(',', array($post_data['attr_id'], $user->data['user_id'], $current_time)) ),
));
//-- fin mod : quick title edition ---------------------------------------------

Is it somehting in PhpBB 3.0.6?
 
Which line is 1289?

Code:
//-- mod : quick title edition -------------------------------------------------
//-- add
$template->assign_vars(array(
'S_TOPIC_ATTR' => !empty($post_data['attr_id']) ? true : false,;
'TOPIC_ATTRIBUTE' => $qte->attr( implode(',', array($post_data['attr_id'], $user->data['user_id'], $current_time)) ),
));
//-- fin mod : quick title edition ---------------------------------------------

Try that, reply back if it's wrong with the answer to my above question.
 
Code:
		$template->assign_vars(array(
No, it didn't. That's line 1289
 
Code:
//-- mod : quick title edition -------------------------------------------------
//-- add
$template->assign_vars(array(;
'S_TOPIC_ATTR' => !empty($post_data['attr_id']) ? true : false,
'TOPIC_ATTRIBUTE' => $qte->attr( implode(',', array($post_data['attr_id'], $user->data['user_id'], $current_time)) ),
));
//-- fin mod : quick title edition ---------------------------------------------

Try that, if not then I am stumped 😕
 
I believe the mod doesn't work with 3.0.6, unless it was installed prior then upgraded to 3.0.6.
 
Did you edit one of those lines? If so what did you add to it? You will have to make sure that the variables added are being set up correctly.

What does the MOD do anyway?
 
Well, Either I'm screwed because I didn't back up. But somone made it work for here. Because we're (FP) on 3.0.6. I never edited the line just copied and pasted where it said to.
 
Could you link me to the MOD? I will try to install it on my test board and see what goes wrong..
 
The mod is compatible with phpBB 3.0.6 as we are using it here with no problems what so ever. It might be good to restore the files from the backup you should have made before starting and then doing all the edits again.
 
Most of the stuff seems ok. I'll report here if I have any problems.
 
Back
Top Bottom