Aquileo | Recent changes to Project Captive Portal Plushttps://sourceforge.net/p/captiveportalplus/Recent changes to Project Captive Portal PlusenThu, 23 May 2024 11:15:57 -0000Aquileo | No longer compatible with pfsense 2.7.0 and error to removehttps://sourceforge.net/p/captiveportalplus/tickets/13/<div class="markdown_content"><p>Hello and congratulations for the great work. There are possibilities to make it work on version of pfsense 2.7.0 or alternatively remove it as the uninstall file produces the following error: Cannot read the fbegin.inc file. Thank you</p></div>Salvatore MoioThu, 23 May 2024 11:15:57 -0000https://sourceforge.net3b81712c6d88389de7b4627ba7865923e4328e4cAquileo | #10 pfS 2.3 Installation failshttps://sourceforge.net/p/captiveportalplus/tickets/10/?limit=25#9c16/4a84<div class="markdown_content"><p>Hi there,</p> <p>I received an error on my captive portal plus when i used your cpp_install.php file.. could you help?</p></div>SitiTue, 12 Mar 2019 08:02:36 -0000https://sourceforge.netbb2277fb2bd9bf1fc08f47482a551d5d93202bddAquileo | Youtube Tutorialhttps://sourceforge.net/p/captiveportalplus/tickets/12/<div class="markdown_content"><p>Hi there ,</p> <p>could you pls demo for us on how to install this on pfsense?</p> <p>Thank you</p></div>SitiTue, 12 Mar 2019 06:17:06 -0000https://sourceforge.netaa9cdf1e160ff4b8169d530ca74f145cc05ba5e2Aquileo | Youtube Tutorialhttps://sourceforge.net/p/captiveportalplus/discussion/general/thread/31b8893a63/?limit=25#0c3e<div class="markdown_content"><p>Hi there ,</p> <p>could you pls demo for us on how to install this on pfsense?</p> <p>Thank you</p></div>SitiTue, 12 Mar 2019 06:08:56 -0000https://sourceforge.net9ef208a253cfdd3e2a4017c16ed30e9de8c85a2fAquileo | PDF send as email with phpmailerhttps://sourceforge.net/p/captiveportalplus/discussion/general/thread/f040c549/?limit=25#1df5<div class="markdown_content"><p>If someone's interested in this feature.<br/> I changed scripts to send pdf rather then downloading. It could be done better but for a fast version it's working.<br/> It would be nice if the recipient address can be changed by the settings menu.......<br/> Steps to do:<br/> 1. pkg add <a href="http://pkg.freebsd.org/FreeBSD:10:amd64/latest/All/phpmailer-5.2.22.txz" rel="nofollow">http://pkg.freebsd.org/FreeBSD:10:amd64/latest/All/phpmailer-5.2.22.txz</a><br/> 2. cd /usr/local/www ; ln –s ../share/phpmailer phpmailer<br/> 3. added require "email_pdf_cpp.php"; at top of include_cpp.inc<br/> in function print_pdf modify some code:<br/> search for:<br/> $file_name_a = $voucher_vars = explode(" ", $vouchers<span>[0]</span>);<br/> $file_name_b = $voucher_vars = explode(" ", $vouchers<span>[count($vouchers)-1]</span>);<br/> change/add lines as:<br/> $pdf_name = "./"."Vouchers_".$file_name_a<span>[0]</span>."-".$file_name_b<span>[0]</span>.".pdf";<br/> if ($pdf -&gt; Output($pdf_name, "F")) {<br/> email_pdf($pdf_name);<br/> return true;<br/> }<br/> else email_pdf($pdf_name);</p> <ol> <li>email_pdf_cpp.php:<br/> &lt;?php</li> </ol> <p>require "../../phpmailer/PHPMailerAutoload.php";</p> <p>function email_pdf($attachments) {<br/> global $config;</p> <div class="codehilite"><pre> $mail = new PHPMailer(); $mail-&gt;IsSMTP(); $mail-&gt;Host = $config['notifications']['smtp']['ipaddress']; $mail-&gt;Port = empty($config['notifications']['smtp']['port']) ? 25 : $config['notifications']['smtp']['port']; $email_message = "<span class="nt">&lt;div&gt;</span>New Vouchers ....<span class="nt">&lt;/div&gt;</span> "; if (isset($config['notifications']['smtp']['ssl'])) { $mail-&gt;SMTPSecure = "ssl"; $mail-&gt;SMTPAutoTLS = false; } else { $mail-&gt;SMTPSecure = ""; $mail-&gt;SMTPAutoTLS = false; } if($config['notifications']['smtp']['username'] <span class="err">&amp;&amp;</span> $config['notifications']['smtp']['password']) { $mail-&gt;SMTPAuth = false; $mail-&gt;Username = $config['notifications']['smtp']['username']; $mail-&gt;Password = $config['notifications']['smtp']['password']; } $mail-&gt;From = "pfsense@localhost.local"; $mail-&gt;FromName = "Voucher Print"; $mail-&gt;ContentType = 'text/html'; $mail-&gt;IsHTML(true); $mail-&gt;AddReplyTo($config['notifications']['smtp']['fromaddress'], "Voucher Print"); $mail-&gt;SetFrom($config['notifications']['smtp']['fromaddress'], "Voucher Print"); $address = $config['notifications']['smtp']['notifyemailaddress']; $mail-&gt;AddAddress($address, "Voucher Recipient"); $mail-&gt;Subject = "{$config['system']['hostname']}.{$config['system']['domain']} Vouchers: {$headertext}"; $mail-&gt;Body = "<span class="nt">&lt;i&gt;</span>Mail body in HTML<span class="nt">&lt;/i&gt;</span>"; $mail-&gt;MsgHTML($email_message); $mail-&gt;AddAttachment($attachments); if(!$mail-&gt;Send()) { echo "Mailer Error: " . $mail-&gt;ErrorInfo; return false; } else return true; </pre></div> <p>}</p> <p>?&gt;</p></div>ckessingWed, 29 Mar 2017 06:07:08 -0000https://sourceforge.nete9733888efc21af4637dc7a544324435f551e886Aquileo | CPP is working for pfSense 2.3.3p1https://sourceforge.net/p/captiveportalplus/discussion/general/thread/a67efa5c/?limit=25#b60f<div class="markdown_content"><p>Hi, CPP installed and is working. <br/> Menu of pfSense hangs without modifications after rummaging in the CPP menus. I added include("foot.inc"); at the end of vouchers_cpp.php, users_cpp.php and settings_cpp.php. So toggling through the pfSense menus works again.<br/> Cheers<br/> CK</p></div>Christoph KessingerWed, 29 Mar 2017 05:47:15 -0000https://sourceforge.neta65ae9284e8945d8164bf6c65a9cef44b40117efAquileo | #10 pfS 2.3 Installation failshttps://sourceforge.net/p/captiveportalplus/tickets/10/?limit=25#f20b<div class="markdown_content"><p>The PDF service has no vouchers. They know what can be?</p></div>José Rodrigues FilhoWed, 27 Apr 2016 01:54:15 -0000https://sourceforge.net999fe182881815ab72472c1da36f24ff5267709eAquileo | Plans to support pfSense 2.3?https://sourceforge.net/p/captiveportalplus/discussion/general/thread/5175f5fb/<div class="markdown_content"><p>Are there any plans to support pfSense 2.3 Which cam in October recently?</p> <p>in previous versions works fine, however I need version 2.3</p> <p>tks and thanks for the great job.</p></div>José Rodrigues FilhoWed, 27 Apr 2016 01:36:15 -0000https://sourceforge.net65ceb90505db89f40b676443e3b1ee5c728899f8Aquileo | #10 pfS 2.3 Installation failshttps://sourceforge.net/p/captiveportalplus/tickets/10/?limit=25#9c16/994f<div class="markdown_content"><p>Menu is now created but I receive this error when I click on the menu<br/> PHP ERROR: Type: 1, File: /usr/local/www/packages/cpp/include_cpp.inc, Line: 21, Message: Call to undefined function simplexml_load_file()</p></div>Elijah Nana Osei AmeyawWed, 20 Apr 2016 15:40:37 -0000https://sourceforge.net85b312c27c113d203f7828416a7c8ba9a571e340Aquileo | #10 pfS 2.3 Installation failshttps://sourceforge.net/p/captiveportalplus/tickets/10/?limit=25#9c16<div class="markdown_content"><p>Sorry, there was a semicolon missing in my newly inserted line 8. </p></div>Vinzenz MaiWed, 20 Apr 2016 13:51:41 -0000https://sourceforge.net2b66e32dccf4a5089d50f90c99dd32c8308d2980