[Mostly every MyBB] Custom E-Mail template.
WARNING! This is replacing both plain and HTML messages with eval'd code.
Make sure to backup modified file for further update backup.


so. as first step download attachment file "class_mailhandler.php" and put it inside inc folder (i've used 1.8.3 one for edits).

.php   class_mailhandler.php (Size: 8.32 KB / Downloads: 247)

In global templates, make "html_mail" template and stylize it as you want to do. I'll provide here my code:

<body style="background: #F0F0F0;color: #333;text-align: left;line-height: 1.4;font-family: Segoe UI, Tahoma, Verdana, Arial, Sans-Serif;font-size: 13px;padding: 0;margin: 0;">

 <div style="width: 100%;z-index: 9000;background-color: black;color: white;height: 60px;">
        <div style="">
            <ul style="float: left;list-style: none;margin: 0;padding: 0;">
                <li style="float: left;position: relative;height: 50px;margin-top: -5px !important;">
                    <a href="http://forum.vnetwork.pl/portal.php" style="text-shadow: 0px 1px 1px rgba(0,0,0,0.5);display: block;color: #FFF;font-weight: normal;font-size: 0.93em;height: 100%;text-decoration: none;">
                        <img src="http://vnetwork.pl//logo_white.png" style="width: 150px;height: 60px;margin-top: -4px;" original-title="">
    <div style="text-align: left;line-height: 1.4;min-width: 990px;box-shadow: 0 5px 9px rgba(0,0,0,0.1);color: #333;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 13px;width: 90%;margin: auto auto;">
        <div style="background: #fff;width: auto !important;padding: 20px;border-left: 1px solid #E0E0E0;border-right: 1px solid #E0E0E0;">

    <div style="clear: both;background: black;">
        <div style="padding: 6px;font-size: 12px;margin: auto auto;color: white;">
vNetwork.PL - Powered by MyBB

And the result will be:
[Image: QN4dpzG.jpg]
[Image: sig.png]
will this work for 1.8.4 or newer?
(2015-11-17, 09:40 AM)leroymcqy Wrote: will this work for 1.8.4 or newer?

To answer my own question: Yes, this will work with the newer version. There is no need for modifications either.

Forum Jump:

Users browsing this thread: 1 Guest(s)