I updated the version on my site to include those instructions.hywel wrote:Hi Prime, could we please have an update 1.2.7 to 1.2.8.xml contrib walkthrough?
Thanks for your time!
Cheers
Thanks for your time and help!primehalo wrote:I updated the version on my site to include those instructions.
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/includes/prime_post_revisions.php on line 436: array_merge() [function.array-merge]: Argument #2 is not an array
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4719: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3828)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4721: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3828)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4722: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3828)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4723: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3828)
Code: Select all
page_header($user->lang['VIEW_TOPIC']
Code: Select all
//-- mod: Prime Post Revisions ----------------------------------------------//
$prime_post_revisions->assign_template_variables($viewtopic_url, $viewtopic_title);
//-- end: Prime Post Revisions ----------------------------------------------//
Code: Select all
page_header($topic_data['topic_title'] . (($start) ? ' • ' . sprintf($user->lang['PAGE_NUMBER'], floor($start / $config['posts_per_page']) + 1) : '') . ' • ' . $topic_data['forum_name'], true, $forum_id);
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1743: array_merge(): Argument #2 is not an arraydraky wrote:Hello.
Is this MOD ok for 3.0.12 ?
Thanks !
Code: Select all
$postrow = array_merge($postrow, $cp_row['row']);
no, line 1743 is this:primehalo wrote:I am running 3.0.12 and it works fine on my board.
Is your viewtopic.php line #1743 this:Argument #2 is $cp_row['row'] but Prime Post Revisions does not modify or otherwise use that variable. Sounds like something else is changing that variable.Code: Select all
$postrow = array_merge($postrow, $cp_row['row']);
Code: Select all
}
Code: Select all
if (isset($cp_row['row']) && sizeof($cp_row['row']))
Code: Select all
//-- mod: Prime Post Revisions ----------------------------------------------//
$prime_post_revisions->update_postrow($post_list, $i, $rowset, $postrow);
//-- end: Prime Post Revisions ----------------------------------------------//
Code: Select all
if (isset($cp_row['row']) && sizeof($cp_row['row']))
//-- mod: Prime Post Revisions ----------------------------------------------//
$prime_post_revisions->update_postrow($post_list, $i, $rowset, $postrow);
//-- end: Prime Post Revisions ----------------------------------------------//
{
$postrow = array_merge($postrow, $cp_row['row']);
}
// Dump vars into template
$template->assign_block_vars('postrow', $postrow);
// Start UPS Easy Shop
if ($sig_shelf)
{
$j = 0;
foreach ($items as $item)
{
$j++;
if ($j > $config['shop_shelf_size_sig'])
{
break;
}