Jdude, it might help if you provide a text link to your cm_install_221.txt and viewtopic.php files. The line listed in your error message exists in my heavily modded viewtopic.php file, so without seeing what you have, I can only guess on what to suggest...
Without seeing either your MOD script or your viewtopic.php files, this would be my guess of what to try. If the following doesn't work, then I would need to see a copy of both files. Please don't post the code here though. All I need are links to the files...
Ok, do this:
OPEN
cm_install_221.txt
FIND
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
LIMIT $start, ".$board_config['posts_per_page'];
REPLACE WITH
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
LIMIT $start
Save, upload, and try again using EM...
I installed the Cash MOD on another site last night and found a flaw in it that prevents the Cash values from appearing in the View Topic page. You might run into this problem too. This is what I had to do to get the MOD script to install the code in the correct place in the viewtopic.php file:
FIND
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
'U_POST_ID' => $postrow[$i]['post_id'])
REPLACE WITH
Code: Select all
#
#-----[ FIND ]------------------------------------------
# Find this, then skip to the next instance
'U_POST_ID' => $postrow[$i]['post_id'])
#
#-----[ FIND ]------------------------------------------
#
'U_POST_ID' => $postrow[$i]['post_id'])
Note that the FIND statement is duplicated. The reason this is necessary is that the Cash MOD code was being added to the Anonymous user (Guests) rather than your registered members. I doubt that Guests would have Cash values, so this is clearly an error in the MOD script. The double FIND places the Cash MOD code in the correct location in the viewtopic.php file...
There is another problem in the Profile View Body page. I didn't find the workaround, but someone else did. Apparently if you have eXtreme Styles installed, there can be a conflict that prevents the Cash MOD values from appearing in the Profile page and luckily there is a workaround available. If you run into this problem, I can find the workaround for you too...
