Need help with effect plug-in


  -----  
Author Message

123
Member

Fri Feb 02, 2007 10:30 am   Post subject: Need help with effect plug-in
Hi all

I'm using CH2.1.6

and I installed the cash mod and shop mod and it work very well

now I need to install the effect mod but I have many problems with codes!

one of the main problem is the registercp.php is not exist any more

and many many codes of viewtopic.php can't found

so please if there is any one installed it or have any idea how to install this great mod

let us know!

thanks
 

123
Member

Fri Feb 02, 2007 10:31 am   Post subject:
Here what I can't found


first the viewtopic.php

//also I tryed to look in the class_post.php

Code:

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

#
#-----[ AFTER, ADD ]------------------------------------------
#

//------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//
require_once($phpbb_root_path . 'mods/shopaddons/effects.' . $phpEx);
//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ FIND ]------------------------------------------
#

   $template->assign_block_vars('postrow', array(

#
#-----[ REPLACE WITH ]------------------------------------------
#

/*------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//      Added:
   $shop_effects = $effects->post_check($postrow[$i]);
//      Added: array_merge(
//      Original phpBB Code:
   $template->assign_block_vars('postrow', array(
*/
   $shop_effects = $effects->post_check($postrow[$i]);
   $template->assign_block_vars('postrow', array_merge(array(
//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ FIND ]------------------------------------------
#

      'U_POST_ID' => $postrow[$i]['post_id'])

#
#-----[ REPLACE WITH ]------------------------------------------
#

/*------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//      Added: , $shop_effects)
//      Original phpBB Code:
      'U_POST_ID' => $postrow[$i]['post_id'])
*/
      'U_POST_ID' => $postrow[$i]['post_id']), $shop_effects)
//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------


Second usercp_register.php
// Because it doesn't exist any more in the CH2.1.6

Code:

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#

<?php

#
#-----[ AFTER, ADD ]------------------------------------------
#

// This file modified for Effects Store for Shop 3

#
#-----[ FIND ]--------------------------------------
#

if ( !defined('IN_PHPBB') )
{
   die("Hacking attempt");
   exit;
}

#
#-----[ AFTER, ADD ]--------------------------------------
#

//------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//
require_once($phpbb_root_path . 'mods/shopaddons/effects.' . $phpEx);
//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ FIND ]--------------------------------------
#

   if ( $board_config['allow_namechange'] || $mode == 'register' )

#
#-----[ BEFORE, ADD ]--------------------------------------
#

/*------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//      Added:  ($board_config['allow_namechange'] && $effects->check_namechange($userdata))
//      Original phpBB Code:
   if ( $board_config['allow_namechange'] || $mode == 'register' )
*/

#
#-----[ IN-LINE FIND ]--------------------------------------
#

$board_config['allow_namechange']

#
#-----[ IN-LINE REPLACE WITH ]--------------------------------------
#

($board_config['allow_namechange'] && $effects->check_namechange($userdata))

#
#-----[ AFTER, ADD ]------------------------------------------
#

//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ FIND ]--------------------------------------
#

   if ( ($mode == 'register') || ($board_config['allow_namechange']) )

#
#-----[ BEFORE, ADD ]--------------------------------------
#

/*------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//      Added:   && $effects->check_namechange($userdata)
//      Original phpBB Code:
   if ( ($mode == 'register') || ($board_config['allow_namechange']) )
*/

#
#-----[ IN-LINE FIND ]--------------------------------------
#

$board_config['allow_namechange']

#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------
#

 && $effects->check_namechange($userdata)

#
#-----[ AFTER, ADD ]------------------------------------------
#

//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ FIND ]------------------------------------------
#

      if ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) )

#
#-----[ BEFORE, ADD ]------------------------------------------
#

/*------------------------------------------------------------------------------
// Effects Store for Shop 3 - Begin Code Alteration
//      Added:  $effect_check['avatar'] &&
//      Original phpBB Code:
      if ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) )
*/
      $effect_check = $effects->profile_edit_check($userdata);

#
#-----[ IN-LINE FIND ]------------------------------------------
#

$userdata['user_allowavatar']

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#

$effect_check['avatar'] &&

#
#-----[ AFTER, ADD ]------------------------------------------
#

//
// Effects Store for Shop 3 - End Code Alteration
//------------------------------------------------------------------------------
 

Thoul
Administrator

Fri Feb 02, 2007 8:49 pm   Post subject: Re: Need help with effect plug-in
Effects Shop isn't supported with CH 2.1.6. It would require entirely different steps to install these sections.

Honestly, I'm surprised you were able to get the Cash mod working with 2.1.6. The last I heard, it didn't work properly on that version of CH.
 

123
Member

Sat Feb 03, 2007 5:26 am   Post subject: Re: Need help with effect plug-in
yea the adapted version of cah released for CH2.1.6

but please realy I need to install this effect mod

I think it was the most popular shop in the shop mod

and so many people using CH2.1.6

and now I have the shop mod installed but without effects!!

can you please try tp help us whith this!

thank you
 

Thoul
Administrator

Wed Feb 07, 2007 7:07 pm   Post subject: Re: Need help with effect plug-in
Sorry, but there's not much I can do at the moment. CH 2.1.6 completely replaces large portions of phpBB, so those steps would require entirely different code for the effects shop to function.

I'll have to get the new Cash mod and CH 2.1.6, then do an install of them, Shop, and Effects Store and try to develop a whole new Effects Store install specifically for CH. I can probably do all that, but it will take a few days at least, maybe longer.
 

123
Member

Thu Feb 08, 2007 6:44 pm   Post subject: Re: Need help with effect plug-in
I know it is too hard to do that

but do you have any plan to develope it

thanks again
 

Thoul
Administrator

Sat Feb 10, 2007 1:37 pm   Post subject: Re: Need help with effect plug-in
I probably will, but it will take a while.
 

123
Member

Sun Feb 11, 2007 1:44 pm   Post subject: Re: Need help with effect plug-in
Thank you thank you thank you

you are the best

I'll be waiting for it ^_^
 

123
Member

Wed Feb 28, 2007 10:42 am   Post subject: Re: Need help with effect plug-in
hi again

anything new about this subject?
 

Thoul
Administrator

Wed Feb 28, 2007 4:55 pm   Post subject: Re: Need help with effect plug-in
Not yet, sorry. I haven't had the time to get to it.
 

Page 1 of 2
Go to page 1, 2  Next
Display posts from previous: