Page 1 of 1

Activity Mod Issues

PostPosted: Wed Aug 01, 2007 6:19 pm
Author: alumsprings
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Beginner
Board URL: http://www.alumspringsbaptistchurch.org

PHP Version:
MySQL Version:


What was done before the problem appeared?
I made edits to the files as per the instructions.


What was done to try to solve the problem?
I cried.



De.scription and Message

I am beginning to get very frustrated with Integramod 1.4.1...I have in the passed used Integramod 1.3.2 with no problems. But I'm seriously believe that there is actually a problem with the the actual downloaded file I got from here....The reason I believe that is because when I replace my downloaded files with the ones that motley gives me, my errors disappear....Now on to my newest issue.....


I have installed Activity Mod Plus on my site. It's something I've done dozens of times in the past on 1.3.2 with little or no problems. However, this time....In the ACP, the links on the left hand side there sitting perfectly and lulling me into a false sense of calm that everything is okay....I clicked on the database adjustment link and installed. I'm still sitting there thinking Yay! Then all my hopes are dashed when I click on the Configuration link and get this...

sql_query($q); $exists = $db->sql_fetchrow($r); if ( ($exists) && ($userdata['user_id'] != ANONYMOUS) ) { $q = "UPDATE ". INA_SESSIONS ." SET playing_time = '". time() ."' WHERE playing_id = '". $userdata['user_id'] ."'"; $db->sql_query($q); } else { if ($userdata['user_id'] == ANONYMOUS) $logged_in = "0"; else $logged_in = "1"; $q = "INSERT INTO ". INA_SESSIONS ." VALUES ('". time() ."', '". $userdata['user_id'] ."', '". $logged_in ."')"; $db->sql_query($q); } $q = "DELETE FROM ". INA_SESSIONS ." WHERE playing_time <expired>sql_query($q1); } function BanCheck() { global $userdata, $db, $lang, $board_config; $q = "SELECT id FROM ". INA_BAN ." WHERE id = '". $userdata['user_id'] ."'"; $r = $db->sql_query($q); $row = $db->sql_fetchrow($r); $ban_1 = $row['id']; if ($ban_1) message_die(GENERAL_ERROR, $lang['ban'], $lang['ban_error']); $q = "SELECT * FROM ". INA_BAN ." WHERE username = '". $userdata['username'] ."'"; $r = $db->sql_query($q); $row = $db->sql_fetchrow($r); $ban_2 = $row['username']; if ($ban_2) message_die(GENERAL_ERROR, $lang['ban'], $lang['ban_error']); if ($board_config['ina_post_block'] == '1') { if($userdata['user_posts'] < $board_config['ina_post_block_count']) message_die(GENERAL_ERROR, str_replace("%B%", $board_config['ina_post_block_count'], $lang['restriction_check_1']), $lang['ban_error']); } if ($board_config['ina_join_block'] == '1') { $days_block = $board_config['ina_join_block_count']; $length_check = time() - $userdata['user_regdate']; $length_block = $length_check / 86400; $rounded = round($length_block); if ($rounded < $days_block)


That's just a little sample of it....It goes on for quite a bit and then at the bottom of the page I have a few options that I can change that look quite well. Every other link is the same. Suggestions on what I need to do to fix this? I'm seriously considering going back to 1.3.2 because it is a lot less headache. And I apologize for being so negative...But this site is for my church. I love my church and it means a lot to me.

Re: Activity Mod Issues

PostPosted: Fri Aug 03, 2007 7:41 am
Author: found it
Hi

I have a walk through guide done for 1.4.1 it basically shows you where the file edits go on the new files ...

you can find it [url=http]HERE[/url]

:mrgreen:

PostPosted: Fri Aug 03, 2007 10:28 am
Author: alumsprings
ummmm....i used your walk-thru guide. <img> and i tried your premodded files as well....

Re: Activity Mod Issues

PostPosted: Fri Aug 03, 2007 9:11 pm
Author: DjPorkchop
I have too. lol dozens and dozens of times. It is my official Integramod, Amod arcade website. Its never failed me a once yet. <img>

Re: Activity Mod Issues

PostPosted: Mon Aug 13, 2007 3:17 pm
Author: .QUACK.Major.Pain
As has happened several times in the past with others, double check that you didn't miss a step. Others have done the same and when told to double check, actually found they did miss something. You'd be surprised. I had to go over Joshie's files for him to find he did miss 2 steps. He double checked and couldn't find anything, but another set of eyes caught the simple slip up. Maybe ask someone else to look it over for you.

It's a simple install as long as you don't miss something. Maybe also check that if you copied and pasted, that you didn't paste a partial line and not the complete line. Had issues in the past when copying something, that the end of a line got lost. Especially when copying multiple lines.

Good luck...