IntegraMOD 1.4.0 Known Bugs & MySQL 5 Fixes

The following are known bug fixes for IntegraMOD 1.4.0.
Note: I did not fix all these bugs. I merely collected all these bug fixes then post them in this topic. In each bug fixes below you will see the name of the person who fixed it (somehow like giving credits).
You may also report IntegraMOD 1.4.0 bugs here too.
The following bugs are still not fixed and anyone who wishes to take up the challenge can try fixing it.
Note: I did not fix all these bugs. I merely collected all these bug fixes then post them in this topic. In each bug fixes below you will see the name of the person who fixed it (somehow like giving credits).
You may also report IntegraMOD 1.4.0 bugs here too.
- Post made today shows as yesterday.
by ednique
OPEN includes/functions.php
FIND- Code: Select all
$board_config['time_today'] = time();board2usertime($board_config['time_today']); // correct usertime$board_config['time_yesterday'] = $board_config['time_today'] - 86400;
REPLACE WITH- Code: Select all
$today_ary = explode('|', create_date('m|d|Y', time(),$board_config['board_timezone']));$board_config['time_today'] = mktime(0,0,0,$today_ary[0],$today_ary[1],$today_ary[2]);$board_config['time_yesterday'] = $board_config['time_today'] - 86400;
- Cannot vote in the poll on the portal. (This applies only to 1 selections poll)
by fghjk123
OPEN posting.php
FIND- Code: Select all
if ( (!empty($HTTP_POST_VARS['vote_id'])) and (is_array($HTTP_POST_VARS['vote_id'])) and (isset($HTTP_POST_VARS['vote_id'])) )
REPLACE WITH- Code: Select all
if ( (!empty($HTTP_POST_VARS['vote_id'])) and (isset($HTTP_POST_VARS['vote_id'])) )
- Cannot vote in poll in the topic.
by fghjk123
OPEN includes/function_post.php
FIND- Code: Select all
$current_time, '$max_vote', '$hide_vote', '$tothide_vote', " . ($poll_length * 86400) . ")"
REPLACE WITH- Code: Select all
$current_time, " . ($poll_length * 86400) . ", '$max_vote', '$hide_vote', '$tothide_vote')"
The following bugs are still not fixed and anyone who wishes to take up the challenge can try fixing it.
- A multiple selections poll shows up as a 1 selection poll in the portal.