Results 1 to 1 of 1
-
13th Jan 2008, 01:34 AM #1OPMember
[TUT]Increase the number of messages allowed to be archived
When you have hundreds (or even thousands) of messages in your inbox, you want to archive them. You also want to get rid of the extremely old messages in your inbox to relieve SQL space. IP.Board has had this feature for a long time. IP.Board will send you an email with all of your archived messages in either HTML format or in a Microsoft Excel data file.
This short change will allow you and your members to archive more messages instead of using the 50 message limit. Note that each server will have its limitations. If you experience issues with this change, revert them or ask your host to solve the memory issue.
Open sources/action_public/messenger.php
Find:
Code:if ($this->ipsclass->input['number'] > 50) { $this->ipsclass->input['number'] = 50; }
Code:if ($this->ipsclass->input['number'] > 150) { $this->ipsclass->input['number'] = 150; }
- ACP > Look & Feel [tab] > Skin Manager
- Your skin name > Edit Template HTML
- Messenger > archive_form
Code:<form action="{$this->ipsclass->base_url}" method="post"> <input type="hidden" name="act" value="Msg" /> <input type="hidden" name="CODE" value="15" /> <div class="formsubtitle">{$this->ipsclass->lang['archive_title']}</div> <p>{$this->ipsclass->lang['archive_text']}</p> <table class='ipbtable' cellspacing="0"> <tr> <td><b>{$this->ipsclass->lang['arc_folders']}</b></td> <td>$jump_html</td> </tr> <tr> <td><b>{$this->ipsclass->lang['arc_dateline']}</b></td> <td valign="middle"> <select name="dateline"> <option value="1">1</option> <option value="7">7</option> <option value="30" selected="selected">30</option> <option value="90">90</option> <option value="365">365</option> <option value="all">{$this->ipsclass->lang['arc_alldays']}</option> </select> {$this->ipsclass->lang['arc_days']} <select name="oldnew"> <option value="newer" selected="selected">{$this->ipsclass->lang['arch_new']}</option> <option value="older">{$this->ipsclass->lang['arch_old']}</option> </select> </td> </tr> <tr> <td><b>{$this->ipsclass->lang['arc_max']}</b></td> <td valign="middle"><select name="number"><option value="5">5</option><option value="10">10</option><option value="20" selected="selected">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option><option value="60">60</option><option value="70">70</option><option value="80">80</option><option value="90">90</option><option value="100">100</option><option value="110">110</option><option value="120">120</option><option value="130">130</option><option value="140">140</option><option value="150">150</option></select></td> </tr> <tr> <td><b>{$this->ipsclass->lang['arc_delete']}</b></td> <td valign="middle"><select name="delete"><option value="yes">{$this->ipsclass->lang['arc_yes']}</option><option value="no" selected="selected">{$this->ipsclass->lang['arc_no']}</option></select></td> </tr> <tr> <td><b>{$this->ipsclass->lang['arc_type']}</b></td> <td valign="middle"><select name="type"><option value="xls" selected="selected">{$this->ipsclass->lang['arc_xls']}</option><option value="html">{$this->ipsclass->lang['arc_html']}</option></select></td> </tr> </table> <div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['arc_submit']}" /></div> </form>
Lease Reviewed by Lease on . [TUT]Increase the number of messages allowed to be archived When you have hundreds (or even thousands) of messages in your inbox, you want to archive them. You also want to get rid of the extremely old messages in your inbox to relieve SQL space. IP.Board has had this feature for a long time. IP.Board will send you an email with all of your archived messages in either HTML format or in a Microsoft Excel data file. This short change will allow you and your members to archive more messages instead of using the 50 message limit. Note that each server Rating: 5Extremely helpful article about hiding your identity here
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Best hate messages?
By Daniel in forum General DiscussionReplies: 10Last Post: 20th Jul 2012, 07:08 PM -
Can't see all my sent messages!
By rayheng0595 in forum Feedback and SuggestionsReplies: 10Last Post: 24th Jan 2012, 06:55 AM -
SPAM MESSAGES - MSN
By -saMmy- in forum General DiscussionReplies: 3Last Post: 21st Jul 2011, 04:45 PM -
Private Messages
By Profit in forum Feedback and SuggestionsReplies: 12Last Post: 4th Feb 2010, 02:57 PM -
Visitor messages
By Curtis129 in forum Feedback and SuggestionsReplies: 7Last Post: 7th Aug 2009, 07:02 PM
themaPoster - post to forums and...
Version 5.35 released. Open older version (or...