oh so close


  -----  
Author Message

Gephri
Member

Sun Aug 27, 2006 3:58 am   Post subject: oh so close
Installed Effects Store for Shop 3.0.0 and it is very close to working on my CH board.

Creates only the 1 error (white page) whenever someone views a topic.

phpbb shows the error on:

viewtopic.php

Quote:

PHP Parse error: parse error, unexpected ';' in .../viewtopic.php on line 1919


Code:

// MOD Categories Hierarchy for CashMod (start)----------------------------------------------------
//-- delete
//      'U_POST_ID' => $postrow[$i]['post_id'])
//   );
// }
// 'U_POST_ID' => $postrow[$i]['post_id'],
   'U_POST_ID' => $postrow[$i]['post_id'], $shop_effects,

   'U_UNREAD_POST' => $config->url('viewtopic', array(POST_POST_URL => $postrow[$i]['post_id'], 'unmark' => 'post'), true),
   )
// cash MOD
  );


The code line used to work fine:
'U_POST_ID' => $postrow[$i]['post_id'],

but having a problem figuring how to tie-in shop_effects...

Probably a simple fix - but I can't see it. Can you help?
 

Thoul
Administrator

Sun Aug 27, 2006 9:52 am   Post subject: re: oh so close
It looks like a clash between the Effects Store and Categories Hierarchy. Try changing that code to this:

Code:

// MOD Categories Hierarchy for CashMod (start)----------------------------------------------------
//-- delete
//      'U_POST_ID' => $postrow[$i]['post_id'])
//   );
// }
// 'U_POST_ID' => $postrow[$i]['post_id'],
   'U_POST_ID' => $postrow[$i]['post_id'],

   'U_UNREAD_POST' => $config->url('viewtopic', array(POST_POST_URL => $postrow[$i]['post_id'], 'unmark' => 'post'), true),
   ), $shop_effects
// cash MOD
  );
 

Gephri
Member

Sun Aug 27, 2006 12:00 pm   Post subject: thanks Thoul
Thanks for trying to help get your mod to fit into CH.

Didn't work though - and I'm just exhausted trying to do this with other mods as well.

Time to uninstall CH and begin installing other quality mods kije yours that I really want.

...see you in a few weeks...
 

Thoul
Administrator

Sun Aug 27, 2006 2:33 pm   Post subject: re: oh so close
I'm going to try to include CH-specific install instructions in the next version, if you'd like to wait for that. Of course, I realize how frustrating it can be to get all the mods you want to use working with CH, so I don't blame you if you want to uninstall it.
 

Page 1 of 1
Display posts from previous: