Thanks for that fix Greg.
I have one more forum problem: private message folder pagination fails to work. This isn’t directly related to the newest EE and Forum modules: we’ve had this problem ever since launch.
We use a shared member account to handle guild recruitment. That account has ~100 private messages in its inbox, but we’re unable to get to the second page. We use a heavily customized forum theme, which is probably the problem—but when I paste the contents of the Default theme’s message_folder.html over what we use, the pagination still fails to work.
This is our forum_member/message_folder.html theme file:
{include:hidden_js}
{include:toggle_js}
<table id="message-folder" class="main profile">
<tr>
<th class="tableHeadingBG" colspan="5">
<h2 class="tableHeading">{lang:folder_name}</h2>
</th>
</tr>
<tr>
<td class="tableCellOne tasks" colspan="5">
<a href="http://{path:erase_messages}%22class=%22button" class="button">{lang:erase_messages}</a>
<div class="switch">
{lang:switch_folder} {include:folder_pulldown:change}
</div>
</td>
{form:form_declaration:modify_messages}
{if paginate}
<tr>
<td class="tableCellOne" colspan="5">
{include:pagination_link}
</td>
</tr>
{/if}
<tr>
<td class="tableRowHeading status"></td>
<td class="tableRowHeading subject">{lang:message_subject}</td>
<td class="tableRowHeading sender">{lang:message_sender}</td>
<td class="tableRowHeading date">{lang:message_date}</td>
<td class="tableRowHeading checkbox"><input class='checkbox' type='checkbox' name='toggleflag' value=''></td>
</tr>
{include:folder_rows}
{if paginate}
<tr>
<td class="tableCellOne" colspan="5">
{include:pagination_link}
</td>
</tr>
{/if}
{include:folder_pulldown:move}
{include:folder_pulldown:copy}
<tr>
<td class="tableCellOne manipulate-messages" colspan="5">
{form:copy_button}{form:move_button}{form:delete_button}
</td>
</tr>
<tr>
<td class="tableCellOne status" colspan="5">
{lang:storage_percentage}. {lang:storage_status}
</td>
</tr>
</form>
</table>
Clicking on the link for page two of private messages changes the URL from:
<a href="http://riotactguild.com/forum/member/messages/view_folder/1/">http://riotactguild.com/forum/member/messages/view_folder/1/</a>
to:
<a href="http://riotactguild.com/forum/member/messages/view_folder/1_/25/">http://riotactguild.com/forum/member/messages/view_folder/1_/25/</a>
But the refreshed page still shows the newest 25 PMs instead of 26-50.
Any thoughts?