[MODULE] Rainloop
#1
[MODULE] Rainloop
Current version of module: 1.0.1
Hi,
I would like to share with you my first module for Sentora (should work on Zpanel too, but I didn't test this yet). Rainloop is open source, free (for non-comercial usage) Webmail. It's quite interesting alternative for RoundCube.

Live demo: Try Rainloop
Direct download: Get Rainloop Module

Installation:
Code:
zppy repo add zpp.cllpsd.com zppy update zppy install rainloop

Rainloop update: Through Rainloop Admin (button in module)
Default admin access: admin/12345 (user/pass)

Changelog:
Code:
[1.0.1][Fix] Admin button in module now is visible only for admins. Fixed by TGates.

Update:
Code:
zppy upgrade rainloop

Remove:
Code:
zppy remove rainloop
Reply
#2
RE: [MODULE] Rainloop
Thanks!
Testing!
 By: Cantalupo
Reply
#3
RE: [MODULE] Rainloop
Looks good thank you
Reply
#4
RE: [MODULE] Rainloop
I think its a pretty cool alternative for roundcube. Still maintained by Castey?
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
#5
RE: [MODULE] Rainloop
Yes, it's a good alternative to the mail client.
I'm going to use it in their assembly
AWServer with ZPanelX Lite Smile
Reply
#6
RE: [MODULE] Rainloop
Oh mate, this is amazing and it works perfectly!

Thank you so much1
Reply
#7
RE: [MODULE] Rainloop
This is one nice looking webmail software, thanks!
Reply
#8
RE: [MODULE] Rainloop
@[Castey]:
You should update the module so that only admin see the admin link:
module.zpm
Code:
<div class="zmodule_content panel" id="zmodule_header_<@ ModuleName @>">    <div class="panel-heading">        <img src="<@ ModuleIcon @>" width="35" height="35" border="0" alt="<@ ModuleName @>">        <div class="zmodule_title">            <@ ModuleName @>        </div>        <div class="zmodule_desc" id="zmodule_desc_<@ ModuleName @>"><@ ModuleDesc @></div>    </div>    <a href="etc/apps/rainloop/" class="btn btn-large btn-primary" target="_blank"><: Launch Rainloop :></a> <% if Admin %> <a href="etc/apps/rainloop/?admin" class="btn btn-large btn-primary" target="_blank"><: Launch Rainloop Admin :></a> <% endif %> </div>
controller.ext.php
Code:
<?php /** * @copyright 2014-2015 Sentora Project (http://www.sentora.org/) * Sentora is a GPL fork of the ZPanel Project whose original header follows: * * ZPanel - A Cross-Platform Open-Source Web Hosting Control panel. * * @package ZPanel * @version $Id$ * @author Bobby Allen - ballen@bobbyallen.me * @copyright (c) 2008-2014 ZPanel Group - http://www.zpanelcp.com/ * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License v3 * * This program (ZPanel) is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program.  If not, see <http://www.gnu.org/licenses/>. * */ class module_controller extends ctrl_module {    public static function getAdmin()    {        global $controller;        $currentuser = ctrl_users::GetUserDetail();        if ($currentuser['usergroup'] == "Administrators") {            return true;        } else {            return false;        }    } }
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#9
RE: [MODULE] Rainloop
(11-13-2015, 03:45 PM)TGates Wrote: @[Castey]:
You should update the module so that only admin see the admin link:
module.zpm
Code:
<div class="zmodule_content panel" id="zmodule_header_<@ ModuleName @>">    <div class="panel-heading">        <img src="<@ ModuleIcon @>" width="35" height="35" border="0" alt="<@ ModuleName @>">        <div class="zmodule_title">            <@ ModuleName @>        </div>        <div class="zmodule_desc" id="zmodule_desc_<@ ModuleName @>"><@ ModuleDesc @></div>    </div>    <a href="etc/apps/rainloop/" class="btn btn-large btn-primary" target="_blank"><: Launch Rainloop :></a> <% if Admin %> <a href="etc/apps/rainloop/?admin" class="btn btn-large btn-primary" target="_blank"><: Launch Rainloop Admin :></a> <% endif %> </div>
controller.ext.php
Code:
<?php /** * @copyright 2014-2015 Sentora Project (http://www.sentora.org/) * Sentora is a GPL fork of the ZPanel Project whose original header follows: * * ZPanel - A Cross-Platform Open-Source Web Hosting Control panel. * * @package ZPanel * @version $Id$ * @author Bobby Allen - ballen@bobbyallen.me * @copyright (c) 2008-2014 ZPanel Group - http://www.zpanelcp.com/ * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License v3 * * This program (ZPanel) is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program.  If not, see <http://www.gnu.org/licenses/>. * */ class module_controller extends ctrl_module {    public static function getAdmin()    {        global $controller;        $currentuser = ctrl_users::GetUserDetail();        if ($currentuser['usergroup'] == "Administrators") {            return true;        } else {            return false;        }    } }

Thanks, I just sent updated module to repo.
Reply
#10
RE: [MODULE] Rainloop
Thanks Castey, but how to setup access Rainloop with a link like http://mailbox.abc.com
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 332 ,260 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 51 ,211 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 58 ,476 06-04-2021, 11:47 AM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 1 Guest(s)