editting files for mod...cannot find some bits in the files.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   editting files for mod...cannot find some bits in the files.
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 20 year's 20 Year Member
uk.gif
Age: 32
Gender: Male
Fav. Sports Team: Aldershot Town FC (English Conference)
Website:
Status: Offline
Joined: Aug 09, 2004
0.03 posts per day
Posts: 207
Points: 9,481
   
Hey All,

I am installing the cashmod onto my site....i've uploaded all the correct files and i've editted most of them correctly (i know this because if i goto my admin > forums > cash. .i have been able to set up a currency...Although i still have a few bits to edit although i cant find them so thats why im here.... Below is the parts i need to find.

This is the file that tells you what you need to find and edit

#
#-----[ OPEN ]------------------------------------------
#
modules/Private_Messages/index.php

#
#-----[ FIND ]------------------------------------------
#
            $emailer->reset();

#
#-----[ AFTER, ADD ]------------------------------------------
#
         }
         $pmer = new cash_user($userdata['user_id'],$userdata);
         $pmer->give_pm_amount();
         while ( false ) {

#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/profile.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', true);

#
#-----[ AFTER, ADD ]------------------------------------------
#
if ( (isset($HTTP_GET_VARS['mode']) && ($HTTP_GET_VARS['mode'] == 'viewprofile')) || (isset($HTTP_POST_VARS['mode']) && ($HTTP_POST_VARS['mode'] == 'viewprofile')) )
{
   define('IN_CASHMOD', true);
   define('CM_VIEWPROFILE',true);
}

#
#-----[ OPEN ]------------------------------------------
#
modules/Forums/viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', true);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('IN_CASHMOD', true);
define('CM_VIEWTOPIC', true);

#
#-----[ FIND ]------------------------------------------
#
   LIMIT $start, ".$board_config['posts_per_page'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
$cm_viewtopic->generate_columns($template,$forum_id,$sql);

#
#-----[ FIND ]------------------------------------------
#
      'U_POST_ID' => $postrow[$i]['post_id'])

#
#-----[ AFTER, ADD ]------------------------------------------
#
   );

   $cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php

#
#-----[ FIND ]------------------------------------------
#
   $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';

#
#-----[ BEFORE, ADD ]------------------------------------------
#
   $cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);

#
#-----[ FIND ]------------------------------------------
#
   $message = $lang['Stored']

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$lang['Stored']

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
. '<br />' . $cash_message

#
#-----[ FIND ]------------------------------------------
#
      include('includes/functions_search.'.$phpEx);

#
#-----[ BEFORE, ADD ]------------------------------------------
#
      $GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);

#

-----------------------------------------------------------------------------

IMA have to post it into new posts as it keeps going over the word character limit messing it all up icon_sad.gif


Back to top Reply with quote
#2   re: editting files for mod...cannot find some bits in the fi
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 20 year's 20 Year Member
uk.gif
Age: 32
Gender: Male
Fav. Sports Team: Aldershot Town FC (English Conference)
Website:
Status: Offline
Joined: Aug 09, 2004
0.03 posts per day
Posts: 207
Points: 9,481
   
lol im sorry y'all...gonna have to put them into html files for ya's and tell ya the links...will do it in 30mins time..

Sorry!

These files below have the coding of each file....if u could edit it accordingly ??? (since i cannot find anyway to post the whole file on here, it'd just be easier)

Thanks icon_smile.gif



Attached Files
viewtopic.txt (59.13 KB, Downloaded: 5232 Time(s))
Attached Files
profile.txt (4.92 KB, Downloaded: 5231 Time(s))
Attached Files
private_msgs.txt (105.03 KB, Downloaded: 5231 Time(s))
Attached Files
functions_post.txt (41.22 KB, Downloaded: 5232 Time(s))


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum