if(w>0) width = w+'px';
if(h>0) height = h+'px';
[size=-3]The lines should of originally looked like:Ok, for enabling the preview pane with RC2 I did the following:
1.) I connected to the database with phpMyAdmin.
2.) I selected the table "user".
3.) I edited the field "preferences" for the row carrying the desired user_id.
This field contains some sort of mapping. In this mapping you can read something like
"preview_pane";b:0
4.) I changed the value 0 to 1.
Done.
Its seems the alignmentof the word personal seeting is off see screen shot
Screen shot of the version IE used
OK - can you both post screenshots of the Horizontal view too? Go to the bottom of the page and click the "Horizontal" link. I'm expecting it will render fine because the built in RoundCube method of generating the css styles seems to behave oddly for vertical view, but not horizontal.
I may have to hard code the required styles into JS as well as the style sheets. I don't currently have FreeBSD installed but I do have Kubuntu, will download the ISO now. Once I have everything set up I'll come in this weekend and make the theme cross platform as well as cross browser.
Any possibility of getting a "Mark as Read" button since RC includes this by default now? That would be great, thank you for your work thus far!
I saw that this was missing too but you can click the envelope icon in the message list and it will toggle the status so I figured I could live with out it
Paste your config and refresh your cache in FF2
<?php
$rcmail_config = array();
// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$rcmail_config['debug_level'] = 1;
// enable caching of messages and mailbox data in the local database.
// this is recommended if the IMAP server does not run on the same machine
$rcmail_config['enable_caching'] = TRUE;
// lifetime of message cache
// possible units: s, m, h, d, w
$rcmail_config['message_cache_lifetime'] = '10d';
// automatically create a new RoundCube user when log-in the first time.
$rcmail_config['auto_create_user'] = TRUE;
// the mail host chosen to perform the log-in
// leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL connection, enter ssl://hostname:993
$rcmail_config['default_host'] = 'localhost';
// TCP port used for IMAP connections
$rcmail_config['default_port'] = 143;
// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
$rcmail_config['username_domain'] = '';
// This domain will be used to form e-mail addresses of new users
// Specify an array with 'host' => 'domain' values to support multiple hosts
$rcmail_config['mail_domain'] = '';
// Path to a virtuser table file to resolve user names and e-mail addresses
$rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';
// Query to resolve user names and e-mail addresses from the database
// %u will be replaced with the current username for login.
// The query should select the user's e-mail address as first col
$rcmail_config['virtuser_query'] = '';
// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$rcmail_config['smtp_server'] = '';
// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 25;
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = '';
// SMTP password (if required) if you use %p as the password RoundCube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '';
// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';
// SMTP HELO host
// Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
// Leave this blank and you will get the server variable 'server_name' or
// localhost if that isn't defined.
$rcmail_config['smtp_helo_host'] = '';
// Log sent messages
$rcmail_config['smtp_log'] = TRUE;
// these cols are shown in the message list
// available cols are: subject, from, to, cc, replyto, date, size, encoding
$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
// $rcmail_config['list_cols'] = array('subject', 'from', 'date');
// relative path to the skin folder
$rcmail_config['skin_path'] = 'skins/mvision2/';
// includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = FALSE;
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = 'temp/';
// use this folder to store log files (must be writebale for apache user)
$rcmail_config['log_dir'] = 'logs/';
// session lifetime in minutes
$rcmail_config['session_lifetime'] = 10;
// check client IP in session athorization
$rcmail_config['ip_check'] = false;
// Use an additional frequently changing cookie to athenticate user sessions.
// There have been problems reported with this feature.
$rcmail_config['double_auth'] = false;
// this key is used to encrypt the users imap password which is stored
// in the session record (and the client cookie if remember password is enabled).
// please provide a string of exactly 24 chars.
$rcmail_config['des_key'] = '[I]hidden[/I]';
// the default locale setting
$rcmail_config['locale_string'] = 'en';
// use this format for short date display
$rcmail_config['date_short'] = 'D H:i';
// use this format for detailed date/time formatting
$rcmail_config['date_long'] = 'd.m.Y H:i';
// use this format for today's date display
$rcmail_config['date_today'] = 'H:i';
// add this user-agent to message headers when sending
$rcmail_config['useragent'] = 'RoundCube Webmail/0.1';
// use this name to compose page titles
$rcmail_config['product_name'] = 'RoundCube Webmail';
// only list folders within this path
$rcmail_config['imap_root'] = '';
// store draft message is this mailbox
// leave blank if draft messages should not be stored
$rcmail_config['drafts_mbox'] = 'Drafts';
// store spam messages in this mailbox
$rcmail_config['junk_mbox'] = 'Junk';
// store sent message is this mailbox
// leave blank if sent messages should not be stored
$rcmail_config['sent_mbox'] = 'Sent';
// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$rcmail_config['trash_mbox'] = 'Trash';
// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = TRUE;
// protect the default folders from renames, deletes, and subscription changes
$rcmail_config['protect_default_folders'] = TRUE;
// Set TRUE if deleted messages should not be displayed
// This will make the application run slower
$rcmail_config['skip_deleted'] = FALSE;
// Set true to Mark deleted messages as read as well as deleted
// False means that a message's read status is not affected by marking it as deleted
$rcmail_config['read_when_deleted'] = TRUE;
// When a Trash folder is not present and a message is deleted, flag
// the message for deletion rather than deleting it immediately. Setting this to
// false causes deleted messages to be permanantly removed if there is no Trash folder
$rcmail_config['flag_for_deletion'] = TRUE;
// Behavior if a received message requests a message delivery notification (read receipt)
// 0 = ask the user, 1 = send automatically, 2 = ignore (never send or ask)
$rcmail_config['mdn_requests'] = 0;
// Use this charset as fallback for message decoding
$rcmail_config['default_charset'] = 'ISO-8859-1';
// Make use of the built-in spell checker. It is based on GoogieSpell.
// Since Google only accepts connections over https your PHP installatation
// requires to be compiled with Open SSL support
$rcmail_config['enable_spellcheck'] = TRUE;
// For a locally installed Nox Spell Server, please specify the URI to call it.
// Get Nox Spell Server from http://orangoo.com/labs/?page_id=72
// Leave empty to use the Google spell checking service, what means
// that the message content will be sent to Google in order to check spelling
$rcmail_config['spellcheck_uri'] = '';
// These languages can be selected for spell checking.
// Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
// Leave empty for default set of Google spell check languages
$rcmail_config['spellcheck_languages'] = NULL;
// path to a text file which will be added to each sent message
// paths are relative to the RoundCube root folder
$rcmail_config['generic_message_footer'] = '';
// add a received header to outgoing mails containing the creators IP and hostname
$rcmail_config['http_received_header'] = false;
// this string is used as a delimiter for message headers when sending
// leave empty for auto-detection
$rcmail_config['mail_header_delimiter'] = NULL;
// session domain: .example.org
$rcmail_config['session_domain'] = '';
// don't allow these settings to be overriden by the user
$rcmail_config['dont_override'] = array();
// list of configuration option names that need to be available in Javascript.
$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
// try to load host-specific configuration
$rcmail_config['include_host_config'] = false;
// THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA.
// ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
$rcmail_config['enable_installer'] = TRUE;
/***** these settings can be overwritten by user's preferences *****/
// show up to X items in list view
$rcmail_config['pagesize'] = 40;
// use this timezone to display date/time
$rcmail_config['timezone'] = intval(date('O'))/100 - date('I');
// is daylight saving On?
$rcmail_config['dst_active'] = (bool)date('I');
// prefer displaying HTML messages
$rcmail_config['prefer_html'] = TRUE;
// compose html formatted messages by default
$rcmail_config['htmleditor'] = TRUE;
// show pretty dates as standard
$rcmail_config['prettydate'] = TRUE;
// default sort col
$rcmail_config['message_sort_col'] = 'date';
// default sort order
$rcmail_config['message_sort_order'] = 'DESC';
// save compose message every 300 seconds (5min)
$rcmail_config['draft_autosave'] = 300;
// default setting if preview pane is enabled
$rcmail_config['preview_pane'] = TRUE;
// added preview pane option for MVISION2 THEME
$rcmail_config['preview_pane_vertical'] = TRUE;
// $rcmail_config['preview_pane_horizontal'] = TRUE;
// don't let users set pagesize to more than this value if set
$rcmail_config['max_pagesize'] = 200;
// mime magic database
$rcmail_config['mime_magic'] = '/usr/share/misc/magic';
// end of config file
?>
Send me the details and I'll take a look
Screenshots obviously do help but when it's things like JavaScript they can often not tell the whole story
I'm not certain what else I can give you to help out. Here's a screen shot:
When I use your earlier skin, mvision_en, the vertical view looks great. But setting the view to vertical only works for the current session. I have to select vertical every time I login.
Please let me know what else you need.
Set PREVIEW_PANE_VERTICAL then!!!
Set PREVIEW_PANE_VERTICAL then!!!
Okay. I messed up with my previous post. I meant horizontal not vertical. Sorry.
I also thought that once a layout preference was chosen, it would remain the user's default. Any way this can be done?
When I set PREVIEW_PANE_VERTICAL, my initial view is vertical. When I click 'Layout: Horizontal' the panes are perfect.
When I set PREVIEW_PANE_HORIZONTAL, my initial view is horizontal, but the message pane appears to be the width of the vertical view (as shown in the screen shot above). When I click on 'Layout: Vertical' and then click on 'Layout: Horizontal' everything displays perfectly.
Hope that clarifies things.
edit the horizontal.css file:
find #messagelist {...
remove: display: table;table-layout: fixed;
Shift refresh and your width problems should be gone.
Upgrade your install to 0.1.1? Not sure if it'd help, but it might.
Also I'll try to re-create the buttons in PSD format for those wanting internationalisation support. I don't have the orignals.
I installed the theme, but it can't retrieve the message list. The folders panel is there, but message list can't be displayed! Any help?
I installed the theme, but it can't retrieve the message list. The folders panel is there, but message list can't be displayed! Any help?
is it possible to get a download of the buttons in PSD format so that i can translate them.. GREAT theme..
I use Mvison2 with openbsd 4.3 + roundcube
I have problems:
with Firefox, emails are not displayed, I have a logo that rotates. (See picture 1)
with IE7, the display of emails is shifted . (See picture 2)
Can you help me to configure mvision2?
I tested with the 'vertical' and I have the similar problems
Thank you
In FF when you are in the inbox the messages and info do not expand to the edge of the screen. In IE it works perfect. I am attaching an image. Please let me know of a fix.
Thanks
edit the horizontal.css file:
find #messagelist {...
remove: display: table;table-layout: fixed;
Shift refresh and your width problems should be gone.
div.message-part
{
padding: 8px;
padding-top: 10px;
overflow: hidden;
}
div.message-part
{
padding: 8px;
padding-top: 10px;
overflow: auto;
}
div.message-part div.pre
{
margin: 0px;
padding: 0px;
white-space: pre;
font-family: Tahoma;
}
div.message-part div.pre
{
margin: 0px;
padding: 0px;
white-space: pre-wrap; /* css-3 should we be so lucky... */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 ?? */
white-space: -o-pre-wrap; /* Opera 7 ?? */
word-wrap: break-word; /* Internet Explorer 5.5+ */
_white-space: pre; /* IE only hack to re-specify in addition to word-wrap */
font-family: Tahoma;
}
Guys I've found the problem ! Just rename the skin folder to the original name "mvision2_en" and at main configuration change the skin folder to skin/mvision2_en. You cannot change the skin directory name, it SHOULD BE the mvision2_en to work fine.
@s5n:
...
Just testet in FF 3, Opera 9.5 and Safari 3, should also work in other browsers.
Guys I've found the problem ! Just rename the skin folder to the original name "mvision2_en" and at main configuration change the skin folder to skin/mvision2_en. You cannot change the skin directory name, it SHOULD BE the mvision2_en to work fine.
// default setting if preview pane is enabled
$rcmail_config['preview_pane'] = TRUE;
// mvision2
$rcmail_config['preview_pane_vertical'] = TRUE;
Excellent Skin - rated ***** :)
Two post-install questions:
1) My clean install uses Times New Roman as the default font? I can't seem to figure out how to get the skin to use a sans serif font. It looks this way in both a new install of Firefox and a clean reset version of Safari. I'd like to get the look in the screenshots :)
2) How does one set a default horizontal/vertical view? My main.inc.php reads as follows:Code: [Select]// default setting if preview pane is enabled
However, every time I log in it defaults to horizontal. Clicking on "Layout: Vertical" gives me the vertical view but any refresh of the page goes back to horizontal.
$rcmail_config['preview_pane'] = TRUE;
// mvision2
$rcmail_config['preview_pane_vertical'] = TRUE;
Good luck. I posted this same question last month (in this thread) and received no reply. I still can't figure it out.
Good luck. I posted this same question last month (in this thread) and received no reply. I still can't figure it out.
I have performed french translation.
I have update html template with removing picture sizes for the toolbar.
I have tested with IE7 and FF3.0.1
White Space problem solved thanks to some pages back!
Style: mvision2_en.zip
Mail: Roundcube 0.1-stable
Browser: Firefox 3.0 and IE7
Well after that fix for Firefox I discoverd that IE7 doesn't worked with the horizontal bar, so I followed the fixes in the main post about that javascript thing.
But now the following problem,
After I signed in with IE7 the browser goes to my start balk and I must click it again, after that I see my inbox good.
Or, it stays but the email's aren't readeble. So I must click on Inbox so solve this.
Is there a solution to solve this forever?
I like the skin, sorry for my incorrect grammer. I'm from the Netherlands.
Bye! :D
I have just upgraded to 0.2-beta and installed the MVISION2 skin. But it gives me the following message on the e-mail view and does not dispaly the message list.
"Administrator: You have not set the new config requirement"
Is MVISION2 meant to work on 0.2-beta yet?
Thanks
James
No, mvision not work with 0.2-beta i have this version and get some errors too :(
$rcmail_config['preview_pane_vertical'] = TRUE;
$rcmail_config['preview_pane_horizontal'] = TRUE;
@s5n:
Edit mvision2_en/mail.css:
Version 1:
Change:Code: [Select]div.message-part
{
padding: 8px;
padding-top: 10px;
overflow: hidden;
}
to:Code: [Select]div.message-part
{
padding: 8px;
padding-top: 10px;
overflow: auto;
}
Version 2:
Found a much nicer looking Version (sadly not nice in css):
Find:Code: [Select]
div.message-part div.pre
{
margin: 0px;
padding: 0px;
white-space: pre;
font-family: Tahoma;
}
Replace with:Code: [Select]
div.message-part div.pre
{
margin: 0px;
padding: 0px;
white-space: pre-wrap; /* css-3 should we be so lucky... */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 ?? */
white-space: -o-pre-wrap; /* Opera 7 ?? */
word-wrap: break-word; /* Internet Explorer 5.5+ */
_white-space: pre; /* IE only hack to re-specify in addition to word-wrap */
font-family: Tahoma;
}
Just testet in FF 3, Opera 9.5 and Safari 3, should also work in other browsers.
Line: 272
Char: 4
Error: Invalid argument
Code: 0
URL: http://www.domain.tld/webmail/?_task=mail&_mbox=INBOX
Is there a way to make the vertical pane auto-fit width?
I figured I'd try something new after using squirrelmail for years, and while Roundcube is nice, this theme just puts it way over the top. It's awesome.
Nice work.
Beautiful work. Thank you!
Some hopes for a future release...
(Please don't take my below list as a critique, but more as a wish list)
1) allow for flag column in 'list_cols' (this is a critical wish)
2) allow non-preview pane. as noted, this can be a bandwidth hog and also slow down the mail experience
3) expand/collapse folders