Aquileo | Recent changes to Project Captive Portal Plushttps://sourceforge.net/p/captiveportalplus/2024-05-23T11:15:57.365000ZRecent changes to Project Captive Portal PlusAquileo | No longer compatible with pfsense 2.7.0 and error to remove2024-05-23T11:15:57.365000Z2024-05-23T11:15:57.365000ZSalvatore Moiohttps://sourceforge.net/u/ruben40/https://sourceforge.net3b81712c6d88389de7b4627ba7865923e4328e4c<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>Aquileo | #10 pfS 2.3 Installation fails2019-03-12T08:02:36.711000Z2019-03-12T08:02:36.711000ZSitihttps://sourceforge.net/u/curiousstudent/https://sourceforge.netbb2277fb2bd9bf1fc08f47482a551d5d93202bdd<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>Aquileo | Youtube Tutorial2019-03-12T06:17:06.414000Z2019-03-12T06:17:06.414000ZSitihttps://sourceforge.net/u/curiousstudent/https://sourceforge.netaa9cdf1e160ff4b8169d530ca74f145cc05ba5e2<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>Aquileo | Youtube Tutorial2019-03-12T06:08:56.074000Z2019-03-12T06:08:56.074000ZSitihttps://sourceforge.net/u/curiousstudent/https://sourceforge.net9ef208a253cfdd3e2a4017c16ed30e9de8c85a2f<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>Aquileo | PDF send as email with phpmailer2017-03-29T06:07:08.158000Z2017-03-29T06:07:08.158000Zckessinghttps://sourceforge.net/u/ckessing/https://sourceforge.nete9733888efc21af4637dc7a544324435f551e886<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>Aquileo | CPP is working for pfSense 2.3.3p12017-03-29T05:47:15.478000Z2017-03-29T05:47:15.478000ZChristoph Kessingerhttps://sourceforge.net/u/ckessing/https://sourceforge.neta65ae9284e8945d8164bf6c65a9cef44b40117ef<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>Aquileo | #10 pfS 2.3 Installation fails2016-04-27T01:54:15.624000Z2016-04-27T01:54:15.624000ZJosé Rodrigues Filhohttps://sourceforge.net/u/joserf/https://sourceforge.net999fe182881815ab72472c1da36f24ff5267709e<div class="markdown_content"><p>The PDF service has no vouchers. They know what can be?</p></div>Aquileo | Plans to support pfSense 2.3?2016-04-27T01:36:15.633000Z2016-04-27T01:36:15.633000ZJosé Rodrigues Filhohttps://sourceforge.net/u/joserf/https://sourceforge.net65ceb90505db89f40b676443e3b1ee5c728899f8<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>Aquileo | #10 pfS 2.3 Installation fails2016-04-20T15:40:37.465000Z2016-04-20T15:40:37.465000ZElijah Nana Osei Ameyawhttps://sourceforge.net/u/strayd/https://sourceforge.net85b312c27c113d203f7828416a7c8ba9a571e340<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>Aquileo | #10 pfS 2.3 Installation fails2016-04-20T13:51:41.757000Z2016-04-20T13:51:41.757000ZVinzenz Maihttps://sourceforge.net/u/vinzenz-mai/https://sourceforge.net2b66e32dccf4a5089d50f90c99dd32c8308d2980<div class="markdown_content"><p>Sorry, there was a semicolon missing in my newly inserted line 8. </p></div>