Chowdr5 wrote: The link is broke.
Does someone know where I can download this?
Thanks
Code: Select all
$last_post_url,
'L_TOPIC_FOLDER_ALT' => $folder_alt,
'U_VIEW_TOPIC' => $view_topic_url)
);
// Event Registration Begin
if( ( $topic_rowset[$i]['topic_reg'] ) && check_reg_active($topic_id) )
{
$template->assign_block_vars('topicrow.display_reg', array());
}
// Event Registration End }
$topics_count -= $total_announcements;
$template->assign_vars(array(
'PAGINATION' => generate_pagination("viewforum.$phpEx?" .
POST_FORUM_URL . "=$forum_id&topicdays=$topic_days", $topics_count, $board_config['topics_per_page'], $start),
'PAGE_NUMBER' =>
sprintf($lang['Page_of'], ( floor( $start / $board_config['topics_per_page'] ) + 1 ), ceil( $topics_count / $board_config['topics_per_page'] )),
'L_GOTO_PAGE' => $lang['Goto_page'])
);
}
else
{
//
// No topics
//
$no_topics_msg = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['No_topics_post_one'];
$template->assign_vars(array(
'L_NO_TOPICS' => $no_topics_msg)
);
$template->assign_block_vars('switch_no_topics', array() );
}
//
// Parse the page and print
//
$template->pparse('body');
//
// Page
footer
//
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Niryk wrote: I don't suppose we have any hope of getting a version with dynamic adding of Registration options beyond the initial three... 'cause I'm working on modifying this to support such a thing, but it's a bit of a pain to mod a mod...
Code: Select all
Critical Error
FIND FAILED: In file [templates/subSilver/viewforum_body.tpl] could not find:
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
MOD script line #1781 :: FAQ :: Report
Code: Select all
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_ATTACHMENT_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
Code: Select all
Open:
Posting_reg_body.tpl
Find:
<input type="text" name="reg_option1" value="{L_REG_OPTION1}" />
Change To:
<input type="text" name="reg_option1" style="background:#000000" value="{L_REG_OPTION1}" />
Find:
<input type="text" name="reg_max_option1" size="3" maxlength="3" value="{L_REG_MAX_OPTION1}" />
Change To:
<input type="text" style="background:#000000" name="reg_max_option1" size="3" maxlength="3" value="{L_REG_MAX_OPTION1}" />
Find:
<input type="text" name="reg_option2"value="{L_REG_OPTION2}" />
Change To:
<input type="text" name="reg_option2" style="background:#000000" value="{L_REG_OPTION2}" />
Find:
<input type="text" name="reg_max_option2" size="3" maxlength="3" value="{L_REG_MAX_OPTION2}" />
Change To:
<input type="text" name="reg_max_option2" style="background:#000000" size="3" maxlength="3" value="{L_REG_MAX_OPTION2}" />
Find:
<input type="text" name="reg_option3"value="{L_REG_OPTION3}" />
Change To:
<input type="text" name="reg_option3" style="background:#000000" value="{L_REG_OPTION3}" />
Find:
<input type="text" name="reg_max_option3" size="3" maxlength="3" value="{L_REG_MAX_OPTION3}" />
Change To:
<input type="text" name="reg_max_option3" style="background:#000000" size="3" maxlength="3" value="{L_REG_MAX_OPTION3}" />